Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13504] Code Processor: api usage finder lists non-apis

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-04-23T23:06:05.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 09 JS, 2013 Sprint 09, Release 3.2.0
ComponentsCode Processor
Labelsqe-3.1.0, qe-testadded
ReporterDustin Hyde
AssigneeBryan Hughes
Created2013-04-09T20:28:30.000+0000
Updated2014-02-24T23:42:35.000+0000

Description

Code Processor: api usage finder lists non-apis. See screenshot. Test Steps: 1. Open Appcelerator Studio. 2. Create Titanium Project w/Appcelerator Services. 3. Run code processor. Test Results: API Usage Finder lists non-apis in the results (e.g., font, etc.).

Attachments

FileDateSize
api usage finder shows non-api calls.png2013-04-09T20:28:30.000+0000195978

Comments

  1. Bryan Hughes 2013-04-09

    Interesting...they actually are APIs...they're just missing their namespace. For example, font should be Ti.UI.Label.font
  2. Bryan Hughes 2013-04-23

    PR: https://github.com/appcelerator/titanium-code-processor/pull/163 1_0_X PR: https://github.com/appcelerator/titanium-code-processor/pull/164
  3. Dhirendra Jha 2013-12-13

    Now it shows correctly. Ex - Titanium.Platform.osname. Hence closing this issue. Tested in below environment - Appcelerator Studio: 3.2.0.201312121648 SDK:3.2.0.v20131212122847 alloy: 1.3.0-cr acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-cr3 titanium-code-processor: 1.1.0-cr2 OS - Mountain Lion (v10.8.5)

JSON Source