Camelcade / Perl5-IDEA

Perl5 plugins for IntelliJ IDEA
https://plugins.jetbrains.com/plugin/7796-perl/
Other
407 stars 75 forks source link

Add psgi extension support #2420

Open hurricup opened 3 years ago

rwp0 commented 5 months ago

Looking forward to this.

Plack has many example PSGI files included in the distribution:

hurricup commented 5 months ago

I need more specific requests on this. What exactly plugin is expected to help with

rwp0 commented 5 months ago

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:

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).

rwp0 commented 4 months ago

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.

hurricup commented 4 months ago

Do you have an editorconfig by any chance?

rwp0 commented 4 months ago

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.