Perl5-IDEA icon indicating copy to clipboard operation
Perl5-IDEA copied to clipboard

Style: Space after backslash (reference operator)

Open rwp0 opened this issue 2 years ago • 3 comments

To affect Reformat Code (Ctrl+Alt+L)

Space after backslash

And probably for other unary operators as well.

rwp0 avatar May 04 '22 10:05 rwp0

Could you please elaborate? Do you want this to be configurable?

hurricup avatar May 04 '22 11:05 hurricup

Yes, within Code Style, Perl5, Perl5-Specific settings:

Screenshot

rwp0 avatar May 04 '22 11:05 rwp0

The thing is spacing enhances readability, and many people choose Perl (over Bash for instance) for scripting because it lets us input whitespace everywhere without escapes and such.

rwp0 avatar May 04 '22 11:05 rwp0