We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All directives are coloured except for @rendermode
I did the changes in my environment. It worked but I don't know if its the right way.
aspnetcorerazor.tmLanguage.yml
rendermode-directive: name: 'meta.directive' match: '(@)(rendermode)\s+([^$]+)?' captures: 1: { patterns: [ include: '#transition' ] } 2: { name: 'keyword.control.razor.directive.rendermode'} 3: { patterns: [ include: 'source.cs#type' ] } 4: { name: 'entity.name.variable.property.cs' }
aspnetcorerazor.tmLanguage.json
"rendermode-directive": { "name": "meta.directive", "match": "(@)(rendermode)\\s+([^$]+)?", "captures": { "1": { "patterns": [ { "include": "#transition" } ] }, "2": { "name": "keyword.control.razor.directive.rendermode" }, "3": { "patterns": [ { "include": "source.cs#type" } ] }, "4": { "name": "entity.name.variable.property.cs" } } }
The text was updated successfully, but these errors were encountered:
The request here is to support @rendermode in our TextMate grammar
@rendermode
Sorry, something went wrong.
jordi1215
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
All directives are coloured except for @rendermode
Describe the solution you would like
I did the changes in my environment. It worked but I don't know if its the right way.
aspnetcorerazor.tmLanguage.yml
aspnetcorerazor.tmLanguage.json
The text was updated successfully, but these errors were encountered: