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

APIs properties and methods displayed in the content assistance might have a wrong 'Defined by' field

    Details

    • Type: Story
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Titanium Studio 3.0.2, Titanium Studio 3.1.0
    • Fix Version/s: None
    • Component/s: Content Assist
    • Environment:

      TiStudio 3.1.0.201303202340

      Description

      Problem

      A number of Titanium APIs show a wrong 'Defined By' information. This is mainly happening for those APIs that are inheriting properties or methods.

      Example:

      var button = Ti.UI.createButton({
          back  //call content assistance here 
      }); 
      

      In the sample above, 'backgroundColor', for example, is not specifically defined by Titanium.UI.Button, but inherited from Titanium.UI.View (as correctly displayed in the Docs: http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.Button-property-backgroundColor).

      This information should be taken from the docs - in this case I would expect to see 'Titanium.UI.View' instead.

      See also attached screenshot.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              fcasali Federico Casali
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: