Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace Trustの対応について #45

Closed
honobonosun opened this issue Jun 22, 2023 · 2 comments
Closed

Workspace Trustの対応について #45

honobonosun opened this issue Jun 22, 2023 · 2 comments
Assignees

Comments

@honobonosun
Copy link
Owner

参考:VS Code の Workspace Trust(ワークスペースの信頼)について

package.jsonのcapabilities.untrustedWorkspacesを設定していないため、制限モードでは本拡張機能は無効化されています。

本拡張機能には、構文の色分け機能などを備えており、制限モード下でも動作に問題が無い部分があります。

restrictedConfigurationsを適切に設定すれば、本件は対応できそうです。

@honobonosun honobonosun self-assigned this Aug 11, 2023
@honobonosun
Copy link
Owner Author

honobonosun commented Aug 11, 2023

現バージョンで当拡張機能を信用していないディレクトリで動作させるため、security.workspace.trust.enabledをfalseに設定する方法を執らずに済むように、機能のバックポートを行います。

1.x.xに合わせて変形させているので、制限モードでも構文の色分けとOutline機能が動作するようになります。

@honobonosun
Copy link
Owner Author

v1.2.0 にて対応しました。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant