The other day I made a post at Katalon Q&A. You will find the following Code snippet.
The code snippet is poorly formatted. A few CR+LF disappered, TABs disappered. The original code was like this:
I wondered why whitespace characters were poorly processed, and I found why.
I copied the text range of original codes in editor by clicking right mouse button, and then pasted it into the Katalon Q&A post. At this very timing I found some CR+LF and all of TAB characters are ignored when pasted.
I think that I had better NOT to use TABs for text in Katalon Studio (just to make it better prepared for posting), I should rather use 4 SPACE characters instead in Katalon Studio. If I use SPACEs instaed of TABs, any copy-and-pasted code snippet into the Katalon Q&A posts would be formatted fine.
So I have a proposal to Katalon Team.
I check the default setting of current Katalon Studio, which is as follows:
As you can see,
- it does NOT insert spaces for tabs
- it does NOT show whitespace characters visible
I would like to propose to change the default setting of Katalon Studio as follows:
- it DOES insert spaces for tabs
- it DOES show whitespace characters visible
- I would prefer CR+LF stay invisible, but other people may prefer them visible