smastrom / sublime-prettierd-format

Sublime Text plugin to format files faster using prettierd
https://packagecontrol.io/packages/Prettierd%20Format
BSD Zero Clause License
8 stars 0 forks source link

point to prettierd path using setting? #2

Closed gregsadetsky closed 6 months ago

gregsadetsky commented 8 months ago

thanks for the extension! unfortunately it's not finding prettierd even though it's installed i.e. running prettierd in my terminal works, but in Sublime with your extension, I see "FileNotFoundError: [Errno 2] No such file or directory: 'prettierd'"

would it be possible to add a setting to point to the prettierd binary directly?

thanks!

gregsadetsky commented 6 months ago

thanks a lot!

smastrom commented 6 months ago

You're welcome @gregsadetsky! Sorry but the issue got closed once I pushed.

It should work without specifying the path as the plugin will now search for the executable via which. The new version should be available on PackageControl within one hour.

Have a good one!