https://bugs.kde.org/show_bug.cgi?id=444647

            Bug ID: 444647
           Summary: Editor inserting tabs instead of spaces
           Product: kdevelop
           Version: 5.6.2
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: All editors
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: aar...@doofus.org
  Target Milestone: ---

I have configured KDevelop to only use spaces rather than tabs and spaces for
indentation with an indentation of 4. Even with this setting, KDevelop
continues to insert tabs when I hit the tab key twice for indentation. It
should only use spaces to follow the coding standard of this project.


STEPS TO REPRODUCE
1. Go to Settings->Configure KDevelop
2. Select Editor->Editing
3. Set C style
4. Set Tab widthn to 8 characters, Indentation width to 4 characters then
indent using spaces only.
5. Start editing code and hit the tab key twice when it makes sense, a tab is
inserted instead of 8 spaces.

Also of note I have multiple KDevelop projects open in different sessions, many
of which use a different indentation. Most other projects use an Indentation
width of 88 and use Tabulators and Spaces.

OBSERVED RESULT
When indenting to 8 spaces a tab character is inserted

EXPECTED RESULT
8 space characters should be inserted

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to