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
1 ACCEPTED SOLUTION

Accepted Solutions
sonya_m
Community Manager

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

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

3 REPLIES 3
BenoitB
Community Hero

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

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

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

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
Community Manager

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

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

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: