How to implement whitespace and line feed processing in the output data? #5172
Replies: 3 comments
-
Thanks for reaching out, unfortunately, it's not completely clear to me what problem you're facing. Could you expand a bit more on what you are trying to do and where you're facing problems? |
Beta Was this translation helpful? Give feedback.
-
Hi @Apricity-yu, I am not sure I understood your request correctly, but if you want to know how to make Ace automatically format the text you provide to it via |
Beta Was this translation helpful? Give feedback.
-
You could also try to use existing beautify extension to enable the command to format the code. |
Beta Was this translation helpful? Give feedback.
-
Describe the feature
How can I identify the space and carriage return problems when displaying data
When the data is returned by the interface, what format should be processed to assign it to the setValue method, display whitespace recognition and line wrapping in ace-build
Use Case
For example: function transformPayload (rawData) {var s={};s.test= rawData;return s;}
The current data is shown in a row in ace-builds, which bothers me, and I expect the format to be as follows.
The format I expect is as follows:
function transformPayload (rawData) {
var s={};
s.test= rawData;
return s;
}
Proposed Solution
No response
Other Information
No response
Acknowledgements
ACE version used
^1.20.0
Beta Was this translation helpful? Give feedback.
All reactions