TestComplete V14.4 replacing newline characters with Windows newlines (CrLf) in code editor
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TestComplete V14.4 replacing newline characters with Windows newlines (CrLf) in code editor
Hi there
We have recently upgraded to TestComplete V14 from V12, and now every time I open up a project in TestComplete it replaces the newline characters at the end of every line in every file in the file with Windows newline characters (CrLf), and git thinks the entire file has been re-written.
Is there a way to control TestComplete's newline behaviour? Or a way to disable this behaviour?
Is it a new behaviour between TC12 and TC14?
--------------------
Senior SQA Automation Engineer
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did not noticed that, i use VSCode to write code and then at the end validating into TC.
No options to set the end line character in TestComplete but it's a good idea to submit (in the options->panels->code editor->editing)
Un sourire et ça repart
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I think it might actually be to do with the git newline settings. Still it would be good to be abke to confgiure what the editor does, I will add it as a feature request.
I think I will stick to VSCode (actually VSCodium) as well.
--------------------
Senior SQA Automation Engineer
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Benoit!
@tphillips while sticking to VSCode (VSCodium) might be part of the solution, it is great that you created a feature request. Let me add a link to it here and mark as a solution, so people who will find your thread would vote it up!
Feature request:
Add ability to configure newline character in Code Editor
Sonya Mihaljova
Community and Education Specialist
