Skip to content

Control tabs and spaces, including width, in text editors #6477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevemessick opened this issue Nov 2, 2012 · 8 comments
Closed

Control tabs and spaces, including width, in text editors #6477

stevemessick opened this issue Nov 2, 2012 · 8 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report type-enhancement A request for a change that isn't a bug
Milestone

Comments

@stevemessick
Copy link
Contributor

No apparent way to change tab from tabs to spaces, or control 4 or 2.

For example, I'm editing an XML file "as text", highlighted code and hit tab. Looks like an actual tab was inserted.

I'd like to control tabs/spaces for text files (until we have formal XML file editing)

Thanks!

-- sethladd@
////////////////////////////////////////////////////////////////////////////////////
Editor: 0.2.1_r14167 (2012-10-28)
OS: Mac OS X - x86_64 (10.8.2)
JVM: 1.6.0_37

SDK installed: true
Dartium installed: true

@stevemessick
Copy link
Contributor Author

Sorry about that Seth. We've fixed the xml editor indenting twice. It may be that your case is actually new. I'm not sure replace-edit follows the same path as insert-edit.

@sethladd
Copy link
Contributor

sethladd commented Nov 2, 2012

No worries Steve, glad we recorded the bug. Let me know if you need me to repro something or be more specific. Happy to help.

@devoncarew
Copy link
Member

@seth, we do have an xml editor, and it does handle tabs the way you're expecting. When you use the open as text command, that opens the file in a vanilla text editor (org.eclipse.ui.editors.text.TextEditor), which has no special tab handling.

I'm marking this as resolved, but please re-open if the xml editor isn't working as you'd expect.


Added AsDesigned label.

@sethladd
Copy link
Contributor

sethladd commented Nov 9, 2012

Sorry, I think my subject was too specific. I'd love a way to control tabs and spaces in any and all text files.


Removed this from the M2 milestone.
Removed Type-Defect label.
Added Type-Enhancement label.
Changed the title to: "Control tabs and spaces, including width, in text editors".

@sethladd
Copy link
Contributor

sethladd commented Nov 9, 2012

Added Triaged label.

@clayberg
Copy link

Added this to the M3 milestone.

@danrubel
Copy link

Removed this from the M3 milestone.
Added this to the Later milestone.

@clayberg
Copy link

Removed this from the Later milestone.
Added this to the M4 milestone.
Added Duplicate label.
Marked as being merged into #534.

@stevemessick stevemessick added Type-Enhancement closed-duplicate Closed in favor of an existing report labels Mar 15, 2013
@stevemessick stevemessick added this to the M4 milestone Mar 15, 2013
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

6 participants