Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-7986

Add "Expand Selection To" to Aptana Javascript Editor and ultimately all editors.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.4.2
    • Fix Version/s: None
    • Component/s: Editor
    • Labels:
      None

      Description

      JSDT and JDT allow for a very convenient selection mechanism called expanding selection. While editing a Java file this is available under the Edit > Expand Selection To menu. Sublime Text 2 also has an expand selection mechanism that works nearly identically.

      In a quick summary it can start with selecting the word your cursor is on, then another up leads to statement, then another up goes to block, or function, then another up is parent block or function. For functions its smart enough to do block, then params, and then entire function definition. Needless to say this is extremely powerful for moving and understanding code - especially when outlines dont show the full story.

      The goal would be for all reasonable editors to have this feature. JavaScript should be an initial implementation since its nice and bracey, but ultimately any editor would benefit from it. Frankly this is the only reason I even would consider downgrading to JSDT again. Its extremely helpful in diagnosing syntax errors, or bracing errors, or refactoring large blocks such as in Ext js development.

      Without it, I'm left to little recourse except install some other overlay editor like Vrapper (please help me escape vim) or downgrading to JSDT or using another editor entirely.

      Aptana has come a long way since I used it off and on a long time ago, keep up the great work!

        Attachments

          Activity

            People

            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              Reporter:
              functionform IL
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Integration