intellij-powershell
intellij-powershell copied to clipboard
Nested/Inner Class syntax not recognized
Maybe I'm miss something but it seems that the powershell code inspection does not recognizes the nested (inner) class syntax like:
$InfoCollorScheme = [log4net.Appender.ColoredConsoleAppender+LevelColors]::new()
I get this error
<command call expression>,<comment>,<expression> or NLS expected, got')'
But the code is running well.
Maybe it's the same for any other inner structures.
Print screen:
I got the same with:
[Environment]::Exit(3)
<comment> or NLS expected, got Exit
@trevrobwhite same here, using pycharm
in my case, I also get an issue at the beginning of the line: