ocaml-lsp
ocaml-lsp copied to clipboard
OCaml Language Server Protocol implementation
For the demo below when I pu cursor somewhere inside `[%expr ....]` LSP gives weird highlighting both in QtCreator and VsCode. We have [the following ](https://gist.github.com/Kakadu/e47801d135ae0356aba17faf7480a3e0) log file. There are...
We can add code actions to handle various compiler warnings for unused module/value/etc. - [ ] Warning 11: Redundant case in a pattern matching (unused match case). - [ ]...
We work on VS code with ocaml versions 4.13.1 (merlin version v4.4-413) and 4.14.0 (merlin version v4.5-414). we noticed that there is a performance issue on some Irmin files “https://github.com/mirage/irmin"....
Inlay hints support was added to LSP 3.17: - spec: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint - related issue in LSP repo: https://github.com/microsoft/language-server-protocol/issues/956 ### What's an inlay hint? See https://code.visualstudio.com/docs/languages/typescript#_inlay-hints ### What's in it for...
I'm trying to use OCaml for scripting without all the dune files (just a single `script.ml`). Using the following would execute without problems in utop, but ocaml-lsp would complain that...
Hi! I didn't see any Issues open for "Find All References" / global-references (⌥⇧F12). When I invoke that feature of VSCode, at the moment, it only shows references in the...
This unvendors dune and uses the library published on opam instead. Depends on https://github.com/ocaml/dune/pull/5483 because of `ocamlc_loc`
I have a big project (repo [here](https://github.com/Butanium/monte-carlo-tree-search-TSP)). In VS Code, I have this warning in [`tsp_modules/Two_Opt.ml`](https://github.com/Butanium/monte-carlo-tree-search-TSP/blob/optimized/tsp_modules/Two_Opt.ml), line 1 `module RndQ = Random_Queue` ``` Error (warning 49): no cmi file was...
We have a code action to add type annotation, it would be useful to have a dual code action "remove type annotation". One can often find themselves annotating code when...
let a=1 Hoovering over = returns as info "test for equality.". Pressing "ctrl+space" returns as info 'a->'a->bool , which is the same as "test for equality, but wrong. The correct...