issues
search
kcl-lang
/
intellij-kcl
IntelliJ IDEA KCL Extension
https://kcl-lang.io
11
stars
11
forks
source link
fix kcl fmt action
#33
Closed
He1pa
closed
4 months ago
He1pa
commented
4 months ago
1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
[ ] N
[x] Y fix #32
2. What is the scope of this PR (e.g. component or file name):
override deprecated api
getActionUpdateThread
update kcl fmt comman
kcl kcl-fmt
->
kcl fmt
use
EnvironmentUtil.getValue
to get environment variable. ref:
https://stackoverflow.com/questions/26320583/system-getenv-only-works-properly-when-debugging-intellij-plugin
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):
[x] N
[ ] Y
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:
[ ] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[x] Manual test (add detailed scripts or steps below)
[ ] Other
1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):
2. What is the scope of this PR (e.g. component or file name):
getActionUpdateThread
kcl kcl-fmt
->kcl fmt
EnvironmentUtil.getValue
to get environment variable. ref: https://stackoverflow.com/questions/26320583/system-getenv-only-works-properly-when-debugging-intellij-plugin3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):
4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):
5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links: