MOOSE_LANGUAGE_SERVER vs --allow-unused #30
Closed
lcontinuum
started this conversation in
General
Replies: 1 comment 1 reply
-
That's because we so not any shell expansions on that env variable (one could inject all kinds of nasty things that way). I can add a config option to pass in that parameter though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I would like to set the command line option "--allow-unused" as a default for the MOOSE executable that is used as the MOOSE_LANGUAGE_SERVER. I added in my ~/.bashrc
export MOOSE_LANGUAGE_SERVER="/path/to/my_moose_exec-opt --allow-unused "
and sourced it. But after starting vscode I get an error message
in the OUTPUT console. Without the additional option " --allow-unused" the environment variable MOOSE_LANGUAGE_SERVER works.
Background: While working on an input file I often have some unused variables and they show up as "PROBLEMS" is vscode. Somehow, I would like to suppress these "warnings". Maybe there could be an additional option in the MOOSE Language Support extension?
Any help appreciated
Beta Was this translation helpful? Give feedback.
All reactions