rescript-vscode
rescript-vscode copied to clipboard
Official VSCode plugin for ReScript
Every time any editor command is invoked, the analysis starts from scratch. Find and read `bsconfig.json`, scan project files, etc. Then executing the actual command is typically little work (exception:...
to reproduce change bsconfig in tests project and run the tests.
Using `1.0.4` on macOS. Doc strings added on record members/fields does not seem to show. A reproduction + explanation of the issue is available here: https://github.com/zth/rescript-editor-tooling-playground/blob/cf6a19321973051e03445291a6bd2da22d91b3be/src/HoverIssues.res
This is a feature request/idea that I'm sure you're already well aware of, but I'll go ahead and add it here anyway. Two things that I think would greatly enhance...
Renaming the module name used in a component does not automatically propagate to JSX, because JSX indirectly refers to the `make`/`makeProps` functions.
I'm experimenting only opening a subset of `Pervasives` so that none of OCaml's style leak to the user. https://github.com/bloodyowl/rescript-js/blob/main/src/ReScriptJs__Pervasives.res Using the following bsc-flags, it seems like `Pervasives` isn't conditioned to...
E.g. turning a record field into an optional, could look like this: There are some technical issues that prevent doing one of these transformation at the moment (pretty-printing from a...
E.g. ``` %%private( let abc = "abc" let somefunc = x => { Array.append(x) } ) ``` Expected specific type of "x"
(Somewhat related to #120 which is about autocompletion of variants in the case of pattern matching.) There is another common situation where it would be nice to have autocompletion for...
Low pri. For a doc block such as: ```res @ocaml.doc(" The top level provides some generic sort related utilities. It also has two specialized inner modules [`Belt.SortArray.Int`](...) and [`Belt.SortArray.String`](...) ")...