intellij-powershell icon indicating copy to clipboard operation
intellij-powershell copied to clipboard

Nested/Inner Class syntax not recognized

Open Zoubeyer opened this issue 4 years ago • 2 comments

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: image

Zoubeyer avatar Sep 03 '19 12:09 Zoubeyer

I got the same with: [Environment]::Exit(3)

<comment> or NLS expected, got Exit

trevrobwhite avatar May 27 '20 15:05 trevrobwhite

@trevrobwhite same here, using pycharm in my case, I also get an issue at the beginning of the line: Screen Shot 2020-10-05 at 10 36 58

gchamon avatar Oct 05 '20 13:10 gchamon