Details :: Change indentation length?
This thread was displayed: 190 times
Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.
For more information about the affected products visit: www.interaktonline.com/Support/
Dobes Vandermeer
08-18-2006 20:41:52 GMT +2
|
My indentation preferences are set 3, but JSEclipse still uses 4 spaces (or a tab) for indentation.
|
|
|
Remus STRATULAT[InterAKT Online]
08-21-2006 10:54:30 GMT +2
|
Can you please be more specific? Please tell me where have you set up the tab dimension and if you have checked in JSEclipse preferences to use spaces instead of tabs.
|
|
|
Dobes Vandermeer
08-21-2006 12:04:41 GMT +2
|
I don't remember exactly and I'm trying a different javascript editor at the moment. It doesn't have the nifty completion features and so on, though, but I remember looking the JSeclipse settings and there was no indentation size preference.
Are you saying that you're able to make your JSeclipse use 3-space indentation ? Why not tell me how ?
|
|
|
Remus STRATULAT[InterAKT Online]
08-21-2006 12:34:39 GMT +2
|
To make JSEclipse use 3 space indentation you will have to set up in the preferences:
General/Editors/Text Editors/Displayed tab width : 3
JSEclipse/Replace tabs with spaces: checked
Setting the preferences this way it will make JSEclipse to enter 3 spaces each time you enter a tab. Old indentation will remain the same.
|
|
|
Andrey Morozov
08-28-2006 13:52:53 GMT +2
|
This proposed solution is not acceptable for me.
Changing tab display size in global text editor preferences affects not only JS files but also all text files opened in Eclipse.
When I open some file containing tab characters I want it to be displayed 8 columns per tab. But when I type my own code I wish it to be auto-indented by 2 spaces. These are two different things: tab display size and indent size. They must be set up independently.
|
|
|
Remus STRATULAT[InterAKT Online]
09-05-2006 10:45:12 GMT +2
|
Indeed, you are right. I will consider this for a future release.
|
|
|