vscode: Can't disable "An external application wants to open" warnings
Type: Bug
I can’t disable the “an external application wants to open this file” warnings (“Prompt for local file protocol handling” in settings). I have the checkboxes off in my Settings, and every time I see the warning I check the box to say “allow opening local paths without warnings”, yet the warning won’t stop. Here’s a loom showing the problem in full detail:
https://www.loom.com/share/02d73ee168de4c018ea09c07c2920cc2?sid=6ad60f4a-23b5-4592-b2ca-b6f0288870b2
VS Code version: Code 1.87.1 (Universal) (1e790d77f81672c49be070e04474901747115651, 2024-03-06T00:23:16.418Z) OS version: Darwin arm64 23.4.0 Modes:
System Info
Item | Value |
---|---|
CPUs | Apple M3 Pro (11 x 24) |
GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled |
Load (avg) | 2, 3, 3 |
Memory (System) | 36.00GB (0.24GB free) |
Process Argv | –crash-reporter-id c845d03f-9197-44fd-85e2-84c62baf5260 |
Screen Reader | no |
VM | 0% |
Extensions (54)
Extension | Author (truncated) | Version |
---|---|---|
op-vscode | 1Pa | 1.0.4 |
bundle-size | amb | 1.7.0 |
vscode-color | ans | 0.4.5 |
graphql-codegen-vscode | cap | 1.1.1 |
multi-cursor-case-preserve | Car | 1.0.5 |
npm-intellisense | chr | 1.4.5 |
postcss | css | 1.0.9 |
vscode-eslint | dba | 2.4.4 |
parquet-viewer | dvi | 2.7.0 |
gitlens | eam | 14.9.0 |
prettier-vscode | esb | 10.1.0 |
file-icons | fil | 1.1.0 |
auto-rename-tag | for | 0.1.10 |
codespaces | Git | 1.16.13 |
copilot | Git | 1.172.0 |
copilot-chat | Git | 0.13.1 |
vscode-github-actions | git | 0.26.2 |
vscode-pull-request-github | Git | 0.82.0 |
vscode-graphql | Gra | 0.9.3 |
vscode-graphql-syntax | Gra | 1.3.4 |
closeunmodified | Gru | 0.0.7 |
todo-tree | Gru | 0.0.226 |
vscode-test-explorer | hbe | 2.21.1 |
vscode-edit-csv | jan | 0.9.1 |
vs-docblock | jer | 1.4.0 |
remove-unused-imports | kus | 1.2.3 |
vscode-python-test-adapter | lit | 0.8.2 |
vscode-json5 | mrm | 1.0.0 |
playwright | ms- | 1.0.22 |
black-formatter | ms- | 2024.0.1 |
debugpy | ms- | 2024.2.0 |
flake8 | ms- | 2023.10.0 |
isort | ms- | 2023.10.1 |
mypy-type-checker | ms- | 2023.6.0 |
python | ms- | 2024.2.1 |
vscode-pylance | ms- | 2024.3.1 |
live-server | ms- | 0.4.13 |
test-adapter-converter | ms- | 0.1.9 |
vsliveshare | ms- | 1.0.5918 |
autodocstring | njp | 0.6.1 |
material-icon-theme | PKi | 4.34.0 |
tsimporter | pmn | 2.0.1 |
postman-for-vscode | Pos | 0.19.1 |
vscode-yaml | red | 1.14.0 |
markdown-preview-enhanced | shd | 0.8.12 |
indenticator | Sir | 0.7.0 |
vscode-fileutils | sle | 3.10.3 |
vscode-graphql | stp | 0.3.0 |
ayu | tea | 1.0.5 |
vscode-mdx | uni | 1.8.1 |
vscodeintellicode | Vis | 1.3.0 |
vscode-icons | vsc | 12.7.0 |
change-case | wma | 1.0.0 |
zoombar-vscode | wra | 1.4.4 |
(2 theme extensions excluded)
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
2e7ec940:30986170
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfcontrol:30979541
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
dsvsc020:30976470
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 16 (8 by maintainers)
Commits related to this issue
- Can't disable "An external application wants to open" warnings (fix #207777) — committed to microsoft/vscode by bpasero 2 months ago
- Can't disable "An external application wants to open" warnings (fix #207777) — committed to microsoft/vscode by bpasero 2 months ago
- Can't disable "An external application wants to open" warnings (fix #207777) (#211379) — committed to cpendery/vscode by bpasero 2 months ago
@tjx666 thanks so much for the screenshot, it pointed me to the right direction! this setting cannot be configured on a per-profile level but only globally because it is read from a context that is not profile aware 🚀
I will have a fix ready, but this explains everything. @dgattey are you also using profiles?
To fix this for now:
Yup, I’m using a profile. Glad to hear! I’ll try swapping the setting in the default profile