Ask a Question

TestComplete V14.4 replacing newline characters with Windows newlines (CrLf) in code editor

SOLVED
tphillips
Frequent Contributor

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
3 REPLIES 3
BenoitB
Community Hero

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

tphillips
Frequent Contributor

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
sonya_m
SmartBear Alumni (Retired)

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

cancel
Showing results for 
Search instead for 
Did you mean: