Summary: | KDevelop always inserts spaces for indentation regardless of settings | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Chris Clearwater <chris> |
Component: | All editors | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | reavertm, saziel, sgh |
Priority: | VHI | ||
Version: | git master | ||
Target Milestone: | 4.2.3 | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Chris Clearwater
2012-01-22 05:30:25 UTC
irc discussion shows it's somehow related to our sourceformatter. i.e. he's the correct kate settings and it works as wanted in e.g. .txt files in kdevelop. but in c++ files somehow not :-/ I can confirm this now happens to me as well after pulling from git master. It happened once a few months back and I was able to fix it by unticking "Override Kate Indentation Mode" in Source Formatter settings, but this no longer has any effect. As a workaround, you can create your own formatter style that uses tabs for indentation, but I'd still like to see this fixed. This is a regression and breaks people's code formatting, so needs to be fixed before the release. Also setting confirmed now, there's been 3 more people in IRC in the last day complaining about this in beta2. Git commit 3c196e69a92b648e6fe0822bba7f62f6e16a0bd6 by David nolden. Committed on 16/02/2012 at 00:01. Pushed by zwabel into branch '1.3'. Consistenty set the default-value of the "override kate indentation" config to false M +2 -2 shell/sourceformattercontroller.cpp http://commits.kde.org/kdevplatform/3c196e69a92b648e6fe0822bba7f62f6e16a0bd6 Well, now it forces tabs regardless the settings :P kdvelop-4.6.0 Fedora 20 packages. (In reply to comment #5) > Well, now it forces tabs regardless the settings :P > kdvelop-4.6.0 Fedora 20 packages. And after restarting kdevelop, seems to be ok again. Strange things happening. |