-
-
Notifications
You must be signed in to change notification settings - Fork 726
refactor(vscode): split lsp releated code to linter.ts
#15789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(vscode): split lsp releated code to linter.ts
#15789
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
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. |
10e27ce to
c922d13
Compare
bd99750 to
0d63181
Compare
c922d13 to
df6d604
Compare
0d63181 to
e70f0d3
Compare
df6d604 to
cc0ec55
Compare
cf172c8 to
56be34f
Compare
e70f0d3 to
985d48f
Compare
56be34f to
f7ff45d
Compare
240f96d to
e919504
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refactors the VSCode extension by extracting LSP-related functionality from extension.ts into a new linter.ts module, improving code organization and separation of concerns.
Key Changes:
- Moved LSP client initialization, configuration, and lifecycle management from
extension.tstolinter.ts - Created a new
commands.tsfile to centralize command constants - Simplified
extension.tsto focus on extension-level orchestration by delegating to linter-specific functions
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| editors/vscode/client/linter.ts | New file containing all LSP client logic, server initialization, status bar management, and configuration handlers |
| editors/vscode/client/extension.ts | Simplified to orchestrate extension activation by delegating to linter functions |
| editors/vscode/client/commands.ts | New file extracting command constants for better organization |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
e919504 to
7e3135f
Compare
Merge activity
|
> This PR refactors the VSCode extension by extracting LSP-related functionality from extension.ts into a new linter.ts module, improving code organization and separation of concerns. > > Key Changes: > > - Moved LSP client initialization, configuration, and lifecycle management from extension.ts to linter.ts > - Created a new commands.ts file to centralize command constants > - Simplified extension.ts to focus on extension-level orchestration by delegating to linter-specific functions
7e3135f to
05ca02f
Compare
> This PR refactors the VSCode extension by extracting LSP-related functionality from extension.ts into a new linter.ts module, improving code organization and separation of concerns. > > Key Changes: > > - Moved LSP client initialization, configuration, and lifecycle management from extension.ts to linter.ts > - Created a new commands.ts file to centralize command constants > - Simplified extension.ts to focus on extension-level orchestration by delegating to linter-specific functions

Uh oh!
There was an error while loading. Please reload this page.