[AC-1229] Formatting messes up the javascript file content
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2014-09-05T06:53:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio |
Labels | TCSupportTriage, studio3 |
Reporter | David He |
Assignee | Mauro Parra-Miranda |
Created | 2014-07-31T00:08:02.000+0000 |
Updated | 2016-03-08T07:37:36.000+0000 |
Description
I use shortcut key to format my js and xml files. The problem I found is that formatting works improperly on js file after I formatted xml files.
See attached screen dump for reference
Steps to reproduce the problem -
1. Use shortcut key to format a xml file first
2. Open another js file and format it
3. JS file is wrongly formatted....
Attachments
Hello, We have tested this issue with our following testing environment. It’s not a Studio bug. Please check your js file code, if there is any error in code then it should be shown in wrong formatted. *TESTING ENVIRONMENT:* Titanium SDK: 3.3.0.GA and 3.2.3.GA Titanium CLI: 3.3.0 OS X Version: 10.9.3 Android API Level: 17 and 19 *STEPS TO REPRODUCE:* 1. Use shortcut key (*shift+command+f* in Mac and *window+shift+f* in windows) to format a xml file first 2. Open another js file and format it 3. JS file is perfectly formatted *TESTING RESULT:* Js file shows their proper format. Thanks.
Hello [~jialhe85@gmail.com]! Do you have any sample that shows the issue? Best Regards!
@Mauro after_format.png shows the issue. Unfortunately, I have no sample scripts that do this. Thanks
@Mostafizur But, when I exit studio and restart it, formatting the same script works again.... Let me try to get sample scripts that will show the problem Thanks
We can reopen this one if we get code that reproduces the issue.