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

Editor: changing file type then reopening does not reflect new file type

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Won't Fix
    • Affects Version/s: Titanium Studio 2.0.1, Titanium Studio 2.0.2
    • Fix Version/s: None
    • Component/s: Editor
    • Environment:

      Studio: 2.0.1, 2.0.2.201205241100
      SDK: 2.0.2.v20120518140206
      OS: Ubuntu 12.04, Snow Leopard

    • Story Points:
      13

      Description

      If a file is open in the editor, and the file type is edited in the project explorer, the open file in the editor is not fully updated. See info in Expected/Actual Result below. The file will only update if it is closed and reopened. Clicking on the file will not update it. Relaunching studio will not update it.

      This is not a regression. There is no log info.

      Steps to Reproduce:

      1. Create a new project.
      2. Add a generic typeless file to the project.
      3. Add JavaScript code to the file. Verify lack of syntax highlighting.
      4. While project is open in editor, change the filetype of the file in the project explorer to .js.

      Expected Result:

      1. The filename should change in the project explorer.
      2. The icon for the file in the project explorer should update.
      3. The filename should change in the open file editor.
      4. The icon for the file in the open file editor should update.
      5. The syntax highlighting in the open file should update.
      6. The error info in the open file should update.

      Actual Result:

      1. The filename should change in the project explorer. - YES
      2. The icon for the file in the project explorer should update. - YES
      3. The filename should change in the open file editor. - YES
      4. The icon for the file in the open file editor should update. - NO
      5. The syntax highlighting in the open file should update. - NO
      6. The error info in the open file should update. - NO

      Note: Double-Clicking on file or relaunching studio will not update the file formatting. Only closing and reopening file will reformat it.

        Attachments

          Activity

            People

            • Assignee:
              kkolipaka Kondal Kolipaka (Inactive)
              Reporter:
              dhyde Dustin Hyde
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: