-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display infobox when .cfg is missing #336
Conversation
3735696
to
4f3e81a
Compare
When running command "TLA+: Check model with TLC", if the .cfg file is missing, we don't get a warning or anything. This can be source of confusion. Removed the warn parameter as it was already defaulting to true. This will lead in more consistent behavior as well. Signed-off-by: Federico Ponzi <me@fponzi.me>
4f3e81a
to
2543913
Compare
Given a model |
I get the two popup boxes now on every editor save when editing auxiliary modules, i.e. not the root module. |
Do you have specific hooks on save? I tried and failed to reproduce it. Also, the code path seems to be triggered only from check, debug or evaluate expression commands; so I'm not sure how they are showing up on save. |
Can you also include the settings you've added? |
"tlaplus.smoke.prefix.path": "../.smoke/",
"tlaplus.smoke.prefix.name": "Smoke",
"[tlaplus]": {
"editor.codeActionsOnSave": {
"source": "explicit"
}
}, |
When running command "TLA+: Check model with TLC", if the .cfg file is missing, we don't get a warning or anything. This can be
source of confusion. Removed the warn parameter as it was already defaulting to true. This will lead in more consistent behavior as well.
Solves: #331
Ref: #335 and commit: 2092aeb
New behavior when running "TLA+: Check model with TLC":