Feature request: Jump to last CSS property when clicking on a class name
Suggestion for a small improvement. Currently if you CMD click on a specific classname (styles.classname), it takes you to that class in the CSS modules file.
The cursor is placed at the very start of that class, just after the dot, before the class name, like so:
For me it would be an improvement if the cursor were automatically placed at the end of the last property of that class, like so:
This way, you can instantly start adding new properties to the class, making it a bit faster workflow.
@clinyong linyong, what's your opinion ?
Since we are using the regular expression to parse css code, I think it is not easy to do that. And consider the nested classes, it will become more complicated.
.container {
.left {}
}
Maybe we can think about it after finishing the tokenize work.