Skip to content

Releases: rvost/dayz-ce-schema

1.2.0

17 Oct 19:56
Compare
Choose a tag to compare

Features

  • Added support for copying external event spawns configurations.
  • Added extract/inline functionality for random presets in cfgspawnabletypes.xml files.
    ExtractRandomPreset
  • 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.
    SimplifyValueFlags
  • Added extract/inline functionality for value and usage flags in types.xml files.
    InlineUserFlag
  • Added support for renaming:
    • events;
      RenameEvents
      Renaming an event doesn't change the event prefix
    • user-defined flags;
    • random presets;
    • event groups.
  • 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).
  • Added references Code Lens for:
    • random presets;
    • flags;
      image
    • user-defined flags.

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:
image

Install

Visual Studio Marketplace Version (including pre-releases)
Open VSX Version

1.1.0

10 Sep 16:53
Compare
Choose a tag to compare
1.1.0 Pre-release
Pre-release

Features

  • Added hover tooltips with flag content for user-defined flags in types.xml(and custom files).
    image
  • Added hover tooltips with human-readable time format for time values in following files:
    • types.xml (and custom files);
      image
    • events.xml (and custom files);
    • globals.xml (and custom files);
    • cfgweather.xml.
  • Added link navigation for:
    • files in cfgeconomycore.xml;
      FollowLink
    • files in cfgenvironment.xml.
  • Added Go To Definition implementation for:
    • Random presets in cfgspawnabletypes.xml;
      PeekDefinition
      Use Alt+F12 to view and edit the definition without switching files.
    • User-defined flags in types.xml;
    • Event groups in cfgeventspawns.xml;
    • Map group prototypes in cfgeventgroups.xml.
  • Added Find Reference/Find All References implementation for:
    • Types in types.xml: lists references from other types files and cfgspawnabletypes.xml (including custom files);
    • Events in events.xml: lists references from other events files and cfgeventspawns.xml;
    • Random presets: list references from cfgspawnabletypes.xml (including custom files);
      FindAllReferences
    • Event groups: lists references from cfgeventspawns.xml;
    • Map group prototypes: lists references from cfgeventgroups.xml.
  • 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

Visual Studio Marketplace Version (including pre-releases)
Open VSX Version

1.0.0

25 Apr 15:49
Compare
Choose a tag to compare

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

Visual Studio Marketplace Version (including pre-releases)
Open VSX Version

0.9.0

14 Apr 17:30
Compare
Choose a tag to compare
0.9.0 Pre-release
Pre-release

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;
      AddFileToMission
    • Quick fix for file type mismatch.
    • Move and copy elements between registered custom files.
      RefactorEvents
      *This version doesn't yet support creating files on the fly.
  • Completion and validation for events.xml:
    • Completion for classnames in events.xml;
    • Validation of event names;
    • Validation for classnames referenced in events.xml.
  • 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.

Install

Visual Studio Marketplace Version (including pre-releases)
Open VSX Version

*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

19 Feb 14:53
Compare
Choose a tag to compare
0.7.1 Pre-release
Pre-release

Features

  • Added classnames completion and validation based on registered types files:
    • In custom types files;
    • In spawnabletypes files;
    • In cfgrandompresets.xml.
  • 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.
  • 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.
  • 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

Visual Studio Marketplace Version (including pre-releases)

Open VSX Version

*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

31 Dec 22:29
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release

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 of cfgeconomycore.xml.
  • Completion and validation for category, tag, usage and value flags in types.xml based on values in cfglimitsdefinitions.xml and cfglimitsdefinitionsuser.xml
    • Available flags are updated after saving changes to the respective files.
  • Completion and validation for usage and value flags in the cfglimitsdefinitionsuser.xml.
  • Completion and validation for presets in cfgspawnabletypes.xml based on cfgrandompresets.xml.

Install

Visual Studio Marketplace Version (including pre-releases)

Open VSX Version

0.6.0

11 Nov 16:50
Compare
Choose a tag to compare

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

30 Oct 20:57
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

Updates for DayZ 1.23 Experimental:

Features

  • Add validation for Spawning Gear Configuration.

Fixes

  • Update cfgGameplay.json schema.

0.4.1

22 Oct 16:12
Compare
Choose a tag to compare

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

12 Oct 21:58
Compare
Choose a tag to compare

Features

  • Add JSON configuration files validation;
  • Add schema association for modded CE files;
  • Add Open documentation command.

Bug Fixes

  • Fix cfgIgnoreList.xml schema location.