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

Studio: Ti.API.Debug and Ti.API.log chosen from Commands option are created with errors


    • Type: Bug
    • Status: Reopened
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 3.4.0
    • Fix Version/s: Backlog
    • Component/s: Editor
    • Labels:
    • Environment:

      Appcelerator Studio, build:

      CLI: 3.4.0-dev
      Alloy: 1.5.0-dev
      Code processor: 1.1.1
      SDK: 3.4.0
      Mac OSX version 10.9.4

    • Sprint:
      2014 Sprint 18 Studio


      When Ti.API.log and Ti.API.debug is chosen from commands > titanium mobile, the respective commands are created with errors. There is an extra "}" in the place where string inputs are suppose to be given.

      Not a regression as it occurs in appcelerator studio 3.3.0

      Steps to reproduce:
      1. Create a classic sample project
      2. Open the app.js file
      3. Click on commands > titanium mobile > Ti.API.debug

      Actual Result:
      3. The following command appears: "Ti.API.debug(})" with an error.
      The same happens when Ti.API.info is selected. "Ti.API.log('info',})" appears with an error.

      Expected Result:
      Commands should be created in the editor without any errors.


          Issue Links



              • Assignee:
                cwilliams Christopher Williams
                vchidambaram Visalakshi Chidambaram
              • Watchers:
                5 Start watching this issue


                • Created: