<sabas3dgh>
it doesn't accept my PATH for ocaml. it autocomplete some options but at the end the Apply button is disabled.
mro has joined #ocaml
<sabas3dgh>
anyone???
<d_bot_>
<octachron> ocalIDE is not exactly a frequently used IDE. Does it has lsp support?
<sabas3dgh>
octachron I don't know... and I am on macOS
<sabas3dgh>
install opam and ocaml from brew
<octachron>
It doesn't seem to support it, nor merlin. Except if you cannot live without eclipse, I would advise to try another IDE (emacs, vim, VScode, ...) .
<sabas3dgh>
ocabot I would use Emacs if I have to. but I need a good instruction. a week ago I did wonder off a lot trying to make CPP work on EMacs which it didn't.
<sabas3dgh>
octachron ^^
<sabas3dgh>
octachron do we have a material on how we could setup emacs for ocaml use? anything fresh
<sabas3dgh>
not 2012 ish stuff.
jlrnick has quit [Ping timeout: 240 seconds]
waleee has joined #ocaml
mro has quit [Remote host closed the connection]
Tuplanolla has joined #ocaml
<d_bot_>
<glennsl> sabas: If you don't already have Emacs setup, I'd recommend Doom Emacs, which has built in support for OCaml: https://github.com/hlissner/doom-emacs
<d_bot_>
<glennsl> Otherwise, install tuareg-mode and follow the instructions in its README: <https://github.com/ocaml/tuareg>
bartholin has joined #ocaml
<d_bot_>
<glennsl> You can also use `ocaml-lsp-server` with `lsp-mode` or `eglot`. Both support it out-of-the-box.
<sabas3dgh>
No such file or directory ocaml-language-server
szkl has quit [Quit: Connection closed for inactivity]
mro has quit [Remote host closed the connection]
hyphen has quit [Ping timeout: 256 seconds]
<sabas3dgh>
Why. atom and sublime. Doesn't work
<sabas3dgh>
anyone here using any of them?
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 240 seconds]
hyphen has joined #ocaml
sabas3dgh has quit [Read error: Connection reset by peer]
<d_bot_>
<Butanium (@me on answer)> I think that vscode and emacs are more used
<companion_cube>
Don't forget (n)vim :)
hyphen has quit [Ping timeout: 272 seconds]
hyphen has joined #ocaml
gravicappa has quit [Ping timeout: 272 seconds]
bartholin has quit [Ping timeout: 256 seconds]
Guest4 has joined #ocaml
<Guest4>
any one on sublime ?
Guest4 is now known as sabas3dgh
<sabas3dgh>
any one on sublime ?
bartholin has joined #ocaml
hyphen has quit [Ping timeout: 272 seconds]
hyphen has joined #ocaml
gravicappa has joined #ocaml
<sabas3dgh>
Do you know where ocamlmerlin is located?
<d_bot_>
<NULL> If it is installed correctly, in the Path
<sleepydog>
my text editing is still in the stone ages, so i've not kept up with merlin or lsp and the like. did you install ocamlmerlin with opam or something else?
bartholin has quit [Ping timeout: 240 seconds]
<sabas3dgh>
NULL; it is in /Users/admin/.opam/default/bin/ocamlmerlin
<sleepydog>
`opam install merlin` puts ocamlmerlin in $OPAM_SWITCH_PREFIX/bin/
olle has quit [Ping timeout: 272 seconds]
<d_bot_>
<NULL> Well, if the installation is done properly, this should be in the Path. Then `which ocamlmerlin` prints the location
<sabas3dgh>
but is not on m path. I am on MACOS Catalina and here is the atom picture https://imgur.com/a/qFoaIid
<sleepydog>
sabas3dgh: you have to make sure that whatever is launching your editor has the right environment variables. if you launch from a shell, this is done with "eval $(opam env)"
<d_bot_>
<NULL> Did you `opam init` ?
<sabas3dgh>
but as you can see I am giving the atom the PATH but it doesn't use it. frustrating
<d_bot_>
<NULL> Also, are you sure you don't want to use VSCode instead of Atom or Sublime ?
<d_bot_>
<NULL> If you're concerned over privacy, you could use VSCodium instead
bartholin has joined #ocaml
<sabas3dgh>
NULL; are you telling me that ATOM or sublime isn'y supported ( fully at least).
<sabas3dgh>
I accept any help I can get here. and Do my job accordingly.....
<sabas3dgh>
but I really like to setup ocaml on sublime .
<sabas3dgh>
if it is not possible by any means... I will FORCE to use ATOM.....
<d_bot_>
<NULL> I know that VSCode is the best supported visual IDE, and that the packages on Atom are 2-4 years old (instead of weeks old on VSCode)
<sabas3dgh>
NULL; what about sublime?
<d_bot_>
<NULL> Didn't check their packages,but I expect it to be about the same
<d_bot_>
<Butanium (@me on answer)> why don't you want to use vscode ? 🤔
* sabas3dgh
is starting to get some help around here... and thanks all involved
<Fardale>
Why can't people use the editor they want? Isn't the goal of having a lsp-server to let people choose what they use to code?
<sabas3dgh>
Butanium (@me on answer) I like sublime better. that's all.
<d_bot_>
<NULL> Fardale: Fair, but I think only VSCode has a compatibility package for ocamllsp currently
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mro has joined #ocaml
rgrinberg has joined #ocaml
dhil has quit [Remote host closed the connection]
waleee has joined #ocaml
<d_bot_>
<sabas3dgh> Hello; I have been landed 😁
<d_bot_>
<sabas3dgh> howdy folks
<d_bot_>
<Butanium (@me on answer)> o/
<d_bot_>
<sabas3dgh> back to the issue at hand...
<d_bot_>
<sabas3dgh> setup the sublime text 😁
<d_bot_>
<sabas3dgh> it says and I am rephrasing here: if you want to have a better Ocaml support you need to install and configure reason for sublime text!
<d_bot_>
<sabas3dgh> What is reason? another language based on Ocaml? like Emacs Lisp and whatever else Lisp
<d_bot_>
<sabas3dgh> or is it a framework for Ocmal ....
<d_bot_>
<sabas3dgh> another Q!
<d_bot_>
<sabas3dgh> I am new to Ocaml..... I used to ORM and web frameworks, H2 database, DI (dependency Injection) and Aspect Oriented stuff.
<d_bot_>
<sabas3dgh> How much of these have similar tools and foundation here in OCaml?
Guest4 has quit [Ping timeout: 240 seconds]
bartholin has quit [Ping timeout: 256 seconds]
<d_bot_>
<glennsl> You won't find this kind of over-engineered enterprise stuff for OCaml, or any functional language.Mostly because it's just not necessary, but also in part because these are much smaller ecosystems.
<d_bot_>
<glennsl> Reason is for the most part just a different syntax for OCaml. `ocaml-lsp` supports both and supercedes both `ocaml-language-server` and `reason-language-server`. Anywhere you see either, substitute it with `ocaml-lsp`.