neo4j / cypher-language-support

Neo4j's Cypher Language support

Home Page:https://neo4j.github.io/cypher-language-support/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Find a better way to connect the database to the LSP

ncordon opened this issue · comments

The db connection in DbInfo is hardcoded in the code:

  private neo4j: Driver = driver(
    'neo4j://localhost',
    auth.basic('neo4j', 'pass12345'),
  );
  • Can we find a way to pass the credentials from the client all the way to the server? For example some sort of VSCode command to log in?
  • Would it be better instead if we had a file .credentials.yaml (or similar) in the folder of the project we are working on with the user and password of the database we want to connect to?

Moved to Trello!