Skip to content
This repository has been archived by the owner. It is now read-only.

Support refreshing the page #91

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

Support refreshing the page #91

paulirish opened this issue Sep 2, 2016 · 11 comments

Comments

@paulirish
Copy link

@paulirish paulirish 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
Copy link
Member

@roblourens roblourens 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" }

Loading

@auchenberg
Copy link
Contributor

@auchenberg auchenberg commented Oct 20, 2016

@roblourens What makes this feature complicated?

Loading

@roblourens
Copy link
Member

@roblourens roblourens 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

Loading

@auchenberg
Copy link
Contributor

@auchenberg auchenberg commented Dec 6, 2016

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

Loading

@roblourens
Copy link
Member

@roblourens roblourens commented Dec 6, 2016

Oh right, I had duplicate issues.

Loading

@roblourens roblourens closed this Dec 6, 2016
@auchenberg
Copy link
Contributor

@auchenberg auchenberg commented Dec 6, 2016

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

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

Loading

@roblourens
Copy link
Member

@roblourens roblourens commented Dec 6, 2016

Yes

Loading

@auchenberg
Copy link
Contributor

@auchenberg auchenberg commented Dec 6, 2016

Loading

@nyakoojo
Copy link

@nyakoojo nyakoojo 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

Loading

@roblourens
Copy link
Member

@roblourens roblourens commented Feb 2, 2017

Can you be more specific? What is the problem?

Loading

@nyakoojo
Copy link

@nyakoojo nyakoojo commented Feb 3, 2017

Loading

@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
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants