ocaml-opam / opam-user-setup

Simplify the configuration of editors for using OCaml tools
Other
81 stars 12 forks source link

Sublime instructions #4

Open whitequark opened 9 years ago

whitequark commented 9 years ago

@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 commented 9 years ago

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

AltGr commented 9 years ago

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:

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 commented 9 years ago

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 commented 9 years ago

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

AltGr commented 9 years ago

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

whitequark commented 9 years ago

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 commented 8 years ago

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