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

Add a command to return connections (or active connection)? #7

Open
bbgw opened this issue May 25, 2023 · 2 comments
Open

Add a command to return connections (or active connection)? #7

bbgw opened this issue May 25, 2023 · 2 comments

Comments

@bbgw
Copy link

bbgw commented May 25, 2023

Hi, thank you for developing this extension. I'm developing an extension, and there's a need to add features to interact with Neo4j database. I found your extension very helpful, it provides a connection manager already.

Do you think it's a good idea to add a command to return connections from the ConnectionManager, or least the currently active one? By doing so, another extension could nicely depend on neo4j-vscode, and builds on top of it.

Let me know if this is good to you. I can create a PR for it then.

Cheers!

@bbgw bbgw changed the title Add a command to return connections? Add a command to return connections (or active connection)? May 25, 2023
@adam-cowley
Copy link
Owner

Nice idea. I'm interested to see how you are building an extension on top of this one. You can get the active connection using the getActive() method and a list of all connections using getState()

bbgw pushed a commit to bbgw/neo4j-vscode that referenced this issue May 28, 2023
@bbgw
Copy link
Author

bbgw commented Jul 3, 2023

Hi @adam-cowley, any feedbacks?

adam-cowley added a commit that referenced this issue Jul 3, 2023
#7 add a commmand to return active connection
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