Skip to content

Commit d5de5d8

Browse files
build(master): release X4CodeComplete 1.6.0
1 parent 9a62ff8 commit d5de5d8

4 files changed

Lines changed: 74 additions & 4 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"extensions/lua": "1.1.1",
33
"extensions/lua-FILLER": "0.0.0",
4-
"extensions/scripts": "1.5.4",
4+
"extensions/scripts": "1.6.0",
55
"extensions/scripts-FILLER": "0.0.0"
66
}

extensions/scripts/CHANGELOG.md

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,76 @@
22

33
All notable changes to the "x4codecomplete" extension will be documented in this file.
44

5+
## [1.6.0](https://github.com/archenovalis/X4CodeComplete/compare/X4CodeComplete@v1.5.4...X4CodeComplete@v1.6.0) (2025-06-29)
6+
7+
8+
### Features
9+
10+
* **completion:** add forced completion setting for simple edits ([9a62ff8](https://github.com/archenovalis/X4CodeComplete/commit/9a62ff85c026b7ebcdb8dd9fc0fe2b6606820f1b))
11+
* implemented hover for element name and attribute name ([6ce4d4e](https://github.com/archenovalis/X4CodeComplete/commit/6ce4d4e9837d91f79f7f659ed1f8e0b030b9e3a0))
12+
* **xml:** preliminary implement XML structure tracking and context-aware completions ([0eab4ff](https://github.com/archenovalis/X4CodeComplete/commit/0eab4ff9744473f32adf05485c88cb05178e0837))
13+
14+
15+
### Bug Fixes
16+
17+
* **extension:** finally recover pre xsd_lookup functionality ([aff0d2b](https://github.com/archenovalis/X4CodeComplete/commit/aff0d2bec7c9994f063f2a3c6a6d9979a2cc36d0))
18+
* **scripts:** fixed parent detection on scripts xml source parsing ([e45f808](https://github.com/archenovalis/X4CodeComplete/commit/e45f8085284fcaf4929c4b0e9e312237556665bb))
19+
* **scripts:** get rid of exceedinglyVerbose variable and make logger.debug working right way, only if debug is enabled ([893683c](https://github.com/archenovalis/X4CodeComplete/commit/893683c5136dd6e803058110cfabc2bd086277c5))
20+
21+
22+
### Code Refactoring
23+
24+
* another turn to work with xsd ([e268964](https://github.com/archenovalis/X4CodeComplete/commit/e268964045411a7b89b7765392924e2ad74636e4))
25+
* **completion:** fully switched to ScriptCompletion provider ([9a62ff8](https://github.com/archenovalis/X4CodeComplete/commit/9a62ff85c026b7ebcdb8dd9fc0fe2b6606820f1b))
26+
* **completion:** preliminary partially worked version of ScriptCompletion provider ([3193c29](https://github.com/archenovalis/X4CodeComplete/commit/3193c29d22f144a4445635b0b0467bc2380201e8))
27+
* **completion:** preparation to implement comprehensive completion via new ScriptCompletion ([cc07f56](https://github.com/archenovalis/X4CodeComplete/commit/cc07f562aed1270ec1fe66a045d49a5dca566325))
28+
* **completion:** re-enable range usage for element name completions ([8f5bc25](https://github.com/archenovalis/X4CodeComplete/commit/8f5bc254d2ce5af6cfe3751956956d9e7b27a853))
29+
* **completion:** update element name completion to use provided range, but commented ([8d4b7ba](https://github.com/archenovalis/X4CodeComplete/commit/8d4b7bac25cfa9a5e19a693da647682e1861845b))
30+
* **extension:** rewrite VariableTracker, ActionTracker and LabelTracker to use WeakMap ([aff0d2b](https://github.com/archenovalis/X4CodeComplete/commit/aff0d2bec7c9994f063f2a3c6a6d9979a2cc36d0))
31+
* **logger:** change default logger level to 'info' and ensure singleton pattern ([893683c](https://github.com/archenovalis/X4CodeComplete/commit/893683c5136dd6e803058110cfabc2bd086277c5))
32+
* **logger:** make logger as separate module ([dccbb15](https://github.com/archenovalis/X4CodeComplete/commit/dccbb150b6bca138db32832ac21920815fa55533))
33+
* replace the xsdReference.ts by xsd_lookup package for the XML structure trucking, element validating and context-aware completion ([7252e97](https://github.com/archenovalis/X4CodeComplete/commit/7252e974952c5ed2ab7f58a3a3241999132b710c))
34+
* **scripts:** add parentName to AttributeRange for improved context ([13e8e50](https://github.com/archenovalis/X4CodeComplete/commit/13e8e50c6b2d628644213b45c71628db6a637d9a))
35+
* **scripts:** added an `offsetsMap` to track changes in text offsets due to patching, allowing accurate position tracking during parsing. ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
36+
* **scripts:** added xsd parsing and usage for the variable definition detection ([04ea834](https://github.com/archenovalis/X4CodeComplete/commit/04ea8347ebcf678ac908c851a9b668bf472c0fdb))
37+
* **scripts:** another turn of enrichment methods for improved element handling. TODO: to find a way to define rights parents for standard actions under conditions, init, and actions (outside attention) ([edd27b9](https://github.com/archenovalis/X4CodeComplete/commit/edd27b90e6de8c3e9374a496ea7deeda2690dd87))
38+
* **scripts:** apply approach from group enrichment of complex type by complex type enrichment ([59364cd](https://github.com/archenovalis/X4CodeComplete/commit/59364cdf0788772fa66bc3269918e9b8db13aa47))
39+
* **scripts:** clear some garbage ([8c020a8](https://github.com/archenovalis/X4CodeComplete/commit/8c020a865e1e296731a386423c7121663e0a6531))
40+
* **scripts:** enhance completion item provider to utilize parentName for attribute context ([0dd9bbc](https://github.com/archenovalis/X4CodeComplete/commit/0dd9bbc0831e0777e1e3a6c2eaf26139023f5a8a))
41+
* **scripts:** enhance getAllPossibleAttributes to include parentName filtering ([b590f46](https://github.com/archenovalis/X4CodeComplete/commit/b590f4619a141903005da8e81304879230867e43))
42+
* **scripts:** enhance nested element definition search with parent context ([c106328](https://github.com/archenovalis/X4CodeComplete/commit/c10632871717f510d6af6e7ec610e38bf348dbef))
43+
* **scripts:** enhance Schema class with group reference handling and XPath improvements ([1f675e0](https://github.com/archenovalis/X4CodeComplete/commit/1f675e0d6ca323b3faa3f7deed45d1617e630057))
44+
* **scripts:** enhance Schema class with pre-caching and enrichment methods for improved element and group handling ([fd6c618](https://github.com/archenovalis/X4CodeComplete/commit/fd6c6185103ba88220f97508a3fde78f1f1b0ac5))
45+
* **scripts:** enhanced the `isInElementStartTag` method to improve element detection logic. ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
46+
* **scripts:** finally implemented processing multiple variation of element attributes combinations ([e45f808](https://github.com/archenovalis/X4CodeComplete/commit/e45f8085284fcaf4929c4b0e9e312237556665bb))
47+
* **scripts:** group content instead references in groups is rewritten ([1f675e0](https://github.com/archenovalis/X4CodeComplete/commit/1f675e0d6ca323b3faa3f7deed45d1617e630057))
48+
* **scripts:** improve completion working inside the attribute value range ([04ea834](https://github.com/archenovalis/X4CodeComplete/commit/04ea8347ebcf678ac908c851a9b668bf472c0fdb))
49+
* **scripts:** introduced a new function `patchUnclosedTags` to automatically close unclosed XML tags during parsing. ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
50+
* **scripts:** modified the `getElements` method to return elements based on their range, ensuring the correct element is identified. ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
51+
* **scripts:** optimize schema loading by caching included schemas ([96cabd6](https://github.com/archenovalis/X4CodeComplete/commit/96cabd63f7f2cbc530af444306c956d0ee875864))
52+
* **scripts:** refactor getting possible attribute values to be comply with multiple element attributes sets definition ([2e346bb](https://github.com/archenovalis/X4CodeComplete/commit/2e346bb6ea1125f3a9d7d734a566ec1f9f8f3fb2))
53+
* **scripts:** streamline schema processing by reorganizing group and type application logic ([6c0dd98](https://github.com/archenovalis/X4CodeComplete/commit/6c0dd987bb8fd796d7d65ddd14dc4ae09fcc6048))
54+
* **scripts:** update caching logic in Schema class for improved type and element handling ([7056599](https://github.com/archenovalis/X4CodeComplete/commit/7056599aa7ffe10bd2d2c8fb0077ed32bf4dba30))
55+
* **scripts:** update element and attribute handling to support multiple definitions ([b3507f7](https://github.com/archenovalis/X4CodeComplete/commit/b3507f70e0a1522716d6c97fa4e94aa598114885))
56+
* **scripts:** update element structure to use parentId and parentName for better clarity ([2e346bb](https://github.com/archenovalis/X4CodeComplete/commit/2e346bb6ea1125f3a9d7d734a566ec1f9f8f3fb2))
57+
* **scripts:** updated the `XmlStructureTracker` class to utilize the new patching function, ensuring more robust XML handling. ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
58+
* **scripts:** use manual xPath to avoid cycling in xsd structures searches ([0dd9bbc](https://github.com/archenovalis/X4CodeComplete/commit/0dd9bbc0831e0777e1e3a6c2eaf26139023f5a8a))
59+
* **scripts:** XML parsing and enhance error handling ([6ac8666](https://github.com/archenovalis/X4CodeComplete/commit/6ac86666268f1a6809460ebcf039b51c2ac82c9c))
60+
* **trackScriptDocument:** restore functionality after switching to the xsd_lookup related to lvalue ([8c020a8](https://github.com/archenovalis/X4CodeComplete/commit/8c020a865e1e296731a386423c7121663e0a6531))
61+
* **trackScriptDocument:** streamline label and action handling logic ([68d7696](https://github.com/archenovalis/X4CodeComplete/commit/68d769671378306eb6a52b7d90329da5ca90b0cf))
62+
* update xsd-lookup package to version 1.2.1 and enhance attribute names and possible values handling in completion logic ([8695a76](https://github.com/archenovalis/X4CodeComplete/commit/8695a76145a90f1cd612fc6cccecc6cc37b9c4ec))
63+
* update xsd-lookup package to version 1.2.4 and adjust dependencies ([ea0cb7d](https://github.com/archenovalis/X4CodeComplete/commit/ea0cb7d7890842c85191aad31c741ab46c9a7418))
64+
* update xsd-lookup package to version 1.3.0 ([6ce4d4e](https://github.com/archenovalis/X4CodeComplete/commit/6ce4d4e9837d91f79f7f659ed1f8e0b030b9e3a0))
65+
* **validation:** initial realization of diagnostic for xml elements ([20b2c40](https://github.com/archenovalis/X4CodeComplete/commit/20b2c40ed845cd29c4ea023590676ab5523aa032))
66+
* **xml:** optimize XML structure tracking with improved parsing logic and document change detection ([28f764a](https://github.com/archenovalis/X4CodeComplete/commit/28f764a004e9f07f66b7ed23f3b2d6c4b5e0abe6))
67+
* **xmlStructureTracker:** unify the parsed element store in WeakMap attribute ([aff0d2b](https://github.com/archenovalis/X4CodeComplete/commit/aff0d2bec7c9994f063f2a3c6a6d9979a2cc36d0))
68+
69+
70+
### Miscellaneous Chores
71+
72+
* migrate out deprecated vscode package ([0b187c8](https://github.com/archenovalis/X4CodeComplete/commit/0b187c85e9d239c047c8f9a33f271b69a58b150c))
73+
* **scripts:** update dependencies ([3b1b306](https://github.com/archenovalis/X4CodeComplete/commit/3b1b3063dc18dc1c7b125935f0f8bace8010667e))
74+
575
## [1.5.4](https://github.com/archenovalis/X4CodeComplete/compare/X4CodeComplete@v1.5.3...X4CodeComplete@v1.5.4) (2025-06-18)
676

777

extensions/scripts/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "x4codecomplete",
33
"displayName": "X4CodeComplete",
44
"description": "There is an unofficial X4: Foundations extension for Visual Studio Code that provides autocompletion and syntax highlighting for XML files used in the game modding.",
5-
"version": "1.5.4",
5+
"version": "1.6.0",
66
"icon": "icons/X4CodeComplete128.png",
77
"repository": {
88
"type": "git",

0 commit comments

Comments
 (0)