Skip to content

Migrate workspace symbol to use Rubydex#4019

Merged
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
03-19-migrate_workspace_symbol_to_rubydex
Mar 26, 2026
Merged

Migrate workspace symbol to use Rubydex#4019
vinistock merged 1 commit intorubydex_adoption_feature_branchfrom
03-19-migrate_workspace_symbol_to_rubydex

Conversation

@vinistock
Copy link
Copy Markdown
Member

Motivation

This PR migrates workspace symbol to use Rubydex.

Implementation

  1. Started using Graph#search to match symbols
  2. After doing some research, I realized that no language server excludes private/protected symbols from the results. Additionally, there's a proposal open to include visibility as a new field in workspace symbols. I think excluding based on visibility was not the right choice, so I removed that filter
  3. I added the to_lsp_kind to our definition patches

Automated Tests

I removed a redundant test and expanded the one about private/protected definitions.

@vinistock vinistock requested review from alexcrocha and st0012 March 19, 2026 16:47
@vinistock vinistock self-assigned this Mar 19, 2026
@vinistock vinistock requested a review from a team as a code owner March 19, 2026 16:47
@vinistock vinistock added server This pull request should be included in the server gem's release notes other Changes that aren't bugfixes, enhancements or breaking changes labels Mar 19, 2026
@vinistock vinistock mentioned this pull request Mar 19, 2026
19 tasks
@vinistock vinistock force-pushed the 03-19-migrate_workspace_symbol_to_rubydex branch from b182366 to 23fc40e Compare March 20, 2026 20:03
@vinistock vinistock force-pushed the 03-03-migrate_go_to_definition_to_use_rubydex branch from 005200d to f3b0fcc Compare March 20, 2026 20:04
@vinistock vinistock force-pushed the 03-03-migrate_go_to_definition_to_use_rubydex branch from f3b0fcc to 97436ad Compare March 23, 2026 15:17
@vinistock vinistock force-pushed the 03-19-migrate_workspace_symbol_to_rubydex branch from 23fc40e to 2ef74aa Compare March 23, 2026 15:17
@vinistock vinistock force-pushed the 03-03-migrate_go_to_definition_to_use_rubydex branch from 97436ad to ffe9281 Compare March 26, 2026 17:27
Base automatically changed from 03-03-migrate_go_to_definition_to_use_rubydex to rubydex_adoption_feature_branch March 26, 2026 18:01
@vinistock vinistock force-pushed the 03-19-migrate_workspace_symbol_to_rubydex branch from 2ef74aa to 0333da1 Compare March 26, 2026 18:02
@vinistock vinistock merged commit 2837bc0 into rubydex_adoption_feature_branch Mar 26, 2026
52 of 53 checks passed
@vinistock vinistock deleted the 03-19-migrate_workspace_symbol_to_rubydex branch March 26, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

other Changes that aren't bugfixes, enhancements or breaking changes 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.

2 participants