rescript-vscode icon indicating copy to clipboard operation
rescript-vscode copied to clipboard

Official VSCode plugin for ReScript

Results 180 rescript-vscode issues
Sort by recently updated
recently updated
newest added

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): ![Bildschirmfoto 2023-11-15 um 09 54 13](https://github.com/rescript-lang/rescript-vscode/assets/591384/96116d35-f2c5-4384-be8f-44adf3fa6654) JS (correct): ![Bildschirmfoto 2023-11-15 um 09 54 29](https://github.com/rescript-lang/rescript-vscode/assets/591384/3f5bb678-28ac-4270-93e4-f16587b266c4)