diff --git a/CHANGELOG.md b/CHANGELOG.md index 7075d92..3768ee2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ ## [Unreleased] +## [0.2.0] + +### Added + +- Schema associations for modded CE files. +- Context aware documentation. + ## [0.1.0] ### Added diff --git a/README.md b/README.md index 8c4578e..2ebfaed 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,21 @@ The extension automatically configures the [XML extension](https://marketplace.v ## Features -- Automatically configures schema association for standard CE files. +The extension automatically configures schema association for CE files (both XML and JSON), providing the following benefits: -## Planed features +- Autocompletion; + ![Autocompletion](./assets/Autocompletion.gif) +- Validation; + ![Validation](./assets/Validation.png) +- Tooltips on hover (WIP). + ![Tooltips](./assets/TooltipsOnHover.gif) + +If you have questions the extension can provide help on the active file: + +![Open Documentation](./assets/OpenDocumentation.gif) + +### Planed features -- Make schema mappings aware of custom CE files (defined in `cfgeconomycore.xml`) - Make validation context aware (e.g. you can't use flags that are not defined in `cfglimitsdefinition.xml`) - Provide full project validation. @@ -22,11 +32,18 @@ This extension relies on the [XML extension](https://marketplace.visualstudio.co Only open files can be validated. You won't get any validation errors until you open the file in the editor. -At the moment only standard CE files are mapped to the appropriate schemas. If you use custom files, you *may* need to map them manually. See the instructions in the XML extension [documentation](https://github.com/redhat-developer/vscode-xml/blob/main/docs/Validation.md#XML-file-association-with-xsd) and the DayZ Central Economy schema [repo](https://github.com/rvost/DayZ-Central-Economy-Schema/#how-to). - +- Added schema association on activation for standard CE files. diff --git a/assets/Autocompletion.gif b/assets/Autocompletion.gif new file mode 100644 index 0000000..94f3e21 Binary files /dev/null and b/assets/Autocompletion.gif differ diff --git a/assets/OpenDocumentation.gif b/assets/OpenDocumentation.gif new file mode 100644 index 0000000..2d6f8d4 Binary files /dev/null and b/assets/OpenDocumentation.gif differ diff --git a/assets/TooltipsOnHover.gif b/assets/TooltipsOnHover.gif new file mode 100644 index 0000000..c9737a3 Binary files /dev/null and b/assets/TooltipsOnHover.gif differ diff --git a/assets/Validation.png b/assets/Validation.png new file mode 100644 index 0000000..b55e062 Binary files /dev/null and b/assets/Validation.png differ diff --git a/package.json b/package.json index 716239b..37e302c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Schema validation for DayZ CE configuration files", "publisher": "rvost", "license": "EPL-2.0", - "version": "0.1.0", + "version": "0.2.0", "icon": "assets/icon.png", "engines": { "vscode": "^1.82.0"