Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Column Mode inter-line tab
Column Mode inter-line tab [message #1814617] Fri, 13 September 2019 21:02 Go to next message
Rick Hodgin is currently offline Rick HodginFriend
Messages: 25
Registered: September 2019
Junior Member
In column mode, if I have code like this (pipe sign | represents where the multi-line cursor is):

(A)
    public int|
    public int|
    public int|
    public int|


And I want to hit tab to continue input like this:

    public int        m_var;|
    public int        m_var;|
    public int        m_var;|
    public int        m_var;|


With the ultimate intention of creating this:

    public int        m_var1;
    public int        m_var2;
    public int        m_var3;
    public int        m_var4;


When I hit tab from (A) above, instead of tabbing over on the line, it moves like this (pressing tab twice, for example):

            public int|
            public int|
            public int|
            public int|


It moves the whole line over, rather than inserting tabs in the middle of the line.

I can't find a setting to change it, nor anything online. Is there some key combo to insert tabs there rather than shifting the whole line?
Re: Column Mode inter-line tab [message #1814778 is a reply to message #1814617] Tue, 17 September 2019 22:28 Go to previous message
Rick Hodgin is currently offline Rick HodginFriend
Messages: 25
Registered: September 2019
Junior Member
I found a workaround.

(1) Select a tab that's as tall as the column mode you're working with.
(2) Copy with Ctrl+C.
(3) Use Ctrl+V to paste it in for as many tabs as are needed.
Previous Topic:Eclipse not working on newest Linux distros
Next Topic:Couldn't retain the state of InternalPlatform while using stop() and start()
Goto Forum:
  


Current Time: Thu Apr 25 10:33:02 GMT 2024

Powered by FUDForum. Page generated in 0.03293 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top