Releases: rvost/dayz-ce-schema
1.2.0
Features
- Added support for copying external event spawns configurations.
- Added extract/inline functionality for random presets in
cfgspawnabletypes.xml
files.
- Added diagnostics for value and usage flags in
types.xml
files that can be replaced with user flags. - Added quick fix for flags that can be replaced with user flags.
- Added extract/inline functionality for value and usage flags in
types.xml
files.
- Added support for renaming:
- Added
Find Reference
/Find All References
implementation for:- Flags: lists references from
types.xml
(including custom files); - User-defined flags: lists references from
types.xml
(including custom files).
- Flags: lists references from
- Added references Code Lens for:
Important
Code Lens feature is disabled by default in the XML extension. If you want to use it, you need to check the box in the extension settings:
Install
1.1.0
Features
- Added hover tooltips with flag content for user-defined flags in
types.xml
(and custom files).
- Added hover tooltips with human-readable time format for time values in following files:
- Added link navigation for:
- Added
Go To Definition
implementation for: - Added
Find Reference
/Find All References
implementation for:- Types in
types.xml
: lists references from other types files andcfgspawnabletypes.xml
(including custom files); - Events in
events.xml
: lists references from other events files andcfgeventspawns.xml
; - Random presets: list references from
cfgspawnabletypes.xml
(including custom files);
- Event groups: lists references from
cfgeventspawns.xml
; - Map group prototypes: lists references from
cfgeventgroups.xml
.
- Types in
- Added diagnostics for events that not referenced in
cfgeventspawns.xml
. - Added diagnostics for group references in
cfgeventspawns.xml
. - Added diagnostics for map group references in
cfgeventgroups.xml
. - Added autocompletion for map group names in
cfgeventgroups.xml
.
Bug Fixes
- Fix event prefix diagnostics. Added
Ambient
to the list of valid event prefixes.
Install
1.0.0
Language Server features stable release!
Features
- Added schema resolution for custom files;
- Added support for new files in refactoring;
- Added copy from external files Code Action;
- Added snippets.
Bug Fixes
- Fixed placeholder text in file picker;
- Fixed noisy errors in external files. Disabled mission-scoped validation for files outside the mission folder.
Install
0.9.0
Features
Added
- Code actions:
- Quick fix for registration of unused custom files in
cfgeconomycore.xml
; - Copy external files to the mission folder and register in
cfgeconomycore.xml
;
- Quick fix for file type mismatch.
- Move and copy elements between registered custom files.
*This version doesn't yet support creating files on the fly.
- Quick fix for registration of unused custom files in
- Completion and validation for
events.xml
:- Completion for classnames in
events.xml
; - Validation of event names;
- Validation for classnames referenced in events.xml.
- Completion for classnames in
- Completion and validation for
cfgeventspawns.xml
:- Completion for event names;
- Validation for event references.
- Validation for
globals.xml
. - Completion and validation for
cfgenvironment.xml
:- Completion for file paths;
- Context-sensitive completion for file references;
- Validation for file paths and references.
- Completion and validation for
mapgroupproto.xml
:- Context-sensitive completion for limit flags;
- Validation for event references.
- Validation for limit flags.
- Completion and validation for
mapgrouppos.xml
. - Mission file diagnostics:
- Warning for unused custom files (not registered in
cfgeconomycore.xml
); - Notice message for files outside the mission folder.
- Error if the type registered in
cfgeconomycore.xml
doesn't match the file content.
- Warning for unused custom files (not registered in
Install
*Note: The Visual Studio Marketplace badge shows the latest stable version. You can still get 0.9.0 by switching to the Pre-Release channel.
0.7.1
Features
- Added classnames completion and validation based on registered types files:
- In custom
types
files; - In
spawnabletypes
files; - In
cfgrandompresets.xml
.
- In custom
- Improved context aware completion and diagnostics for flags:
- Account for already used values in completion for
cfglimitsdefinitionsuser.xml
. - Diagnose duplicate values definitions in
cfglimitsdefinitionsuser.xml
. - Diagnose empty definitions in
cfglimitsdefinitionsuser.xml
.
- Account for already used values in completion for
- Improved completion and diagnostics for
types
:- Diagnose simultaneous use of name and user attributes in
types.xml
. - Account for already used values in completion for flag names.
- Diagnose multiple category tags in
types.xml
.
- Diagnose simultaneous use of name and user attributes in
- Improved diagnostics for
spawnabletypes
:- Diagnose attributes and configuration when preset is specified.
Bug Fixes
- Reduce CPU usage at idle.
- Fix completion for
cfgeconomycore.xml
:- Remove deleted folders from suggestions.
- Add folder to suggestions if xml file created in it.
Install
*Note: The Visual Studio Marketplace badge shows the latest stable version. You can still get 0.7.1 by switching to the Pre-Release channel.
0.7.0
Attention
This preview version and future stable releases will require Java (17 or newer). Unfortunately, the extension cannot install Java for you so you need to do it manually. The easiest way to do it (on Windows) is to run
winget install Microsoft.OpenJDK.21
… or follow instructions in link above.
Features
- Completion and validation for folders and filenames in the
ce
section ofcfgeconomycore.xml
. - Completion and validation for
category
,tag
,usage
andvalue
flags intypes.xml
based on values incfglimitsdefinitions.xml
andcfglimitsdefinitionsuser.xml
- Available flags are updated after saving changes to the respective files.
- Completion and validation for
usage
andvalue
flags in thecfglimitsdefinitionsuser.xml
. - Completion and validation for presets in
cfgspawnabletypes.xml
based oncfgrandompresets.xml
.
Install
0.6.0
Updates for DayZ 1.23:
Features
- Add validation for Spawning Gear Configuration.
Fixes
- Update
cfgGameplay.json
schema. - Update
cfgplayerspawnpoints.xml
schema.
Continuous Integration
- Add workflow to check PRs.
0.5.0
Updates for DayZ 1.23 Experimental:
Features
- Add validation for Spawning Gear Configuration.
Fixes
- Update
cfgGameplay.json
schema.
0.4.1
Features
- Added Ability for users to add documentation links.
- Added schema for the Object Spawner custom lists.
Other
- Updated release workflow. From now on, odd minor version numbers will indicate pre-releases.
0.2.2
Features
- Add JSON configuration files validation;
- Add schema association for modded CE files;
- Add Open documentation command.
Bug Fixes
- Fix cfgIgnoreList.xml schema location.