-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prompt when workspace overrides clangd.path and clangd.arguments
- Loading branch information
1 parent
a9653a8
commit cfe5b2e
Showing
6 changed files
with
115 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Settings | ||
|
||
## Security | ||
|
||
This extension allows configuring command-line flags to the `clangd` executable. | ||
|
||
Being able to configure these per-workspace can be convenient, but runs the risk | ||
of an attacker changing your flags if you happen to open their repository. | ||
Similarly, allowing the workspace to control the `clangd.path` setting is risky. | ||
|
||
When these flags are configured in the workspace, the extension will prompt you | ||
whether to use them or not. If you're unsure, click "No". | ||
|
||
![Screenshot: Workspace trying to override clangd.path](workspace-override.png) | ||
|
||
If you choose "Yes" or "No", the answer will be remembered for this workspace. | ||
(If the value changes, you will be prompted again). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters