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

Add a feature to escape formatting for a line or a block of text #4475

Closed
sean-mcmanus opened this issue Oct 21, 2019 · 1 comment
Closed
Labels
Feature: Code Formatting Feature Request Language Service more votes needed Issues that have been postponed until more community members upvote it
Milestone

Comments

@sean-mcmanus
Copy link
Contributor

I want you to add a feature to escape formatting for a line or a block of text to get results like this:
krijgertje's solution
Some code is better understood when written in one line.
What I suggest is a quick key combination like CTRL + / which comments a line when no text is selected or comments an entire selection when text is previously selected.

Maybe when the formatting parser runs upon Save, the lines with a flag of 'don't format' are simply skipped. The flags are added by the user while writing code with a key combination for e.g. CTRL + >, which would be indeed very similar in working to the commenting mechanism.

Originally posted by @kingmanas in #883 (comment)

@sean-mcmanus sean-mcmanus changed the title dd a feature to escape formatting for a line or a block of text Add a feature to escape formatting for a line or a block of text Oct 21, 2019
@sean-mcmanus sean-mcmanus added this to the Tracking milestone Oct 21, 2019
@github-actions
Copy link

github-actions bot commented Oct 8, 2020

This feature request is being closed due to insufficient upvotes. When at least 2 upvotes are received, this issue will be eligible for our backlog.

@github-actions github-actions bot added the more votes needed Issues that have been postponed until more community members upvote it label Oct 8, 2020
@github-actions github-actions bot closed this as completed Oct 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Code Formatting Feature Request Language Service more votes needed Issues that have been postponed until more community members upvote it
Projects
None yet
Development

No branches or pull requests

1 participant