Bug 306303 - CDT new-project templates insert tabs even if prefs say to use spaces
Summary: CDT new-project templates insert tabs even if prefs say to use spaces
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 6.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 18:57 EDT by Mike Morearty CLA
Modified: 2020-09-04 15:19 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Morearty CLA 2010-03-17 18:57:34 EDT
Build Identifier: 20090920-1017

If set the CDT preferences to always use spaces, and then you create a new C/C++ project based on one of the project templates, the new project uses tabs.

Reproducible: Always

Steps to Reproduce:
1. Preferences, C/C++, Code Style; click "New...", and make a new profile
2. In the new profile, on the Indentation tab, set Tab policy to "Spaces only"
3. OK, OK
4. File > New, C++ project
5. When asked for Project Type, specify Hello World C++ Project
6. Edit the generated .cpp file

Actual result:
File uses tabs for indentation.

Expected result:
File should use spaces for indentation.