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 Goto Declaration Request #6

Open
3 tasks
AnHeuermann opened this issue Feb 8, 2024 · 1 comment
Open
3 tasks

Implement Goto Declaration Request #6

AnHeuermann opened this issue Feb 8, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers LS - Client Language Server - Client capability LS - Server Language Server - Server capability

Comments

@AnHeuermann
Copy link
Member

Description

Implement Goto Declaration Request.

The go to declaration request is sent from the client to the server to resolve the declaration location of a symbol at a given text document position.

In many editors this is something like ctrl+click to jump to the definition of a declaration.

Desired Features

  • Jump to definition for Modelica classes
    • Respect scope of the current position. List declarations in scope at the top. Mark known definitions that are not in scope but known.
  • Server Test
  • Client end to end test

Examples

OMEdit can jump to definition on the diagram view:

grafik

@AnHeuermann AnHeuermann added enhancement New feature or request good first issue Good for newcomers LS - Server Language Server - Server capability LS - Client Language Server - Client capability labels Feb 8, 2024
@AnHeuermann
Copy link
Member Author

Mostly implemented with #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers LS - Client Language Server - Client capability LS - Server Language Server - Server capability
Projects
Status: Ready
Development

No branches or pull requests

1 participant