https://bugs.kde.org/show_bug.cgi?id=494235

--- Comment #2 from Numan Demirdöğen <if.gnu.li...@gmail.com> ---
(In reply to Waqar Ahmed from comment #1)
> Can't say what the issue is after reading the report. The plugin needs
> prettier to be installed either globally or locally in the repo you are
> working.
> 
> In the next release, I have reduced the error noise so that the error will
> only be reported once.

I am sorry that I didn't clearly explain myself. I think it would be much more
user friendly if Kate displayed a warning or information about how to use the
plugin when enabling it or when hovering over the plugin name. I mean, as an
end user, I didn't know that I needed to install additional software to use
this. I don't want you to reduce the "error noise". It is not a noise in my
opinion. It is a bit cryptic. The first time I saw the warning, I thought that
why would I need npm? Instead of printing

    /bin/sh: 1: npm: not found

something like this might be a better warning:

    This plugin need prettier which can be installd by npm.

Thank you for answering and for your very fast response!

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to