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

.bat & .exe Syntax Highlighting Error #46

Closed
thomasrayner opened this issue Apr 18, 2017 · 2 comments
Closed

.bat & .exe Syntax Highlighting Error #46

thomasrayner opened this issue Apr 18, 2017 · 2 comments
Assignees
Labels
Projects
Milestone

Comments

@thomasrayner
Copy link

There's syntax highlighting to indicate commands which makes things like something.bat and ipconfig.exe the same color as PowerShell cmdlets like import-module. The highlighting for .bat and .exe files doesn't properly detect when .bat or .exe is part of a longer word.

Code to reproduce

ipconfig.exe
Import-Module AzureRM.Backup
Import-Module AzureRm.Batch 
Import-Module AzureRm.Exefake
Import-Module AzureRM.Cdn

Result of code

Using Monokai Dimmed theme for emphasis.
image
Lines 4 and 5 have incorrect syntax highlighting.

Diagnostic info

ms-vscode.PowerShell@0.11.0
ms-vsts.team@1.115.0
msazurermtools.azurerm-vscode-tools@0.3.4
yanz.markdown-authoring@0.1.5

code -v
1.11.2
6eaebe3b9c70406d67c97779468c324a7a95db0e

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
@MovGP0
Copy link

MovGP0 commented Apr 24, 2017

this can be reproduced on GitHub too:

ipconfig.exe
Import-Module AzureRM.Backup
Import-Module AzureRm.Batch 
Import-Module AzureRm.Exefake
Import-Module AzureRM.Cdn

Seems to be the related to #39

@gravejester gravejester added this to the v2 milestone Sep 4, 2017
@gravejester gravejester added this to Bugs in v2 Sep 4, 2017
@gravejester gravejester self-assigned this Sep 4, 2017
@omniomi
Copy link
Contributor

omniomi commented May 21, 2018

As of the most recent commit this is fixed:

fixed3

@omniomi omniomi closed this as completed May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
v2
Bugs - Open
Development

No branches or pull requests

4 participants