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

Consider preventing the emission of empty properties in the JS index

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.8
    • Fix Version/s: None
    • Component/s: Indexing, JS
    • Labels:

      Description

      Currently, for methods, we emit the following empty items:

      ...
      "since": [],
      "examples": [],
      "exceptions": [],
      "references": []
      ...
      

      In order to further reduce the size of the index, these should never be generated. The current deserializer will handle removal of these items just fine. However, we will have to update all model elements to perform a isEmpty (or equivalent) test to prevent output of that property.

      Looking at closure-library, this would save us about 2MB of file size for the Index

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                klindsey Kevin Lindsey
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Integration