oxc-project/oxc

publish vscode extension

cijiugechu opened this issue · 8 comments

I've recently been building a vscode extension for oxc, @Boshen , if you don't mind, could I submit a PR to commit this part of the code to the repository?

Functionality implemented so far:

1. Displaying diagnostics, help messages and the range of labels

1

2. Providing quick fix

2

3. Providing commands such as restart server

3

4. debug and production builds

Oh wow, let's do this!

Code is done, I need to find the time to publish this thing :-/

Does this include the type checking errors/diagnostics from oxc_type_synthesis? Last time I remember that the diagnostics were separated. We should figure out how to turn EznoDiagnostic into ones produced by the linter so that the CLI reporting and everything is the same.

@Boshen any updates on the publishing date ?

@Boshen any updates on the publishing date ?

No ETA yet.

need any help with this? would love to try this in vscode

need any help with this? would love to try this in vscode

you can test it out with:

cd editors/vscode
pnpm run vscode (builds server + client +packages it)

then head to vscode, command pallet "Extensions: Install from VSIX..."

find the file we just built (should be: ./oxc-vscode-0.0.1.vsix or similar and install

Boshen commented

Finally!

image