Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-2797

Offer content assist on TSS keys - classes and IDs

    Details

      Description

      We need to offer up content assist for the keys of the JSON-like objects in TSS files. This ticket specifically addresses offerring up the list of classes and IDs found in the view files.

      <!-- index.xml -->
      <Label id="myLabel"/>
       
      // index.tss
      "#myLabel": {
          text: 'some text'
      }
      

      The "#myLabel" token is what we'd suggest. IDs use a # prefix like in CSS, and classes use ..

      The list of classes and ids is found by querying the indexed values from TISTUD-2798.

      app.tss should query all files. For other tss files we can limit the scope to just the associated view (same hierarchy and basename).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                cwilliams Christopher Williams
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: