Skip to content

Commit c0b1f10

Browse files
committed
readme cleanup
1 parent 55cb6cb commit c0b1f10

File tree

4 files changed

+34
-24
lines changed

4 files changed

+34
-24
lines changed

packages/vscode-extension/CONTRIBUTING.md

Whitespace-only changes.

packages/vscode-extension/README.md

+26-19
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,44 @@
1-
# VSCode Extension
1+
# Neo4j for VS Code Preview
22

3-
This is a VScode extension playground for testing the Cypher language server.
3+
## Getting started
44

5-
It's not yet published on the VSCode Marketplace, so to test it you need to run it locally.
5+
Open a file with `.cypher` extension after installing the extension from the VSCode marketplace. To enable database aware features (such as completing labels/functions), set up a connection to a neo4j instance using the settings described in the settings section below.
66

7-
For running it, compile the code first:
7+
### Feature Highlights
88

9-
```
10-
npm install
11-
npm run build
12-
```
9+
Our extension preview provides a rich set of features for working with Cypher, including:
1310

14-
To launch a new VSCode window with the extension installed go to the `Run & Debug` tab (normally in the left pannel), select and run `VSCode Playground` clicking on the play ▷ button.
11+
- Syntax highlighting
12+
- Syntax checking - both syntax and semantic errors (e.g. type errors, unknown labels etc.)
13+
- Autocompletion for Cypher keywords, functions, labels, properties, database names and more
14+
- Signature help for functions - shows the signature of the function while typing
1515

16-
This will open a new window where we can open our folder of choice, create a file with `.cypher` extension and start typing cypher helped by the language support.
16+
![whirlwind-tour](https://github.com/neo4j/cypher-language-support/blob/main/packages/vscode-extension/images/demo.gif?raw=true)
1717

18-
## Plugin settings
18+
### Upcoming features
1919

20-
For database aware features (such as autocompleting labels, procedure names, etc), you can connect to a running database (Aura, neo4j docker, etc) by tweaking the playground settings, in the opened window.
20+
We're working on adding more features to the extension, such as:
2121

22-
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.
22+
- Easier database connection management
23+
- Embedded cypher support in other file types
24+
- REPL-like scratchpad for debugging queries
25+
- Automated formatting
2326

24-
### Settings for database connection
27+
## Extension settings
2528

26-
The following settings refer to the database connection used for signature loading, this will allow for autocomplete on Labels and Types.
29+
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 editing your `.vscode/settings.json` file.
2730

28-
- `cypherLSP.neo4j.connect`: If true it will attempt to connect to a Neo4j database to retrieve signature information. Defaults to `true`.
31+
- `cypherLSP.neo4j.connect`: If true it will attempt to connect to a Neo4j database to retrieve data used for completions. Defaults to `true`.
2932
- `cypherLSP.neo4j.user`: Defaults to `"neo4j"`
3033
- `cypherLSP.neo4j.password`: Defaults to `"password"`
31-
- `cypherLSP.neo4j.URL`: Defaults to `"bolt://localhost:7687"`
32-
33-
![](../../imgs/vscode-playground.png)
34+
- `cypherLSP.neo4j.URL`: Defaults to `"neo4j://localhost:7687"`
3435

3536
### Debug
3637

3738
- `cypherLSP.trace.server`: Traces the communication between VS Code and the language server for debugging purposes.
39+
40+
### Contributing
41+
42+
We welcome your suggestions, ideas, bug reports and contributions on the project on our [github](https://github.com/neo4j/cypher-language-support).
43+
44+
To build the project locally, see the [CONTRIBUTING.md](CONTRIBUTING.md) file at the root of the repository.
Loading

packages/vscode-extension/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
}
5050
],
5151
"configuration": {
52-
"title": "Cypher LSP",
52+
"title": "Neo4j for VS Code",
5353
"properties": {
5454
"neo4j.trace.server": {
5555
"scope": "window",
@@ -66,25 +66,25 @@
6666
"order": 1,
6767
"type": "boolean",
6868
"default": true,
69-
"description": "Shall connect to Neo4j to gather data about labels and types."
69+
"description": "Connect to Neo4j for database aware completions."
7070
},
7171
"neo4j.URL": {
7272
"order": 2,
7373
"type": "string",
74-
"default": "bolt://localhost:7687",
74+
"default": "neo4j://localhost:7687",
7575
"description": "Url of the database to connect."
7676
},
7777
"neo4j.user": {
7878
"order": 3,
7979
"type": "string",
8080
"default": "neo4j",
81-
"description": "Username of the database to connect."
81+
"description": "Username for database connection."
8282
},
8383
"neo4j.password": {
8484
"order": 4,
8585
"type": "string",
8686
"default": "password",
87-
"description": "Password of the database to connect."
87+
"description": "Password for database connection."
8888
}
8989
}
9090
},

0 commit comments

Comments
 (0)