Skip to content

refactor(editor): use always the provided language server#11115

Merged
graphite-app[bot] merged 1 commit intomainfrom
05-18-refactor_editor_use_always_the_provided_language_server
May 18, 2025
Merged

refactor(editor): use always the provided language server#11115
graphite-app[bot] merged 1 commit intomainfrom
05-18-refactor_editor_use_always_the_provided_language_server

Conversation

@Sysix
Copy link
Member

@Sysix Sysix commented May 18, 2025

Now, the editor will not look into node_modules folder to use a custom oxc_language_server.
The editor will always use the provided language server.

Reasons

Because the language server in node_modules could be a different version than the extension and changes like #10890 can break the communication between them.

Avoiding the JS Wrapper and resolving #9925 and avoiding a new setting #11018

closes #9925
closes #11018

@github-actions github-actions bot added A-editor Area - Editor and Language Server C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior labels May 18, 2025
Copy link
Member Author

Sysix commented May 18, 2025


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Sysix Sysix marked this pull request as ready for review May 18, 2025 12:18
@Sysix Sysix requested a review from camc314 as a code owner May 18, 2025 12:18
@camc314 camc314 added the 0-merge Merge with Graphite Merge Queue label May 18, 2025
Copy link
Contributor

camc314 commented May 18, 2025

Merge activity

Now, the editor will not look into `node_modules` folder to use a custom `oxc_language_server`.
The editor will always use the provided language server.

## Reasons

Because the language server in `node_modules` could be a different version than the extension and changes like #10890 can break the communication between them.

Avoiding the JS Wrapper and resolving #9925 and avoiding a new setting #11018

closes #9925
closes #11018
@graphite-app graphite-app bot force-pushed the 05-18-refactor_editor_use_always_the_provided_language_server branch from e84da43 to a28fe1e Compare May 18, 2025 12:20
@graphite-app graphite-app bot merged commit a28fe1e into main May 18, 2025
16 checks passed
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label May 18, 2025
@graphite-app graphite-app bot deleted the 05-18-refactor_editor_use_always_the_provided_language_server branch May 18, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-editor Area - Editor and Language Server C-cleanup Category - technical debt or refactoring. Solution not expected to change behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

linter: oxc_language_server can't find node runtime (VSCode extension)

2 participants