Skip to content

Commit

Permalink
Bump to 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeChab committed Apr 5, 2023
1 parent 38d37db commit b4d812a
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,27 @@ All notable changes to the "nwscript-ee-language-server" extension will be docum
- Fixed the compilation provider not reporting warnings.
- New compiler setting `reportWarnings`. True by default.
- New formatter setting `verbose`. False by default.

## [1.5.4]

- Fixed security issues.
- The project is now bundled with esbuild instead of webpack.

## [1.5.5]

- Build the indexer again... yikes.

## [2.0.0]

- `GenerateLibDefinitions.ts` now also generates definitions for files in `/data/base_scripts.bif` and files in the `/ovr` folder. See the [README.md](./README.md#generating-the-language-library-definitions) for more details.
- Static scripts definitions are now provided as fallback if they don't exist in the project directory. This includes files in `/data/base_scripts.bif` and files in the `/ovr` folder.
- New setting `os` for diagnostics that forces the extension to use the executable of a specific os. Can be useful for wsl, for example. `null` by default.
- The extension no longer indexes the project files in background at project startup. Instead, it will index a file and its children when it is opened.
- The compilers have been updated to their latest versions.
- `nwscript.nss` definitions have been updated.
- The setting `autoCompleteFunctionsWithParams` is now `completion.addParamsToFunctions`.
- The setting `includeCommentsInFunctionsHover` is now `hovering.addCommentsToFunctions`.

## [2.0.1]

I think we can consider the extension stable and out of beta. A big thank you to everyone who has been implied in a way or another in its development! :)
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

NWScript: EE Language Server is a Visual Studio Code extension for the NWScript language.

While it seems to work well, even in bigger and older code bases, it is still an early project and there might be some unintended behaviours.

## Features

- Enhanced syntax highlighting
Expand Down Expand Up @@ -105,7 +103,7 @@ I personally use the [One Dark Pro](https://marketplace.visualstudio.com/items?i

### Generating the language library definitions

Replace `server/scripts/nwscript.nss` by its new version, `server/scripts/base_scripts/` files by their new versions, `server/scripts/ovr/` includes by their new versions and execute `yarn run generate-lib-defs` in the server root directory.
Replace `/server/scripts/nwscript.nss` by its new version, `/server/scripts/base_scripts/` files by their new versions, `/server/scripts/ovr/` includes by their new versions and execute `yarn run generate-lib-defs` in the server root directory.

## Issues

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/PhilippeChab/nwscript-ee-language-server"
},
"license": "MIT",
"version": "2.0.0",
"version": "2.0.1",
"author": {
"name": "Philippe Chabot"
},
Expand All @@ -28,7 +28,6 @@
"activationEvents": [
"onLanguage:nwscript"
],
"preview": true,
"main": "./client/out/extension",
"contributes": {
"languages": [
Expand Down

0 comments on commit b4d812a

Please sign in to comment.