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

Support refreshing the page #91

Closed
paulirish opened this issue Sep 2, 2016 · 11 comments

Comments

@paulirish
Copy link

commented Sep 2, 2016

The other day I really wanted to refresh my page after saving a change in VSCode. Can you make ctrl-R work?

(jam3/devtool does have ctrl-r hooked up to restart the node.js instance, too. I love it.)

@roblourens

This comment has been minimized.

Copy link
Member

commented Sep 3, 2016

Thanks for the suggestion, yes I would really like to support that, although it's not as straightforward as I'd like. Closest I can suggest at the moment is the Restart button, which is cmd+shift+f5. Not quite the same, it will restart the entire browser. It restarts the Node instance in Node debugging too. You could map this to ctrl+r like

{ "key": "ctrl+r", "command": "workbench.action.debug.restart",
    "when": "inDebugMode" }
@auchenberg

This comment has been minimized.

Copy link
Contributor

commented Oct 20, 2016

@roblourens What makes this feature complicated?

@roblourens

This comment has been minimized.

Copy link
Member

commented Oct 21, 2016

Just that a debug adapter can't customize the behavior of the restart button at the moment. We talked about this in the past month, and I filed this bug to discuss - microsoft/vscode#14189

@auchenberg

This comment has been minimized.

Copy link
Contributor

commented Dec 6, 2016

@roblourens This has landed right? Should we update the README with instructions on how to bind the shortcut?

@roblourens

This comment has been minimized.

Copy link
Member

commented Dec 6, 2016

Oh right, I had duplicate issues.

@roblourens roblourens closed this Dec 6, 2016

@auchenberg

This comment has been minimized.

Copy link
Contributor

commented Dec 6, 2016

@roblourens So mapping this will make the page refresh right?

{
   "key": "ctrl+r",
    "command": "workbench.action.debug.restart",
    "when": "inDebugMode"
}
@roblourens

This comment has been minimized.

Copy link
Member

commented Dec 6, 2016

Yes

@nyakoojo

This comment has been minimized.

Copy link

commented Feb 2, 2017

why can't my visual studio code view my html tags and launch my browser.
Is there a way anyone help me MacOS X i will be grateful

@roblourens

This comment has been minimized.

Copy link
Member

commented Feb 2, 2017

Can you be more specific? What is the problem?

@nyakoojo

This comment has been minimized.

Copy link

commented Feb 3, 2017

@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 22, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
4 participants
You can’t perform that action at this time.