Skip to content

fix: Modification to replace the usage of deprecated constructor SymbolInformation with WorkspaceSymbol #1424

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

anusreelakshmi934
Copy link
Contributor

Fixes #1423

  • Replaced deprecated constructor SymbolInformation with WorkspaceSymbol

  • Additionally, this also addresses the deprecation of the following methods:

    • SymbolInformation.setName(String)
    • SymbolInformation.setLocation(Location)
    • SymbolInformation.setKind(SymbolKind)
  • Changed copyright year to 2025

@anusreelakshmi934
Copy link
Contributor Author

anusreelakshmi934 commented Jan 15, 2025

@angelozerr, kindly review this PR at your convenience. Thanks

@anusreelakshmi934
Copy link
Contributor Author

Hi @angelozerr, could you please review this PR? We're wrapping up issues for our upcoming release milestone, so it would be greatly appreciated if you could take a look at it as soon as possible. Thanks!

@anusreelakshmi934
Copy link
Contributor Author

Hi @angelozerr I have resolved the conflicts in this PR.

@angelozerr
Copy link
Contributor

@angelozerr
Copy link
Contributor

It seems you are using WorskpaceSymbol, but in this case you cannot do that because MP LS works with SymbolInformation.

If you want to work with WorkspaceSympl, you will need to update MP LS and MP JDT. I am not against this idea but it will require more work in LSP4MP:

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.

Address usage of deprecated constructor SymbolInformation
2 participants