Comments (2)
Until latest plugin version 1.0.6, for script parameter value (including inline script parameter value), advanced language features (e.g. code completion, code highlighting) can be provided, if and only it's used as a entire script expression ($PARAM$
, not PREFIX_$PARAM$
) and the CWT configs of this script expression can be inferred, with no conflictions.
You may check this feature by open one of the script files under common/traits
.
For other conditions, like:
PREFIX_$PARAM$
- may provider support in the future.PARAM = "k=v k1=v1"
- may provide support in the future. For it's CWT configs cannot be inferred (it's a script snippet rather than a script expression (snippet)), the implemention could be somehow tricky...maybe can be implemented byLanguage Injection
? Humm...
PS: Please try not to use such a tricky syntax...
from paradox-language-support.
Implemented for parameters as (quoted) full property values and values by Language Injection.
from paradox-language-support.
Related Issues (20)
- 无法解析使用了scripted_variables的参数预设值 HOT 1
- Event Files for CK3 are broken, syntax is not understood
- Plugin is breaking and throwing exceptions HOT 10
- Inference for inline_script parameters from usages HOT 47
- Supports inline script usage in multiline parameter values HOT 1
- Support for Database Concepts HOT 1
- Update Pls.OpenInSteamWebsite action text overrides for 2024.1 HOT 2
- Parameters that are used only as conditionals in scripted effects/triggers do not show up in quick doc HOT 1
- Intellij freezes while editing inline scripts HOT 1
- Issue with escaped characters inside multi line strings HOT 4
- 钢四国家新建国家颜色未知
- Deadlock during script localization idexing HOT 2
- 钢铁雄心4 Expression几乎不可读
- Parameters of inlines show as unused if they cannot be inferred correctly even if declared in cwt config. HOT 7
- Single quotes strings seem to not be accepted by the plugin as valid, while the game does not mind them HOT 5
- Parameters in cwt configs do not get auto completed if they cannot be inferred or are not present in the inline/scripted_effect etc HOT 6
- `no` should be a valid value for an optional parameter in scripted effects, values and triggers. HOT 1
- Allow, through cwt configs, to somehow make an inline parameter inherit the context/config of its parent/inline, specifically useful for code blocks.
- Allow specifying a trigger/effect blocks scope somehow through cwt configs if it cannot be inferred HOT 3
- Typing inline_script does not show autocomplete HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paradox-language-support.