Comments (9)
Not plan to support yet. Be more kind, and less foxy, plz.
from paradox-language-support.
Yup, no worry, do not expect them to be fixed this quickly, would love to help if possible myself hah! Just a big code base to look through if I were to make a PR/suggest improvements.
If anything, adding them mostly to be documented for whenever you want/have time to handle, and if you want to! :3
from paradox-language-support.
Are u similar with kotlin and Intellij platform?
from paradox-language-support.
If u are pleasure, you can try to complete and optimize these CWT configs for Stellaris (it should be very perfect now) and other Paradox Games. try checkout these CWT config repos of mine forked from cwtools'.
from paradox-language-support.
I am familiar with Kotlin, not so much with writing Intellij plugins x3 But when i will have some try will try the repo locally and see how the innards work and see if I could contribute to some minial amount at least, hah!
from paradox-language-support.
Is aaa[[bbb] ccc ]ddd
valid? (Notice the white space around ccc
)
Is "aaa[[bbb] ccc ]ddd"
valid? (Notice the double quote around)
If there is a script snippet foo = bar[[a]b ]ccc
, and assume that ]ccc
should be parsed to another string token, how should PLS handle the first bar[[a]b
? "']' expected" after b
?
from paradox-language-support.
I think the spaces are not valid as they would add spaces within the thing you want to insert the conditional text.
I think the metascript is basically evaluated at load time and does the substitutions with the parameters, whitespace included
I know that i use some tricks for inline scripts to disable some code by making some parameters # which basically transform the line into a comment for example. So my guess is that whitespace would be inserted if you have whitespace within the square brackets.
Can do a quick test tomorrow and report back.
from paradox-language-support.
from paradox-language-support.
Will be optimized in 1.1.11
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.