The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

File Formatting

Will York
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 20, 2020

I am using TestCafe for our automated tests and they get checked in as one long string.  Is there a way to have sourcetree format these files before checkin?

They are basically JSON files with a custom extension. 

TestCafe themeselves do not have a way to format these files, and I'm sure if I just formatted them in a tool as soon as they are changed they will be reverted back to the minified version.

The problem is that when we check them in SourceTree says there is a change in the file, but Highlights the entire string as a difference, and it is hard to see what the changes actually are.  

 

0 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events