Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9367] CodeProcessor: Implement Reseved Keyword Warning Code Processor plugin

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2016-08-24T20:12:38.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsCode Processor
Labelsn/a
ReporterBryan Hughes
AssigneeChris Barber
Created2012-06-04T12:29:02.000+0000
Updated2017-03-20T17:24:09.000+0000

Description

There are many variable names that cannot be used in Mobile Web projects that can be used in other platforms, such as "window", "status", "document", etc. This plugin should detect these instances and throw an error/warning.

Comments

  1. Chris Barber 2012-06-04

    Need to detect the scope of the variable too. For example, apparently, you cannot declare "status" in global scope, but you can in a local function scope. However other keywords such as "debugger" are reserved regardless of scope.
  2. Chris Barber 2016-08-24

    Code processor is dead.
  3. Lee Morris 2017-03-20

    Closing ticket as code processor is no longer supported.

JSON Source