Having trouble defining scopes from other ones with special characters
已回答
I am trying to define a scope based on another one, using the scope language syntax reference here : https://www.jetbrains.com/help/idea/scope-language-syntax-reference.html
In this page I see that other scopes must be refered to using a $, with this example : $Scope1||$Scope2.
However this doesn't work when the name of the scope contains a special character like a space or a hyphen.
How can I refer to scope named "My Scope" for example, or "My-Scope" ? Any space or hyphen will give an error (unexpected character). Surrounding the name with " ", ' ', ( ), { } or [ ] also make them unexpected characters.
If my scopes shouldn't contain such characters, then how should I refer to default scopes like "Project Source Files" ?
请先登录再写评论。
Hello!
Feel free to comment or upvote https://youtrack.jetbrains.com/issue/IDEA-207042. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.