Repository navigation
v3.0.3
·
386 commits
to master
since this release
Release Notes
- 修复与内联脚本参数的参数值的规则推断逻辑相关的一个回归BUG / Fix a regression bug related to the config inference logic for parameter values of inline script parameters (#412)
- 修复要匹配的表达式带参数时,可能无法正确地匹配常量字符串的问题(例如
triggered_$PARAM$_modifierVStriggered_ship_modifier) / Fix the issue where parameterized expressions may not correctly match constant strings (e.g.,triggered_$PARAM$_modifierVStriggered_ship_modifier) - 修复要匹配的表达式带参数时,无法正确地匹配键为常量的别名规则的问题(例如
remove_$SCOPE_TYPE$_flagVSalias[effect:remove_ship_flag] = value[ship_flag]) / Fix the issue where parameterized expressions cannot correctly match alias configs whose keys are constants (e.g.,remove_$SCOPE_TYPE$_flagVSalias[effect:remove_ship_flag] = value[ship_flag]) - 仅在需要进一步匹配时,才会内联(并匹配)别名规则,从而优化性能 / Alias configs are inlined (and matched) only when further matching is required, thereby optimizing performance
- 修复来自语言注入的代码高亮可能错误地被直接的代码高亮覆盖的问题 / Fix the issue where code highlighting from language injection may be incorrectly overridden by direct code highlighting
- 修复某些来自
MissingExpressionInspection的误报 / Fix some false positives fromMissingExpressionInspection - 修复某些来自
TooManyExpressionInspection的误报 / Fix some false positives fromTooManyExpressionInspection - 从脚本成员评估作用域上下文时,跳过表达式(通常是属性键)带参数的情况 / When evaluating the scope context from script members, skip cases where expressions (usually property keys) are parameterized
- 优化表达式带参数时,并集规则(unionConfig)和别名规则(aliasConfig)的匹配与展开的逻辑,从而避免意外的 OOM / Optimize the matching and expansion logic for union configs and alias configs when expressions are parameterized, avoiding unexpected OOM
- 匹配数据类型
Parameter($parameter)时,要求必须形如标识符,并且不允许带参数 / When matching the data typeParameter($parameter), it is required to be in the form of an identifier and is not allowed to be parameterized - 将数据类型
CwtDataTypes.Template移出模式感知的数据类型,不再适用于模式匹配(例如,匹配扩展规则的名字时) / Move the data typeCwtDataTypes.Templateout of pattern-aware data types; it is no longer applicable to pattern matching (for example, when matching the names of extension configs). - 将数据表达式
wildcard_scalar改为$literal(匹配任意作为字面量的表达式) / Change data expressionwildcard_scalarto$literal(matches any literal expressions) - 其他优化与BUG修复 / Other optimizations and bug fixes