Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sublime instructions #4

Open
whitequark opened this issue Jan 25, 2015 · 7 comments
Open

Sublime instructions #4

whitequark opened this issue Jan 25, 2015 · 7 comments

Comments

@whitequark
Copy link

@gasche asked me to describe what setup Sublime Text requires, so here it goes.

The packages are installed by placing them into ~/.config/sublime-text-X/Installed Packages, but I don't know how to download them from http://sublime.wbond.net.

@AltGr
Copy link
Contributor

AltGr commented Jan 26, 2015

Thanks, I'll try to get to Sublime next.

@AltGr
Copy link
Contributor

AltGr commented Feb 4, 2015

Ok, I've experimented with this, and have a very preliminary version that installs ST files, but it seems to me that the current bindings for ST are not mature enough to be worth adding at the moment:

  • there is no ocp-indent binding

  • the merlin binding is still at an alpha stage, and it's page mentions

    This is an initial port of the vim plugin of merlin. Buffers can be synchronised with merlin, but any edit needs a full refresh between ST and merlin. Projects are not currently supported.

  • I tried the ocp-index plugin with sublime-text 2, but it didn't load out-of-the-box using my version of Python (no shutil.which) ; qualified completions where shown last (Sys.f proposes for and many others before Sys.file_exists), and worse, the module name is removed upon completing, which makes it unusable at the moment.

For these reasons, it seems reasonable to let ST users install from their package manager if they want to experiment, rather than integrate an half-baked solution.

@whitequark
Copy link
Author

The first two are correct. The third one obviously is not, I was using sublime-ocp-index for several months. It's probably not compatible with ST2; try ST3. (http://sublimetext.com/3)

@AltGr
Copy link
Contributor

AltGr commented Feb 6, 2015

Right, that was on ST2 ; if it works well on ST3 that's good news ! I'll try it, thanks.

@AltGr
Copy link
Contributor

AltGr commented Feb 6, 2015

Is there any chance you might get the motivation to write an ocp-indent plugin ? :D

@whitequark
Copy link
Author

Probably not, I've never used ocp-indent and I always indent my files by hand. Even if I write it, not using the code you write is a recipe for disaster.

@whitequark
Copy link
Author

Merlin on ST3 is now quite stable and useful so this should be revisited, I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants