turn smart indent on by default

This commit is contained in:
Ekaterina Tuzova
2016-01-13 16:52:25 +03:00
parent 40736a35d3
commit c103d01d06
@@ -76,6 +76,11 @@ public class PyCharmInitialConfigurator {
propertiesComponent.setValue("PyCharm.InitialConfiguration.V5", true);
CodeInsightSettings.getInstance().REFORMAT_ON_PASTE = CodeInsightSettings.NO_REFORMAT;
}
if (!propertiesComponent.getBoolean("PyCharm.InitialConfiguration.V6")) {
propertiesComponent.setValue("PyCharm.InitialConfiguration.V6", true);
CodeInsightSettings.getInstance().INDENT_TO_CARET_ON_PASTE = true;
}
if (!propertiesComponent.isValueSet(DISPLAYED_PROPERTY)) {
bus.connect().subscribe(AppLifecycleListener.TOPIC, new AppLifecycleListener.Adapter() {
@Override