Camelcade / Perl5-IDEA

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

Perl::Tidy not available from Docker #2659

Closed scop closed 1 year ago

scop commented 1 year ago

When using a Docker setup of Perl per https://github.com/Camelcade/Perl5-IDEA/wiki/Docker-support, running tests etc Perl stuff appears to work just fine. But Tools -> Perl5 -> Reformat with Perl::Tidy is disabled, even though perltidy is installed in the container, and interpreter info has been refreshed in the IDE.

$ docker run --rm -it MY-PERL-IMAGE perltidy --version
This is perltidy, v20230309 

Copyright 2000-2022, Steve Hancock

Perltidy is free software and may be copied under the terms of the GNU
General Public License, which is included in the distribution files.

Complete documentation for perltidy can be found using 'man perltidy'
or on the internet at http://perltidy.sourceforge.net.
$ docker run --rm -it MY-PERL-IMAGE perl -e 'use Perl::Tidy'
# No error

(In case it happens to matter, the default command of the above mentioned image is just an usage message like CMD echo "Run this image with an explicit command" && exit 1, I'll test without that in a sec.)

scop commented 1 year ago

Nevermind, user error, sorry about the noise. Works fine.