How to format jscript code in Test Complete IDE
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2012
05:41 AM
05-16-2012
05:41 AM
How to format jscript code in Test Complete IDE
I have my Test complete 8.20 project in JScript. As project is growing so the test files and the code.
Unlike other IDE's, Visual Studio or Eclipse there is no code formatting option in Test Complete IDE.
Is there any extension or easy way to format my code. Right now only way I can think of is to copy code to other formatter and then paste it back to Test Complete.
Unlike other IDE's, Visual Studio or Eclipse there is no code formatting option in Test Complete IDE.
Is there any extension or easy way to format my code. Right now only way I can think of is to copy code to other formatter and then paste it back to Test Complete.
13 REPLIES 13
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2012
02:52 AM
05-21-2012
02:52 AM
Hi Aniket,
Currently, there's no such built-in feature in TestComplete. I have registered your request in our DB as a suggestion. Thanks!
Currently, there's no such built-in feature in TestComplete. I have registered your request in our DB as a suggestion. Thanks!
--
Best regards,
Alexey
Best regards,
Alexey
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-03-2012
12:52 PM
10-03-2012
12:52 PM
Bump!
It is difficult do the manual indentation. Is there any plan to add this in near future releases? Thanks
It is difficult do the manual indentation. Is there any plan to add this in near future releases? Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2012
10:49 PM
10-17-2012
10:49 PM
Hi Aniket,
The feature hasn't been implemented yet, and I cannot share any information regarding whether or when it will.
The feature hasn't been implemented yet, and I cannot share any information regarding whether or when it will.
--
Best regards,
Alexey
Best regards,
Alexey
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2014
12:49 AM
02-24-2014
12:49 AM
I know this is an old post... but for those that come along later I would recommend using http://jsbeautifier.org/. It will automatically format your code and there are options you can tweak to change indent levels, spaces, etc. It's not as easy as having it in the editor but copy/paste, CTRL+ENTER, copy/paste is not too bad... I use it all the time.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2015
02:18 AM
12-30-2015
02:18 AM
One year later
Are there any plans to include code formatting in the future/is there a plugin available?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2016
12:46 AM
09-13-2016
12:46 AM
Hi,
this feature will be great, please include code formatting to your IDE.
br Andreas
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018
04:03 AM
11-13-2018
04:03 AM
I was looking for this too so as a workaround I load the files into Visual Studio Code (which is free) and use the auto indent tool there
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2018
06:58 AM
11-13-2018
06:58 AM
A while back someone ported over a formatter to work in TC as a script extension. I can't find the original post so I can't give proper credits, but attached is a zip of the extension files.
Thanks,
Carson
Click the Accept as Solution button if my answer has helped
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2018
12:49 AM
11-14-2018
12:49 AM
Great - how do I install / activate it ?
The help file says to double click on a tcx file ????
