Giter VIP home page Giter VIP logo

vscode-open-in-default-browser's Introduction

vscode-open-in-default-browser's People

Contributors

attackfrog avatar dependabot[bot] avatar peakchen90 avatar pskalyber avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vscode-open-in-default-browser's Issues

Extension issue

  • Issue Type: Bug
  • Extension Name: open-html-in-browser
  • Extension Version: 2.1.3
  • OS Version: Windows_NT ia32 6.1.7601
  • VSCode version: 1.46.1

⚠️ We have written the needed data into your clipboard. Please paste! ⚠️

linux下没有识别默认浏览器

当我设置文件默认的打开方式为浏览器时, 插件可以很好的工作, vscode中按下Ctrl + 1可以把文件在浏览器中打开
Screenshot from 2021-05-21 20-42-32
但当我把文件的默认打开方式设置为文本编辑器时, vscode中按下Ctrl + 1却是把文件在文本编辑器中打开了
Screenshot from 2021-05-21 20-46-25

插件的版本为v2.1.4, vscode的版本为1.56.2

Browser issue

Type: Bug

Hey Team,

When attempting to open my HTML document in the default browser, I receive an error message "Open browser failed!! Please check if you have installed the browser correctly". This issue just started yesterday, after a month of working correctly. Any insight on how to resolve the issue?

Screen Shot 2022-11-05 at 2 52 23 PM

Thank you,

Extension version: 2.1.9
VS Code version: Code 1.73.0 (Universal) (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:38:50.881Z)
OS version: Darwin arm64 21.4.0
Modes:
Sandboxed: No

System Info
Item Value
CPUs Apple M1 (8 x 24)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 2, 2, 2
Memory (System) 8.00GB (0.12GB free)
Process Argv --crash-reporter-id 70a9b403-fba1-45df-9f43-3eed8cd16031
Screen Reader no
VM 0%
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
vscccc:30566498
pyindex848:30577860
nodejswelcome1cf:30587006
fc301958:30595537
282f8724:30602487
3d0df643:30602300
dbltrim-control:30603952

English translation

Hello!
Please add an option to change its language to english.
Or make it available in two versions. One chinese version and another english version.
Thank you

EACCES: permission denied

I get this error why clicking the context menu item to open the HTML file in my default browser:
Create service failed listen EACCES: permission denied 0.0.0.0:52330

does not open anything.

clicked on editor to open on default browser (ctrl + 1) but nothing happens, neither on file manager.

VSCODE
Version: 1.32.0
Commit: 507312a3e3b34b084b467dfd983263bc7c9d87e0
Date: 2019-03-06T18:53:01.021Z
Electron: 3.1.3
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.18.0-16-generic

Error while runnning the extension. Please help!

Error while running the extension:

Error: Running the contributed command:'peakchen90.openInBrowser' failed.
	at e._executeContributedCommand (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:697:802)
	at e.$executeContributedCommand (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:698:212)
	at e._doInvokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:658:87)
	at e._invokeHandler (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:657:779)
	at e._receiveRequest (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:656:851)
	at e._receiveOneMessage (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:656:620)
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:655:544
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:658:673
	at /usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:96:599
	at e.fire (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:97:917)
	at u (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:159:721)
	at Socket.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:159:898)
	at emitOne (events.js:96:13)
	at Socket.emit (events.js:191:7)
	at readableAddChunk (_stream_readable.js:178:18)
	at Socket.Readable.push (_stream_readable.js:136:10)
	at Pipe.onread (net.js:560:20)

App suddenly not working

I haven't made any updates to my computer, but my app is no longer working in VSCode (started yesterday). If I try to Command+1 from my mac or right-click and select Open In Default Browser, I get the following error message: An error occurred opening the browser. Please restart VSCODE and try again! Source: Open in Default Browser (extension)

Bug when openWithLocalHttpServer

when set "openInDefaultBrowser.run.openWithLocalHttpServer": true,
open this html in your browser

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title>Flexbox 0 — starting code</title>
    <style>

      html {
        font-family: sans-serif;
      }

      body {
        width: 70%;
        max-width: 960px;
        margin: 20px auto;
      }

      button {
        font-size: 18px;
        line-height: 1.5;
        width: 15%;
      }

      div {
        height: 100px;
        border: 1px solid black;
      }

      /* Add your flexbox CSS below here */
    </style>
  </head>
  <body>
    <div>
      <button>Smile</button>
      <button>Laugh</button>
      <button>Wink</button>
      <button>Shrug</button>
      <button>Blush</button>
    </div>
  </body>
</html>

show like this
image
and you will find another div in the dom
image

but if you set "openInDefaultBrowser.run.openWithLocalHttpServer": false, that will not happen. or you just open the html in your filesystem

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.