| Summary: | Kate can not use the -x switch of Shellcheck | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Ganton <kubry> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | christoph |
| Priority: | NOR | ||
| Version First Reported In: | 21.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Ganton
2022-04-08 12:58:27 UTC
For example: a form could be added to choose Shellcheck arguments, or in the "shellcheck.cpp" file (https://invent.kde.org/utilities/kate/-/blob/master/addons/project/tools/shellcheck.cpp can be seen) the line _args << QStringLiteral("--format=gcc"); could be replaced by _args << QStringLiteral("-x") << QStringLiteral("--format=gcc"); and enjoy the "-x" features. Other ways can be thought about. And thanks for Kate! Hmm, the docs of shellcheck tell me you can just enable that in the default shellcheck config file globally: This option may also be enabled using external-sources=true in .shellcheckrc. This flag takes precedence. Hi, I think it would make more sense if you just alter the default in .shellcheckrc |