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

Format current line when there is no selection #46

Closed
kashev opened this issue Jun 8, 2017 · 3 comments
Closed

Format current line when there is no selection #46

kashev opened this issue Jun 8, 2017 · 3 comments

Comments

@kashev
Copy link

kashev commented Jun 8, 2017

Is there any way to run the formatter on the current line? Right now, to do so, I have to select one or more characters on the line to run the formatter, when I'd like to just hit a shortcut key.

@kashev
Copy link
Author

kashev commented Jun 8, 2017

Is this solved by #12? It doesn't seem to work as indicated it should in that issue.

@jhasse
Copy link

jhasse commented Jul 18, 2018

No, "Format Selection" is only available when something is actually selected.

@xaverh
Copy link
Owner

xaverh commented Nov 12, 2018

Has been fixed upstream, cf. https://code.visualstudio.com/updates/v1_29#_format-selection

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

No branches or pull requests

3 participants