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

HTML files now require an extension to run #123106

Closed
cmrss2 opened this issue May 6, 2021 · 6 comments
Closed

HTML files now require an extension to run #123106

cmrss2 opened this issue May 6, 2021 · 6 comments
Assignees
Labels
candidate Issue identified as probable candidate for fixing in the next release confirmed Issue has been confirmed by VS Code Team member debug Debug viewlet, configurations, breakpoints, adapter issues

Comments

@cmrss2
Copy link

cmrss2 commented May 6, 2021

Issue Type: Bug

In the April release of VSC, this issue started to happen. Before, I could simply run with F5 and everything would work fine. Now, it tells me to install an extension for debugging, even if I run without debugging.

Steps to reproduce:

  1. Run a HTML file, without debugging (Ctrl + F5)
    There should now be a prompt to install an extension.
  2. Click on it, and install any of the extensions.
  3. Try again, only to keep getting the prompt with any extension enabled. I've only tried 2 extensions, but it happened with both.

Cancel only cancels the entire thing. Attached are screenshots of me attempting to run without debugging.
I understand this is only a small issue, but to run directly from VSC is a large reason I chose this code editor. Please fix this!

VS Code version: Code 1.56.0 (cfa2e21, 2021-05-04T22:09:06.405Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.91GB (3.51GB free)
Process Argv --crash-reporter-id 8c746a95-70ad-4816-8370-eaf9d045842f
Screen Reader no
VM 0%
Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
pythonvspyt602:30294772
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30291489
pythontb:30283811
vspre833:30267464
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
pythondataviewer:30285071
vscus158cf:30286554

VSC 1
VSC 2

@Flavian97
Copy link

I do have this problem and I do not have any idea of how to fix this

@JacksonKearl JacksonKearl added the confirmed Issue has been confirmed by VS Code Team member label May 6, 2021
@JacksonKearl
Copy link
Contributor

Confirmed in 1.55.2, I could hit Ctrl+F5, select Chrome, and the HTML file would open in chrome. Now there's a popup telling me I need additional extensions.

@isidorn
Copy link
Contributor

isidorn commented May 6, 2021

@connor4312 what do you think that we fix this in the Chrome extension so that the Chrome extensions says that it is interested in html by specifying it in the language field?

@isidorn isidorn added candidate Issue identified as probable candidate for fixing in the next release debug Debug viewlet, configurations, breakpoints, adapter issues labels May 6, 2021
@isidorn
Copy link
Contributor

isidorn commented May 6, 2021

@connor4312 that was fast. Thanks
What do you think about doing this as part of recovery?

@connor4312
Copy link
Member

It looks like we'll have a recovery, and I think this is a safe change.

connor4312 added a commit to microsoft/vscode-js-debug that referenced this issue May 6, 2021
@isidorn
Copy link
Contributor

isidorn commented May 6, 2021

Lovely, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
candidate Issue identified as probable candidate for fixing in the next release confirmed Issue has been confirmed by VS Code Team member debug Debug viewlet, configurations, breakpoints, adapter issues
Projects
None yet
Development

No branches or pull requests

5 participants