Bug 389114 - Add an option to entirely disable KateAutoIndent
Summary: Add an option to entirely disable KateAutoIndent
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-17 15:07 UTC by Ramiro Polla
Modified: 2019-05-19 15:05 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramiro Polla 2018-01-17 15:07:15 UTC
I would like there to be an option that would entirely disable KateAutoIndent, for all documents, everywhere, all the time.

I know I can change the default indentation mode in kate, but that doesn't seem to be respected when a filetype specifies its own indentation mode.

Currently I am using a hacked build that clears and/or removes all of the following functions from src/utils/kateautoindent.cpp:
- KateAutoIndent::listModes
- KateAutoIndent::listIdentifiers
- KateAutoIndent::modeCount
- KateAutoIndent::modeName
- KateAutoIndent::modeDescription
- KateAutoIndent::modeRequiredStyle
- KateAutoIndent::modeNumber
- KateAutoIndent::scriptIndent
- KateAutoIndent::isStyleProvided
- KateAutoIndent::setMode
- KateAutoIndent::checkRequiredStyle
- KateAutoIndent::updateConfig
- KateAutoIndent::indent
- KateAutoIndent::userTypedChar
Comment 1 Christoph Cullmann 2019-05-19 15:05:43 UTC
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it.

The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs.

Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users.
If you want your feature to be implemented, please step up to provide some patch for it.

If you think it is really needed, you can reopen your request, but keep in mind,
if no new good arguments are made and no people get attracted to help out to implement it,
it will expire in a year again.

We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it.

Patches can be handed in via https://phabricator.kde.org/differential/

Greetings
Christoph Cullmann