Skip to content
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

Create RBSDocument #2437

Merged
merged 1 commit into from
Aug 15, 2024
Merged

Create RBSDocument #2437

merged 1 commit into from
Aug 15, 2024

Conversation

vinistock
Copy link
Member

Motivation

Step towards #1206

Create an RBSDocument implementation, so that we can start handling RBS files in the future and add features like document symbol, definition, hover, etc.

Implementation

Created the new class and started handling it in the server too. That way, even if the VS Code extension is not registering for RBS files yet, we can have people update to versions of the language server that already handles it, which should reduce the surface area for synchronization issues between client and server.

Automated Tests

Added a test verifying the basics of the new class.

@vinistock vinistock added enhancement New feature or request server This pull request should be included in the server gem's release notes labels Aug 13, 2024
@vinistock vinistock self-assigned this Aug 13, 2024
@vinistock vinistock requested a review from a team as a code owner August 13, 2024 15:44
@vinistock vinistock requested review from andyw8 and st0012 August 13, 2024 15:44
@vinistock vinistock force-pushed the vs-make-document-generic branch from 760779f to d879724 Compare August 13, 2024 20:11
lib/ruby_lsp/rbs_document.rb Show resolved Hide resolved
test/rbs_document_test.rb Show resolved Hide resolved
Base automatically changed from vs-make-document-generic to main August 15, 2024 19:55
@vinistock vinistock force-pushed the vs-add-rbs-document branch from ea412df to d217d90 Compare August 15, 2024 19:58
@vinistock vinistock enabled auto-merge (squash) August 15, 2024 20:02
@vinistock vinistock merged commit e650df9 into main Aug 15, 2024
36 checks passed
@vinistock vinistock deleted the vs-add-rbs-document branch August 15, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request server This pull request should be included in the server gem's release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants