oxc-project / oxc-intellij-plugin

25 stars 2 forks source link

Search project contents for oxc_language_server #52

Closed nrayburn-tech closed 4 weeks ago

nrayburn-tech commented 4 weeks ago

Instead of only launching the server if it's available on your PATH, it will now search your project (for example, if. you have oxlint installed from NPM then the language server will be available as well).

This is similar to how the VS Code extension finds the executable. In a future PR, I'll add a configuration option for a path to the executable. VS Code extension lookup for reference, https://github.com/oxc-project/oxc/blob/main/editors/vscode/client/extension.ts#L95-L131.

Requires #50 and #51. (Sorry about the stacked PRs, I'm not really sure of a better way to do this.)