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

Support for Neo4j version specific highlighting/deprecation warnings in VSCode #273

Open
mcclown opened this issue Oct 16, 2024 · 1 comment
Assignees

Comments

@mcclown
Copy link

mcclown commented Oct 16, 2024

In VSCode I get warnings like the following

image

This is great and often helpful but if I'm targeting a database running Neo4j 5.19 and this new syntax and deprecation doesn't come in until Neo4j 5.23. While I appreciate these warnings, if I'm targeting an earlier version I shouldn't be shown them (or if I am, they should be less intrusive). The yellow warning highlighting my entire CALL block is quite distracting.

I suggest either adding a setting that allows me to set a target or, when I add a database connection, it sets the target version to the database I'm connected to.

Thanks for all the great work!

@ncordon
Copy link
Collaborator

ncordon commented Feb 11, 2025

Hey @mcclown, sorry for the delay coming back to you, I will try and monitor these issues better:

  • As a first step we will add an option in VSCode that allows you to disable all of the errors.
  • Right now no matter what database version you are connected to, we always use the latest language server, it's in our roadmap to pick the right language server for the version of neo4j you are connected to, so I'll look into that.

@ncordon ncordon self-assigned this Feb 11, 2025
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

No branches or pull requests

2 participants