Skip to content

Commit b12a6a3

Browse files
committed
Update CHANGELOG and README
1 parent 6a370c7 commit b12a6a3

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,7 @@ I think we can consider the extension stable and out of beta. A big thank you to
9191
- New provider: [Document Symbols](https://code.visualstudio.com/api/language-extensions/programmatic-language-features#show-all-symbol-definitions-within-a-document).
9292
- Fixed a small issue with the `CompletionItemsProvider`.
9393
- Goto will now _really_ work with definitions from `nwscript.nss` if the file is in your project.
94+
95+
## [2.2.0]
96+
97+
- The compilation engine has been migrated from nwnsc to nwn_script_comp.

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,11 @@ Notes:
8383

8484
Notes:
8585

86-
- Diagnostics are provided by compiling the file with the [nwnsc](https://github.com/nwneetools/nwnsc) executable.
86+
- Diagnostics are provided by compiling the file with the [nwn_script_comp](https://github.com/niv/neverwinter.nim/blob/master/nwn_script_comp.nim) compiled executable.
8787
- The compiler executable is provided for Windows, Darwin and Linux operating systems.
8888
- Diagnostics are currently published when opening or saving a file.
8989
- By default, the compiler will try to detect automatically your Neverwinter Nights home and installation folders if they are not specified. If it fails to do so, you can provide the paths in the extension settings like shown above - input paths are wrapped into quotes automatically.
9090
- You can set the `verbose` setting to `true` if you wish to see detailed logs of the compilation process.
91-
- Big files with a lot of includes can take between half a second to a second to compile on older machines - it will not affect the client performances as the processing is done on the server.
9291

9392
### Syntax highligthing
9493

@@ -112,10 +111,6 @@ The language symbols or tokens are not generated using an AST like language serv
112111

113112
Implementing a language parser to build its AST is a lot of work, and none was available at the time I implemented this project. Now that NWScript compiler has been made [public](https://github.com/niv/neverwinter.nim), it would be much easier to create a utility responsible for parsing a file of code and generating its AST. Implementing this utility and refactoring the whole tokenization engine of the Language Server is, however, a non-negligible amount of work. Considering the fact that the current solution works well for common use, I do not intend to do it.
114113

115-
## Known issues
116-
117-
The nwnsc process doesn't terminate on linux. This is caused by the [compiler](https://github.com/nwneetools/nwnsc) itself, not the extension.
118-
119114
## Issues
120115

121116
Please report any issues on the github [repository](https://github.com/PhilippeChab/nwscript-ee-language-server/issues).

0 commit comments

Comments
 (0)