Make command action scope robust #21
Labels
feature
New feature or request for enhancement
low-value
Solving this provides only a little value
medium-effort
4–8 hours of work
What: Fix the context
visual-scxml-editor.editorActive
to be active iff an editor is active, and switch commands that could be invoked from the text editor (likeAdd State
) to use this context.Why: Some commands make sense even if the visual editor is not active, but they cannot be invoked—and should not clutter the command palette—unless an SCXML text editor is active.
The text was updated successfully, but these errors were encountered: