Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Aptana Studio 3.0.3
    • Component/s: None
    • Labels:
      None

      Description

      {html}<div><p>Assigned to <a href=
      "http://aptanastudio.tenderapp.com/discussions/suggestions/48-html-outline-view">
      Tender issue #48</a>. As reported in Tender:</p>
      <blockquote>
      <p>I'm using Aptana Studio build: 1.5.1.026124<br></p>
      <p>For a PHP or HTML file the Outline view shows the heirarchy of
      elements with each element named as follows:<br></p>
      <p><em>tag</em> : <em>property1</em> | <em>property2</em> |
      ...<br></p>
      <p>The only properties that are shown in the outline seem to be
      <strong>id</strong> and <strong>src</strong>, in that order. Would
      you please consider adding the <strong>href</strong> and
      <strong>class</strong> properties to that list. The
      <strong>href</strong> property for the <strong>link</strong> &
      <strong>a</strong> elements is equivalent to the
      <strong>src</strong> property for the <strong>script</strong> &
      <strong>img</strong> elements. As for the <strong>class</strong>
      property, in my experience it often gives important semantic
      information that would be useful in an outline view.<br></p>
      <p>Even more ideally you could add the CSS <strong>#</strong> and
      <strong>.</strong> characters to show id & class and remove the
      <strong>:</strong> and <strong>|</strong> separators so the name
      would be:<br></p>
      <p><em>tag</em> <em>id</em>[.<em>class</em> ]...[<em>href</em>
      | <em>src</em>]<br></p>
      <p>e.g.<br>
      < > <strong>head</strong><br>
          < > <strong>link
      /modules/jotab/jotab.css</strong><br>
          < > <strong>script
      /modules/prototype/prototype.js</strong><br>
      < > <strong>body</strong><br>
          < > <strong>div
      #content</strong><br>
              <
      > <strong>div .section</strong><br>
              <
      > <strong>div .section</strong><br>
              <
      > <strong>div .section</strong></p>
      </blockquote></div>{html}

        Activity

        Hide
        mxia Michael Xia added a comment -

        Implemented for 3.0.3.

        Show
        mxia Michael Xia added a comment - Implemented for 3.0.3.
        Hide
        mxia Michael Xia added a comment -

        Steps to verify:

        1. Open the attached index.html in editor.
        2. Expand the tree in Outline view.
        3. Verify the texts for link and script nodes are what user described.

        Show
        mxia Michael Xia added a comment - Steps to verify: 1. Open the attached index.html in editor. 2. Expand the tree in Outline view. 3. Verify the texts for link and script nodes are what user described.
        Hide
        jwitt Joel Witt added a comment -

        Aptana Studio 3, build: 3.0.5.201109091556
        Ubuntu 10.10

        Verified the editor content :

        <html>
          <head>
            <title></title>
            <link href="/modules/jotab/jotab.css">
            <script src="/modules/prototype/prototype.js"></script>
          </head>
          <body>
            <div class="section" id="content">
            	<div class="section"></div>
            	<div class="section"></div>
            	<div class="section"></div>
            </div>
          </body>
        </html>

        evaluates to an outline of :

        <> html
          <> head
            <> title
            <> link/modules/jotab/jotab.css
            <> script/modules/prototype/prototype.js
          <> body
            <> div#content
              <> div.section
              <> div.section
              <> div.section

        without spaces as the end user requested. This was a developer decision.

        Show
        jwitt Joel Witt added a comment - Aptana Studio 3, build: 3.0.5.201109091556 Ubuntu 10.10 Verified the editor content : <html> <head> <title></title> <link href="/modules/jotab/jotab.css"> <script src="/modules/prototype/prototype.js"></script> </head> <body> <div class="section" id="content"> <div class="section"></div> <div class="section"></div> <div class="section"></div> </div> </body> </html> evaluates to an outline of : <> html <> head <> title <> link/modules/jotab/jotab.css <> script/modules/prototype/prototype.js <> body <> div#content <> div.section <> div.section <> div.section without spaces as the end user requested. This was a developer decision.

          People

          • Assignee:
            mxia Michael Xia
            Reporter:
            aptana1 Aptana
          • Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development

                Poker Sessions

                This issue is currently not assigned to any Poker Session.