Tyriar / vscode-sort-lines

Visual Studio Code extension to sort lines of text
https://marketplace.visualstudio.com/items/Tyriar.sort-lines
MIT License
147 stars 42 forks source link

Extension disabled due to Workspace Trust #108

Open OnlineCop opened 2 years ago

OnlineCop commented 2 years ago

I recently opened a file within a new VSCode window. The file was in an untrusted directory, so VSCode opened in Restricted Mode.

This extension was disabled in Restricted Mode.

According to the Workspace Trust Extension Guide, this can be remedied by adding the capability to package.json.

Would all parts of this extension be able to qualify as "trustable" within untrusted workspaces? Some parts, but not others? None of them due to some dependency or other restriction that would allow malicious code to be executed?