Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » RCP Testing Tool » Setting spaces instead of tabs for RCPTT editor
Setting spaces instead of tabs for RCPTT editor [message #1707361] Fri, 04 September 2015 05:05 Go to next message
Karl Anthony Ng is currently offline Karl Anthony NgFriend
Messages: 5
Registered: September 2012
Junior Member
I can't seem to find any other option about this aside from General --> Editors --> Text Editors -> Insert spaces for tabs. I already set this and when I highlight a piece of code and do a tab or CTRL+F, tabs are still used instead of spaces.

Is this a missing feature? Will it be always tab instead of spaces in the RCPTT editor?
Re: Setting spaces instead of tabs for RCPTT editor [message #1710988 is a reply to message #1707361] Mon, 12 October 2015 07:45 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Karl,

Does this option works well for you in simple Java Editor?
Because I can't make it work. Could you please give some steps to reproduce?

Kind regards,
Ulyana.
Re: Setting spaces instead of tabs for RCPTT editor [message #1711004 is a reply to message #1710988] Mon, 12 October 2015 09:36 Go to previous messageGo to next message
Karl Anthony Ng is currently offline Karl Anthony NgFriend
Messages: 5
Registered: September 2012
Junior Member
Ulyana Skorokhodova wrote on Mon, 12 October 2015 03:45
Hi Karl,

Does this option works well for you in simple Java Editor?
Because I can't make it work. Could you please give some steps to reproduce?

Kind regards,
Ulyana.


I don't quite get what you mean? Are you saying if I can set spaces instead of tabs for a Java Editor?

Regarding reproducing the steps, the steps are.
1. Type your code, do your own formatting by maybe indenting using spaces.
2. Do a CTRL+F, all the indentation that were previously spaces are now tabs.
Re: Setting spaces instead of tabs for RCPTT editor [message #1711013 is a reply to message #1711004] Mon, 12 October 2015 11:02 Go to previous messageGo to next message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Karl,

I've just re-checked this in RCPTT editor and that's how it is working for me now:

1) When the option "Insert spaces for tabs" in enabled, 4 spaces are inserted when you press Tab button;
2) When the option is disabled tab is inserted when you press Tab button.

After the formatting all 4-spaces are replaced with tabs.
Does it work the same on your side?

Kind regards,
Ulyana.
Re: Setting spaces instead of tabs for RCPTT editor [message #1715366 is a reply to message #1711013] Mon, 23 November 2015 03:24 Go to previous message
Ulyana Skorokhodova is currently offline Ulyana SkorokhodovaFriend
Messages: 280
Registered: July 2014
Senior Member
Hi Karl,

Any update on this?

Kind regards,
Ulyana.
Previous Topic:Can't install RCPTT into eclipse 4.0
Next Topic:Problem with MouseClick into Table
Goto Forum:
  


Current Time: Thu Apr 25 13:51:41 GMT 2024

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

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

Back to the top