Skip to content
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

match not working in when clause #177830

Closed
eleanorjboyd opened this issue Mar 21, 2023 · 2 comments
Closed

match not working in when clause #177830

eleanorjboyd opened this issue Mar 21, 2023 · 2 comments
Assignees

Comments

@eleanorjboyd
Copy link
Member

Testing #177738

Given

{
          "command": "ctxkey-extension.helloWorld3",
          "when": "!(editorLangId =~ /json/)"
        },

the expected behavior is to not see present 3 on a .py file but this still appeared.

Screenshot 2023-03-21 at 8 25 01 AM

@ulugbekna
Copy link
Contributor

Oh, I'm really sorry, the instruction should've said "it shows in anything that's NOT json - so this works as intended.

@ulugbekna ulugbekna closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2023
@eleanorjboyd
Copy link
Member Author

no worries!! Glad to hear it as it means I understood the when clause

@github-actions github-actions bot locked and limited conversation to collaborators May 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants