facebook

JS Editor, Displayed Tab Width

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #220754 Reply

    rschiessl
    Member

    W2K,
    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.0

    Java Version: 1.4.2_06
    AppServer: Tomcat 5.0.19

    the Problem:

    opening a javascript file,
    our teamwide favorite displayed tab width is 2.
    This is written to Preferences – MyEclipse – Editors – Common Editor Prefs

    Displayed 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.

    #220785 Reply

    Riyad Kalla
    Member

    IIRC 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?

    #220795 Reply

    rschiessl
    Member

    ok, i’ll look at it.
    thanks for the reply !

    #241726 Reply

    Geoff
    Member

    When I use the javascript editor to edit a .js file, the MyEclipse common settings of:

    tabs for spaces
    tab size 2

    do 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

    #241732 Reply

    Riyad Kalla
    Member

    Geoff,
    You mean to perform multi-line indents, it is not working?

    #241735 Reply

    Geoff
    Member

    Correct

    #241736 Reply

    Riyad Kalla
    Member

    I will file the issue, thank you.

    #241737 Reply

    Geoff
    Member

    It uses tabs instead of the spaces — also it shows a tab width of 4 even though I have it set for 2.

    #244770 Reply

    nregina
    Member

    I 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 Workbench

    Version: 4.0.3 GA
    Build id: 20051025-4.0.3-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Platform

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse RCP

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Java Development Tools

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Plug-in Development Environment

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse Project SDK

    Version: 3.1.0
    Build id: I20050627-1435

    Eclipse 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.exe

    Thanks for any assistance.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: JS Editor, Displayed Tab Width

You must be logged in to post in the forum log in