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

Implement simple onDefinition feature in LSP #3175

Merged
merged 13 commits into from
Jan 31, 2023
Merged

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Jan 30, 2023

1/2 main <- this <- #3185

Related to #2529

This PR reinstates the language server with a single piece of basic functionality. We now provide definitions for symbols within dvc.yaml files. If the symbol relates to a file then we open that file in a text editor. The problem described here has been removed.

Demo

Screen.Recording.2023-01-31.at.3.41.25.pm.mov

@mattseddon mattseddon added the product PR that affects product label Jan 30, 2023
@mattseddon mattseddon self-assigned this Jan 30, 2023
@mattseddon mattseddon marked this pull request as ready for review January 31, 2023 05:40
@mattseddon mattseddon requested a review from shcheklein January 31, 2023 05:40
Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

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

Great work!

@mattseddon mattseddon enabled auto-merge (squash) January 31, 2023 21:18
@codeclimate
Copy link

codeclimate bot commented Jan 31, 2023

Code Climate has analyzed commit 737d9a8 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 95.5% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.9% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit f145f00 into main Jan 31, 2023
@mattseddon mattseddon deleted the fix-on-definition branch January 31, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants