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

formatting code requires re-opening file #2

Closed
victoroux opened this issue Feb 11, 2016 · 5 comments
Closed

formatting code requires re-opening file #2

victoroux opened this issue Feb 11, 2016 · 5 comments

Comments

@victoroux
Copy link

Hi!

Great work so far. If I were to configure a task to format code on build, it will properly re-load the file I'm working on right in front of me. If I try to format "on-save" using this extension, it requires me to quickly ctrl-tab twice to reload the page.

Is this an extension issue or a problem with VS Code itself?

@MickVanDuijn
Copy link

Hi!

I have the same issue. It is still better than manually executing the command, but it would be nice if it could reload automatically. Still, great work :)

@bmingles
Copy link
Member

I am looking into this one. Still haven't found anywhere in the vscode extension api to refresh a single file. I can reload vscode, but IMO it hurts the user experience to reload the application on every file save.

@mattetti
Copy link

encountered the same issue here

@bmingles
Copy link
Member

I have an issue opened with the vscode team to explore how to fix this microsoft/vscode#7532

@bmingles
Copy link
Member

Still doesn't appear to be an api for this as microsoft/vscode#7532 is still open. Closing for now until I hear otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants