Perl5-IDEA
Perl5-IDEA copied to clipboard
Add psgi extension support
Looking forward to this.
Plack has many example PSGI files included in the distribution:
- https://github.com/plack/Plack/tree/master/eg/dot-psgi
I need more specific requests on this. What exactly plugin is expected to help with
First what I noticed is that the IDE doesn't apply the plugin's more Perl-specific syntax highlighting for files with this extension while doing so for the .pm, .pl, and .t files by default after installing the plugin.
I also saw a separate closed issue on it too suggesting to do that manually instead:
- https://github.com/Camelcade/Perl5-IDEA/issues/1790
Second, there are scripts, module, and tests, but not web app defined as a separate concept upon creating new Perl files.
Then there could be a UI to help running plackup with specific parameters like --port and --server from within the IDE (ie. plackup Perl utility integration).
One thing I noticed no matter how hard you try the Code Style settings are not applied to .psgi files.
For instance, tab is also 4 spaces, even if you set it to 4 and override file type explicitly for .psgi files to be of "Perl Script" format.
Do you have an editorconfig by any chance?
Do you have an editorconfig by any chance?
No, and I disabled editorconfig explicitly to rule that out 🙂
One thing to note is that I run the IDE remotely, so the plugin is installed in a remote Linux host.