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

Alloy: Unable to create an alloy component when right clicking on file

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.8.0
    • Fix Version/s: Release 4.9.0
    • Component/s: Alloy
    • Environment:

      OS: Microsoft Windows 10 Pro 10.0.14393 , OSX 10.11.6
      Appc core: 6.0.0-54
      Appc NPM: 4.2.8-7
      Ti SDK: 5.5.0.GA
      Appc Studio: 4.8.0.201609232005

    • Story Points:
      5
    • Sprint:
      2016 Sprint 20 Studio

      Description

      Description

      This is a regression, probably introduced by TISTUD-7800

      When creating an alloy component (controller, model etc.) and the user has right clicked on a file the creation will not take place and no errors will be thrown, the command Studio is passing is Process: C:\Users\ewan\AppData\Roaming\npm\appcelerator.CMD" "alloy" "generate" "controller" "test.js\test2" "--no-colors" "--no-progress-bars" "--no-prompt" "--no-banner" "--prompt-type" "socket-bundle" "--prompt-port" "52905"

      Steps to reproduce
      1. Navigate to index.js in app/controllers for an alloy project
      2. Right click on index.js
      3. Create an alloy component
      Actual result

      The component is not created

      Expected

      The component should be created in the root of the component type folder, i.e controllers/<filename> for a controller

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kkolipaka Kondal Kolipaka (Inactive)
                Reporter:
                eharris Ewan Harris
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: