-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
language-supportIssues or PRs related to programming languages (also e.g. in styles, themes)Issues or PRs related to programming languages (also e.g. in styles, themes)
Description
Description of the Issue
The PowerShell lexer doesn't recognize some (new?) keywords.
- try
- catch
- throw
- finally
Steps to Reproduce the Issue
Example 1
try
{ Write-Host "try"
}
catch [ExceptionTyp]
{ Write-Host "catch"
}
catch
{ Write-Host "catch"
}
finally
{ Write-Host "finally"
}Example 2
if ($test)
{ throw "Error message"
}Expected Behavior
Show the listed keywords with highlighting
Actual Behavior
The mentioned keywords are not highlighted.
Debug Information
Notepad++ v7.5.9 (32-bit)
Build time : Oct 14 2018 - 15:02:52
Path : C:\Program Files (x86)\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : OFF
OS : Windows 10 (64-bit)
Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll ComparePlugin.dll MarkdownViewerPlusPlus.dll NPPJSONViewer-win32.dll nppplugin_solutionhub.dll nppplugin_solutionhub_ui.dll PluginManager.dll XMLTools.dll
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
language-supportIssues or PRs related to programming languages (also e.g. in styles, themes)Issues or PRs related to programming languages (also e.g. in styles, themes)