Skip to content

feat: wire vscode-common-python-lsp shared package (Stage 1)#730

Merged
edvilme merged 4 commits into
mainfrom
int-pilot-s1
May 1, 2026
Merged

feat: wire vscode-common-python-lsp shared package (Stage 1)#730
edvilme merged 4 commits into
mainfrom
int-pilot-s1

Conversation

@edvilme
Copy link
Copy Markdown
Contributor

@edvilme edvilme commented Apr 30, 2026

Summary

Wires the vscode-common-python-lsp shared package into the extension (Stage 1). This replaces duplicated utility code with thin wrappers that delegate to the shared package.

Changes

  • Python: Replace lsp_utils.py with thin wrapper importing from shared package
  • TypeScript: Add ToolConfig to constants.ts, replace server.ts with shared package delegation
  • Dependencies: Add @vscode/common-python-lsp (npm) and vscode-common-python-lsp==0.3.0 (PyPI bundled)

Result

  • Zero behavioral changes
  • All tests pass

Replace lsp_utils.py with thin wrapper delegating to shared package.
Add ToolConfig to constants.ts. Replace server.ts with shared package
delegation. Add vscode-common-python-lsp to bundled libs and npm deps.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
rchiodo
rchiodo previously approved these changes May 1, 2026
Copy link
Copy Markdown

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

- conftest.py: Add bundled/libs to sys.path so test_change_cwd.py can
  import vscode_common_python_lsp directly.
- lsp_utils.py: Fix import ordering to satisfy isort --profile black
  (aliased imports must be separate statements).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@edvilme edvilme added the debt Technical debt or repo cleanup label May 1, 2026
edvilme and others added 2 commits April 30, 2026 20:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@edvilme edvilme requested a review from rchiodo May 1, 2026 17:43
Copy link
Copy Markdown

@rchiodo rchiodo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved via Review Center.

@edvilme edvilme merged commit ececb86 into main May 1, 2026
21 checks passed
@edvilme edvilme deleted the int-pilot-s1 branch May 1, 2026 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Technical debt or repo cleanup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants