Feature Request: whitespace trimming

237 צפיות
מעבר להודעה הראשונה שלא נקראה

exercising camel

לא נקראה,
15 במרץ 2015, 15:02:1815.3.2015
עד google-chrome-...@googlegroups.com
After "Map to file system resource..." the changes to the files are persisted but there doesn't seem to be a way to remove trailing whitespace characters
without opening the file in an external editor, which is kind of distracting, and then use it to trim the whitespace. There is the option "Show Whitespace
characers" but I think trimming whitespace manually is awful.

Paul Irish

לא נקראה,
15 במרץ 2015, 19:10:4715.3.2015
עד Google Chrome Developer Tools
For the moment, that option[1] is the best we're going to have. Even sublime doesn't ship with automatic whitespace trimming. 
We've been discussing a better editor experience. We'll make sure maintaining whitespace control is an important piece of that.

Thanks



[1]
 Inline image 1

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/78f3081a-5b3c-46cd-89d5-d3008c1d3187%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

PhistucK

לא נקראה,
16 במרץ 2015, 2:36:3516.3.2015
עד Google Chrome Developer Tools
Sublime does ship with it, though it is not turned on by default (it is a preference, not a flag or anything). Perhaps that is what you meant?


PhistucK

Jonathan Garbee

לא נקראה,
16 במרץ 2015, 6:37:5316.3.2015
עד Google Chrome Developer Tools

Phistuck, they want codemirror in the sources panel to trim it for them. Currently, not possible. No custom extensions are allowed to be injected into CM.


PhistucK

לא נקראה,
16 במרץ 2015, 7:26:4516.3.2015
עד Google Chrome Developer Tools
I know they do, what were you trying to tell me here...?
I simply replied to the point Paul made about Sublime.


PhistucK

Jonathan Garbee

לא נקראה,
16 במרץ 2015, 8:02:5416.3.2015
עד Google Chrome Developer Tools
Wow, I missed an entire line in that email. Sorry, now things make sense in my brain.

PhistucK

לא נקראה,
16 במרץ 2015, 8:04:4916.3.2015
עד Google Chrome Developer Tools
השב לכולם
השב למחבר
העבר לנמענים
0 הודעות חדשות