-
Notifications
You must be signed in to change notification settings - Fork 11
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
Prepare for extension publishing #180
Conversation
"bundle": "esbuild ./src/server.ts --bundle --format=cjs --platform=node --outfile=dist/cypher-language-server.js --minify", | ||
"bundle-worker": "esbuild ./src/lintWorker.ts --bundle --format=cjs --platform=node --outfile=dist/lintWorker.js --minify", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without these changes, the worker doesn't properly bundle it's imports
|
||
The following settings are available in VSCode once the plugin is installed, which can be set either through the `Settings` menu on VSCode or by creating a `.vscode/settings.json` file in the window opened by the play button. | ||
- Easier database connection management |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add this maybe?
- Query execution
packages/vscode-extension/README.md
Outdated
- `cypherLSP.neo4j.connect`: If true it will attempt to connect to a Neo4j database to retrieve data used for completions. Defaults to `true` | ||
- `cypherLSP.neo4j.user`: Defaults to `"neo4j"`, the default user for a local Neo4j instance | ||
- `cypherLSP.neo4j.password`: Replace this with the password for the user above | ||
- `cypherLSP.neo4j.URL`: Defaults to `"neo4j://localhost:7687"`, the default URL for a local Neo4j instance |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to remove the cypherLSP
from here.
Maybe it would be nicer to make url
lower case everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I agree it'd be nicer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also changed it to be boltUrl
instead, this way we don't have to rename it if we start supporting the HTTP api as well in the future
packages/vscode-extension/README.md
Outdated
|
||
### Debug | ||
|
||
- `cypherLSP.trace.server`: Traces the communication between VS Code and the language server for debugging purposes. | ||
- `cypherLSP.trace.server`: Traces the communication between VS Code and the language server for debugging purposes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same, the cypherLSP
is not there anymore, they are neo4j
settings
Fixes the crash when dbschema isn't passed to the signature help and prepares our package for publishing.
Updates to our package.json based on the guidelines in the docs here:
https://code.visualstudio.com/api/references/extension-manifest
I've updated some "VSCode" to "VS Code", since that's how it's usually written in docs from microsoft.
Minimized the extension bundle, now it only includes the relevant files:

The gif needs to be referenced via https to render in the marketplace, as noted here and here. Let me know if you prefer one of the older gifs, a static image or something completely different 😄
I've also updated some wordings & descriptions, let me know what you think.