vscode-separators icon indicating copy to clipboard operation
vscode-separators copied to clipboard

[FEATURE] - Add support for getters & setters (`Property` symbols)

Open lnikod4s opened this issue 3 years ago • 2 comments

Currently, there is no support for adding line separators between JS class getters & setters: image

lnikod4s avatar Jul 03 '21 12:07 lnikod4s

Hi @lnikod4s ,

JS class getters/setters are not recognized today because they are in fact, Properties. At least, if you are using the default JS language engine provided by VS Code.

The point is, adding support to Properties, would add separators to any property, but yes, it could be added in the future

Thanks for your suggestion

alefragnani avatar Jul 03 '21 21:07 alefragnani

+1 that this could be nice. In fact, it could be nice to have it for each property, but with the border above their jsdoc comment, if present?

And for getters/setters it could possibly detect that 2 consecutive symbols correspond to the same property and put a separator for the two of them as a single “block” rather than having a line on top of each one.

hccampos avatar Mar 29 '23 22:03 hccampos