- This topic has 8 replies, 4 voices, and was last updated 18 years, 10 months ago by nregina.
-
AuthorPosts
-
rschiesslMemberW2K,
Eclipse Version: 3.0.0 Build id: 200406251208
MyEclipse Version: 3.8.2 Build id: 200409171200-3.8.2
Eclipse not freshly installed,Plugins:
com.objfac.xmleditor_2.0.8
com.quantum.Quantum_2.4.2
com.quantum.torque_2.4.2
de.jayefem.log4e.help_0.7.3
de.jayefem.log4e_0.7.3
nl.okc.eclipse.soap.rawmessage_0.3.2
org.apache.ant_1.6.1
org.apache.lucene_1.3.0
org.apache.xerces_4.0.13
org.junit_3.8.1
org.vssplugin_1.6.0Java Version: 1.4.2_06
AppServer: Tomcat 5.0.19the Problem:
opening a javascript file,
our teamwide favorite displayed tab width is 2.
This is written to Preferences – MyEclipse – Editors – Common Editor PrefsDisplayed in the Editor is 4 spaces for one tab.
Changing the value in Preferences – MyEclipse – Editors – Common Editor Prefs to any other value -> apply -> then changing again to 2 -> apply – the it is displayed correctly with 2 spaces.opening the next javascript file -> there will be 4 spaces for one tab again.
Riyad KallaMemberIIRC tabs/spaces in the editors was a big bugfix that will be comming in 3.8.3 any day now, can you hang tight, upgrade when its released, and let us know if that fixed it?
rschiesslMemberok, i’ll look at it.
thanks for the reply !
GeoffMemberWhen I use the javascript editor to edit a .js file, the MyEclipse common settings of:
tabs for spaces
tab size 2do not work if I highlight the line(s) and then use the tab key. It works fine if you only want to do one line, but not for highlighted.
They work fine in the jsp editor inside the script tags.
Thanks,
Geoff
Riyad KallaMemberGeoff,
You mean to perform multi-line indents, it is not working?
GeoffMemberCorrect
Riyad KallaMemberI will file the issue, thank you.
GeoffMemberIt uses tabs instead of the spaces — also it shows a tab width of 4 even though I have it set for 2.
nreginaMemberI just came across this issue in the latest release of MyEclipse. Seems to affect only JS files. Single-line indenting works according to settings (2 spaces, convert to spaces). Multi-line indenting uses tab characters and displays them as 4 spaces wide. Has any progress been made on this issue?
Here’s my config summary:
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.4.2_07*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 4.0.3 GA
Build id: 20051025-4.0.3-GA*** Eclipse details:
Eclipse SDKVersion: 3.1.0
Build id: I20050627-1435Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
e98_58
-clean
-vm
C:\j2sdk1.4.2_07\bin\javaw.exeThanks for any assistance.
-
AuthorPosts