LaurentTreguier / vscode-uncrustify

Code format using uncrustify
66 stars 10 forks source link

[Feature Request] Support parsing scoped variable for multi-root workspace #56

Closed eternalphane closed 4 years ago

eternalphane commented 4 years ago

One use case is using a universal config file across multiple folders, where ${workspaceFolder:xxx} is necessary.

LaurentTreguier commented 4 years ago

I'm not sure I understand what ${workspaceFolder:xxx} is supposed to be. Is this like a path that's always relative to the current workspace folder ?

eternalphane commented 4 years ago

It's the root of the workspace named xxx. Reference: Variables scoped per workspace folder.

LaurentTreguier commented 4 years ago

Thanks for the link; it made things clearer. With version 2.18.0 it should now be possible to use `${workspaceFolder:xxx} in multi-root workspaces to reference a single config file across different folders