You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request:
Right now the when clause context for resources is limited to resourceSchemeresourceFilenameresourceExtnameresourceLangId
When implementing a FileSystemProvider, it would be usefull to either be able to hook a function from the provider to the when clause context, or at least expose the result of the provider stat function for any given resource in order to use one of our custom boolean properties.
Use case example:
Implementing a remote fs that supports locking resources, I would like to implement explorer contextual menu actions (lock or unlock) that are filtered based on the lock status of the resource.
This is the same idea behind any permission based actions.
The text was updated successfully, but these errors were encountered:
Now I'm not sure how the when clauses are evaluated (is there a templating engine?), but my thinking was we could expose the stat result to do something like:
stat.name == foo or in my previous example we could evaluate on the fly when we right click:
Well since any provider can extend the stat model it could be a non issue.
It actually is because the extension runs in a different process than the UI - in which context keys are evaluated. So, this actually is the challenge...
This issue is being closed to keep the number of issues in our inbox on a manageable level, we are closing issues that are not going to be addressed in the foreseeable future: We look at the number of votes the issue has received and the number of duplicate issues filed. More details here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
Feature Request:
Right now the when clause context for resources is limited to
resourceScheme
resourceFilename
resourceExtname
resourceLangId
When implementing a FileSystemProvider, it would be usefull to either be able to hook a function from the provider to the when clause context, or at least expose the result of the provider stat function for any given resource in order to use one of our custom boolean properties.
Use case example:
Implementing a remote fs that supports locking resources, I would like to implement explorer contextual menu actions (lock or unlock) that are filtered based on the lock status of the resource.
This is the same idea behind any permission based actions.
The text was updated successfully, but these errors were encountered: