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

Add Symbol Renaming to the language server #2081

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Add Symbol Renaming to the language server #2081

merged 1 commit into from
Jan 29, 2024

Conversation

hzeller
Copy link
Collaborator

@hzeller hzeller commented Jan 28, 2024

This is a rebase of original Pull Reqeust #1948 by @jbylicki See commit history there.

@hzeller hzeller requested a review from jbylicki January 28, 2024 22:23
@hzeller
Copy link
Collaborator Author

hzeller commented Jan 28, 2024

Hey Jan, I've rebased your #1948 so that it doesn't get lost.

This is a rebase of original Pull Reqeust #1948 by @jbylicki
See commit history there.

// This was ASSERT_FALSE(), but in fact we get the range of 'vara' back,
// and renaming that actually works. TODO: Check intent of this test.
ASSERT_TRUE(edit_range.has_value()) << (nlohmann::json)*edit_range;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was testing ASSERT_FALSE(), but it now actually returns a range. Was that #1678 fixing it ?

@codecov-commenter
Copy link

codecov-commenter commented Jan 28, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (d3e3ea6) 92.99% compared to head (6090dd4) 92.97%.

Files Patch % Lines
verilog/tools/ls/symbol-table-handler.cc 85.33% 11 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2081      +/-   ##
==========================================
- Coverage   92.99%   92.97%   -0.02%     
==========================================
  Files         358      358              
  Lines       26465    26548      +83     
==========================================
+ Hits        24611    24683      +72     
- Misses       1854     1865      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@fangism fangism left a comment

Choose a reason for hiding this comment

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

Amazing work

@hzeller hzeller merged commit 82ac518 into chipsalliance:master Jan 29, 2024
30 of 31 checks passed
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.

4 participants