mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
67 stars 23 forks source link

Rename variable in all files #19

Closed DifficultNick closed 7 years ago

DifficultNick commented 7 years ago

Is there any way to rename @variable (definition and references) in all files of workspace?

mrcrowl commented 7 years ago

Yes, while this would certainly be a nice feature, renaming of a variable across files is currently outside the scope of what this extension aims to be. The renaming of variables within a single .less file is currently something built into vs-code.

Though, if you were willing to submit a PR for this feature, I would be more than happy to consider it. It looks like languages.registerRenameProvider is the extension point you'd be interested in.