Skip to content
Commit d70b174a authored by Igor Kushnir's avatar Igor Kushnir
Browse files

Disable Reformat actions when no formatting style is configured

This can happen in a new session when source formatters are not yet
configured, or when the user installs kdev-python but does not configure
the source formatter for Python language.

In this case the actions are useless and best disabled: when the style
name is empty, triggering Reformat (Source|Line) action does not modify
the code, and the following warning appears in KDevelop's output:
kdevelop.plugins.customscript: Empty contents for style "" for indent plugin
parent 411b415a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment