Skip to content

refactor: split server & service logic#262

Merged
hardfist merged 1 commit intomainfrom
yj/refactor-server
Aug 14, 2025
Merged

refactor: split server & service logic#262
hardfist merged 1 commit intomainfrom
yj/refactor-server

Conversation

@hardfist
Copy link
Copy Markdown
Contributor

@hardfist hardfist commented Aug 14, 2025

split service logic so make it easier to refactor server logic

Copilot AI review requested due to automatic review settings August 14, 2025 08:08
@netlify
Copy link
Copy Markdown

netlify bot commented Aug 14, 2025

Deploy Preview for rslint canceled.

Name Link
🔨 Latest commit f504ce8
🔍 Latest deploy log https://app.netlify.com/projects/rslint/deploys/689d9987e30e6b0008a13475

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 refactors the LSP (Language Server Protocol) implementation by splitting server and service logic into separate files. The main purpose is to improve code organization and maintainability by separating concerns between server infrastructure and service-specific functionality.

Key changes:

  • Moved all LSP service handler methods from server.go to a new service.go file
  • Removed unnecessary imports from server.go that were only used by the moved service logic
  • Maintained the same functionality while improving code organization

Reviewed Changes

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

File Description
internal/lsp/service.go New file containing all LSP service handler methods and helper functions moved from server.go
internal/lsp/server.go Cleaned up by removing service handler methods and their associated imports, keeping only core server infrastructure

@hardfist hardfist merged commit df2caed into main Aug 14, 2025
10 checks passed
@hardfist hardfist deleted the yj/refactor-server branch August 14, 2025 08:24
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.

2 participants