Per-Syntax settings #3533
Labels
*duplicate
Issue identified as a duplicate of another issue(s)
feature-request
Request for new features or functionality
Milestone
TL;DR: Add settings support for per-syntax or improve the Markdown syntax settings recognition.
Problems:
In my project development, I usually works across different file types. Each of them is work a bit different than the another.
Let say I have a
.js
(JavaScript) file and some.md
(Markdown) file. When I works with.js
file, I want to trim of the whitespace at the end of each line while when I works with.md
file, I want the VSCode to keep the whitespace at the end of line as-is () since the markdown syntax use double-spaces at the end of line to indicate line break. When I enabledfiles.trimTrailingWhitespace
, I cannot save the file without remove these trailing whitespace on.md
file and that is annoying to me.Also, this is just a simple usage example of this feature. There are many cases that this feature would solve them easily.
Possible Solutions:
files.trimTrailingWhitespace
turn on, VSCode will not trim those lines.The text was updated successfully, but these errors were encountered: