comment-divider icon indicating copy to clipboard operation
comment-divider copied to clipboard

[Request] Support different comment-divider.length for different language

Open vepain opened this issue 1 year ago • 1 comments

An option comment-divider.languagesLengthMap should precise the line length for a particular language:

"comment-divider.languagesLengthMap": {
      "toml": 80,
      "scss": 120
}

This option should have the priority over the comment-divider.length option. If a language is not present in the new option comment-divider.languagesLengthMap, then the default given by comment-divider.length is applied.

vepain avatar May 29 '24 13:05 vepain

The option comment-divider.length should also (preferred) be language specific:

"[toml]": {
  "comment-divider.length": 80
},
"[scss]": {
  "comment-divider.length": 120
}

vepain avatar Jun 13 '24 08:06 vepain