score:1
i fixed it by going to..
window ⟶ preferences ⟶ c/c++ ⟶ code style ⟶ formatter
there you need to edit the currently set profile. click "edit..." (top right-ish). now go to indentation (already open) ⟶ general settings ⟶ tab policy and change this from "tabs only" to "spaces only".
if you still have the default profile, give your profile a new name.
why is this so weird and convoluted? i don't know.
Source: stackoverflow.com
Related Query
- How can I get Eclipse to insert tabs instead of spaces for Java content assist?
- How to get spaces instead of tabs in eclipse
- How do I change Eclipse to use spaces instead of tabs in Javascript editor?
- How to I edit the default "formatter profile" in eclipse neon? (wanting to use spaces instead of tabs for all code types)
- How do I change Eclipse to use spaces instead of tabs?
- How can I get eclipse to wrap lines after a period instead of before
- How to get rid of the warning: Use '$' instead of '.' for inner classes in Eclipse
- Eclipse multi-line indent uses tabs instead of spaces (pydev)
- Eclipse indents new line with tabs instead of spaces
- How to tell PHPEclipse to use spaces instead of tabs
- How to tell Eclipse not include project reference, instead get JAR for custom dependency in local repo
- how to get rid of that bar above the tabs in Eclipse
- Spaces instead of tabs in Eclipse (Galileo 3.52)?
- Eclipse RCP: how to get Show View menu instead of a dialog
- How do I get Eclipse to look in the build path for JSP includes instead of the web source?
- How to keep spaces from becoming tabs in Eclipse (w/ PyDev)
- How to get Eclipse to compile files from "test/src" instead of "src" directory when building (using built in builders)?
- Eclipse spaces instead of tabs for aligning variable names and values, how?
- How to get eclipse to use cocos console instead of build-android.py?
- How to fix issue when I import Android project to Eclipse I get package name instead project name?
- How can I get the ADT Banner to show on start up instead of the eclipse banner?
- How can I get Eclipse to show .* files?
- What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn't?
- How do I set ${user} in Eclipse to get the correct @author tag?
- shortcut : how to get eclipse to go to the ONLY implementation of an interface's method
- Eclipse IDE view gone - how to get it back
- How to load my app from Eclipse to my Android phone instead of AVD
- How can I get Eclipse to scroll past the bottom of the document?
- How do I get Eclipse to resolve classes generated with Maven 2?
- How to get shutdown hook to execute on a process launched from Eclipse
More Query from same tag
- How to Export RCP application through command line
- Can't install Eclipse With 1.8.0_221 and 64-bit java
- Adding an extension to Eclipse without an internet connection
- String .length() function is not defined
- Tell Eclipse to auto-complete only method name?
- intellisense disappeared in eclipse, how to get it back
- Simple and fast collision algorithm in java for non-axis aligned boxes
- Eclipse claims Commons-Codec methods don't exist
- difference between classpath and build path (in Eclipse)
- Installing CXF with Eclipse 3.5
- Failed to locate library: liblwjgl.so | Java in Eclipse
- How to make jar file with sbt with external java jar file
- Add JAR files to a project in Eclipse using Maven
- How to install OpenCV with minGW on an offline machine?
- Can I use Python in Eclipse to develop Google Cloud Data Flow jobs
- how do I access a header file from a different DKM in Wind River Workbench?
- How does Eclipse stay up to date with Java updates?
- Programmatically generate an Eclipse project
- How to copy projects into workspace of eclipse after importing the project?
- How to get Full Screen View in Eclipse Indigo
- How to write my Java program with the ACM library (ConsoleProgram)?
- How do I ignore scanning certain classes using EclEmma and Eclipse?
- Android Emulator always starts in landscape
- Eclipse Juno vs Eclipse Kepler
- Mule : How to share the same mule project between a JBoss AS and a CE runtime?
- Java Matrices - Transpose & Sum
- How do you debug a series of Aspect in eclipse?
- App Engine Modules with GWT
- not able to install Liferay with eclipse
- How to add a .o on a static library with Eclipse?