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

Titanium Studio: JavaScript Comment Auto-Complete fails if on same line as end of previous comment

    Details

    • Story Points:
      5

      Description

      If a javascript comment is auto-completed from a line that contains the end of another auto-completed comment, the new completion will fail to complete the comment. Screenshots attached.

      Steps to Reproduce:

      1. Enter javascript code in editor:

      function(){}
      

      2. Insert cursor at the beginning of the line, type "/*", and press enter.

      For example:

      /*
       * 
       */function(){}
      

      3. Insert cursor at the end of the line, type "/*", and press enter.

      For example:

      /*
       * 
       */function(){}/*
      

      Expected Result:

      Auto-completion should succeed, for example:

      /*
       * 
       */function(){}/*
                      *
                      */
      

      Actual Result:

      Auto-complete fails, for example:

      /*
       * 
       */function(){}/*
       *
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                dhyde Dustin Hyde
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: