EditorSyntax
EditorSyntax copied to clipboard
Syntax highlighting files for editors (VSCode, Atom, SublimeText, TextMate, etc) and GitHub!
### Issue Description #### build.ps1 - comment based help attempt to include an argument to the example statement, this causes PowerShell to invalidate the comment based help entirely. https://github.com/PowerShell/EditorSyntax/blob/cf27d6e54ff9fc593bfb46d22a671898fb31c0a9/build.ps1#L10 -...
When using the PowerShell Subexpression operator `$()` in the contents of a non-literal string `""`, the contents of the expression should revert to a non-string syntax highlighting. Currently, parts are...
For reference: [Powershell Docs: About Parsing](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_parsing?view=powershell-6) The current syntax does not take in to account PowerShell's parsing, argument mode vs expression mode. Lacking this is causing scoping of some operators...
### Environment - Editor and Version: VS Code: 1.31 Insiders / 1.30.1 - Your primary theme: Monokai Dimmed (modified) ### Issue Description In the following image and code, the `if`...
Issue on the break https://github.com/PowerShell/EditorSyntax/blob/master/PowerShellSyntax.tmLanguage#L259-L264  Detailed Reddit Thread https://www.reddit.com/r/PowerShell/comments/aavh8v/a_better_editor_for_powershell/
### Environment ```powershell > code-insiders.cmd -v 1.24.0-insider d29620f2ba89327f51bb6fb2f05dfdd65e2fcafe > $psEditor.EditorServicesVersion Major Minor Build Revision ----- ----- ----- -------- 1 7 0 0 > code-insiders.cmd --list-extensions --show-versions ... [email protected] ... >...
### Environment - Editor and Version (VS Code, Atom, Sublime (tried in all 3 problem has been there for a year if not more)): - Your primary theme: Monokai ###...
_From @stefanita-mitran on March 4, 2019 9:50_ EG. ``` .\procedure.ps1 ` -arg1 $variableforarg1 ` #this syntax highlighting should not resemble a comment -arg2 $variableforarg2 `
Would there be any interest in replacing the `build-grammar.js` script (in tools) with a purely PowerShell based solution? I have created a script/function/class that provides the equivalent of 'fast-plist' using...
The hashtable option on a `#requires` statement must all be on one line (as all `#requires` statements must be), due to the fundamentals of the single line comment that it...