rescript-vscode
rescript-vscode copied to clipboard
Official VSCode plugin for ReScript
this autocompletes "mylog" ``` let mylog = (s: string) => Console.log(s) mylog("hello") ``` this just prematurely offers a bunch of String module functions even before I begin typing mylong but...
# Description I encounter a formatting issue when working with multi-line comments or JSDocs in ReScript using the extension. Each time I format the code, extra new lines are added,...
Currently `ModuleAlias` is defined in [`DocExtraction.docItem`](https://github.com/rescript-lang/rescript-vscode/blob/2d1742a866633bcc97a512eb5816ba24933cb0c1/analysis/src/DocExtraction.ml#L19) as: ```rescript | ModuleAlias of { id: string; docstring: string list; name: string; items: docItem list; } ``` While this differentiates between a module...
``` let text = `Syntax highlighting doesn't work here: ${{ let obj = {"bar": "foo"} obj["bar"] }}` ```
This is an attempt to fix renaming of labelled arguments breaking because it doesn't account for `~` (so `~` is either removed from the argument definition, or added to local...
The following .res file: ```rescript type props = {children: React.element} @module("@mui/material/styles") external make: React.component = "StyledEngineProvider" ``` yields me the following interface ```rescript @react.component external make: (~children: React.element) => React.element...
Syntax highlighting does not take Unicode escape sequences into account. ReScript (incorrect):  JS (correct): 