Project: appceleratorstudio
Issue TISTUD-1701: Editor: changing file type then reopening does not reflect new file type
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.
Story points: 13