sysml-v2-lsp 0.35.0 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.37.0]
6
+
7
+ ### Fixed
8
+
9
+ - A quoted name in a feature value (`:>> referenceUnit = 'Ω'`) is no longer read as the feature's type and reported as `unresolved-type`.
10
+ - The standard-library index finds quoted short names (`<'Ω'>`, `<'A > B'>`) and quoted names with spaces (`'circular mil'`) by the name inside the quotes.
11
+ - Support Unicode unrestricted names throughout navigation, hover, references,
12
+ rename, completion, quick fixes, hierarchy, import links, selection and semantic validation.
13
+ Decode standard name escapes consistently, preserve qualified-name segments,
14
+ and use UTF-16 editor positions after astral characters in interactive, batch
15
+ and worker parsing. Rename operates on resolved name tokens across files and
16
+ leaves comments, strings, usage names and unrelated declarations unchanged (#120).
17
+
18
+ ## [0.36.0]
19
+
20
+ ### Fixed
21
+
22
+ - `incompatible-port-types` resolves each end of a `connect` through the features its path names (`a.p.q`), not by the port's name alone. Feature types and their supertypes are resolved in their declaring namespace, so unrelated same-named definitions cannot hide a real mismatch. When two parts each had a port of the same name, the first one declared stood in for both, causing false warnings or missed mismatches. An unresolved path still falls back to the name when only one port has it (#135).
23
+ - A colon, `:>`, `{` or keyword inside a quoted name is no longer read as part of a declaration: `package 'Structure: System Context'` was typed `System` and reported as `unresolved-type`, and `part def 'Unit: Main'` was typed `Main`. Type and specialization fallback extraction masks the declaration's lexer `STRING` tokens, without scanning documentation or nested members, avoiding quadratic regex backtracking on quote-heavy comments (#134).
24
+ - Visit each specialization ancestor only once when resolving inherited constraint features, preventing exponential queue growth through layered diamond inheritance (#127).
25
+ - Hide implicitly redefined requirement subjects according to the declaring requirement's specialization ancestors, including redundant direct bases in multiple inheritance, while preserving subjects from unrelated branches.
26
+ - Display decoded filesystem paths in workspace-folder logs and clarify that
27
+ element ID namespaces are used locally, without network access. Emit this
28
+ internal namespace information at debug level instead of info.
29
+
5
30
  ## [0.35.0]
6
31
 
7
32
  ### Added
package/README.md CHANGED
@@ -27,6 +27,19 @@ A [Language Server Protocol (LSP)](https://microsoft.github.io/language-server-p
27
27
 
28
28
  ## Quick Start
29
29
 
30
+ ### Unicode and unrestricted names
31
+
32
+ Use single quotes for names outside the ASCII basic-name syntax, for example
33
+ `attribute 'temperature Ω' : Real;`. Names may contain Unicode characters,
34
+ combining marks, spaces and escaped quotes or backslashes. Their spelling is
35
+ preserved without Unicode normalization (SysML 7.2.2; KerML 8.2.2.3).
36
+
37
+ Navigation, hover, references, rename and completions handle the whole quoted
38
+ name. Rename updates resolved workspace references, not comments, string literals,
39
+ usage names or unrelated same-named declarations. Completion and rename insert
40
+ the required quotes and escapes automatically; editor positions use UTF-16,
41
+ including after characters outside the Basic Multilingual Plane.
42
+
30
43
  ### Install from Marketplace
31
44
 
32
45
  Install via the VS Code extension from the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=JamieD.sysml-v2-support).