| Summary: | [typing] Spaces Only mode: wrap string automatically inserts tabs instead of spaces | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Niko Paltzer <nikop> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, dmitry.gusev, lcf |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | stalebug | ||
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. I just tested this with build 20191212-1212 and can confirm that the bug has been fixed. |
Build Identifier: 20110204-0611 The wrap automatically feature ignores the setttings of the formatter and there is no possibility to configure this feature to insert spaces instead of tabs. Reproducible: Always Steps to Reproduce: In Window -> Preferences -> Java -> Editor -> Typing: The box "in String literals/wrap automatically" is checked. In Window -> Preferences -> Java -> Code Style -> Formatter -> Edit ... -> Indentation -> General Settings/Tab policy: "Spaces only" is selected and saved. File -> New -> Class: Name = "TestClass" Fill the Class: public class TestClass { String test = ""; } Place the cursor between "". Press Enter. Two tabs are insertet before the "" in the new line.