Skip to content

chore: add project shim#237

Merged
hardfist merged 3 commits intomainfrom
yj/add-project-service
Aug 12, 2025
Merged

chore: add project shim#237
hardfist merged 3 commits intomainfrom
yj/add-project-service

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Aug 12, 2025

the current ls implementation is too native to handle large scale project, align with typescript ls implementation and use projectService for implementation

Copilot AI review requested due to automatic review settings August 12, 2025 07:57
Copy link
Copy Markdown
Contributor

Copilot AI left a 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 adds a new TypeScript project management shim to the rslint codebase, integrating the project package from the typescript-go library. The changes enable the LSP server to manage TypeScript projects more effectively by providing access to project services and related functionality.

Key Changes:

  • Added project shim generation to the shim generation tool
  • Created a new project shim package with comprehensive TypeScript project management APIs
  • Integrated the project service into the LSP server structure

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tools/gen_shims/main.go Added "project" to the list of packages to generate shims for
shim/project/shim.go Generated shim file exposing project management APIs from typescript-go
shim/project/go.mod Go module definition for the project shim package
internal/lsp/service.go Created empty LSP service package file
go.mod Added project shim module to dependencies and replace directives
cmd/rslint/lsp.go Integrated project service into LSP server structure

@hardfist hardfist merged commit f4834c0 into main Aug 12, 2025
4 checks passed
@hardfist hardfist deleted the yj/add-project-service branch August 12, 2025 10:04
ScriptedAlchemy pushed a commit that referenced this pull request Aug 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants