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

Idea: line prefix #35

Closed
thejohnfreeman opened this issue Aug 28, 2018 · 3 comments
Closed

Idea: line prefix #35

thejohnfreeman opened this issue Aug 28, 2018 · 3 comments

Comments

@thejohnfreeman
Copy link

To make it easy to generate comments, even indented, offer an input for a prefix that appears on every line, e.g. "⎵⎵⎵⎵#⎵" would be a four-space indented Python comment.

@ozh
Copy link
Owner

ozh commented Aug 29, 2018

Honestly I feel this would fix a problem that doesnt exist. Way easier to handle proper indentation as needed within your text/code editor (eg select a whole paragraph, hit Tab, every line is four space indented, right?)

@ozh ozh closed this as completed Aug 29, 2018
@thejohnfreeman
Copy link
Author

Unless I'm pasting into a webpage or a notebook where I don't have a smart editor, but that's fine.

@dwesely
Copy link
Contributor

dwesely commented Sep 14, 2018

I found myself looking for the same feature, didn't notice it was reported as an issue until after I committed the update. I had added the prefix option into the branch I made the pull request for earlier today, #36 . My thought was to use it when posting to a webpage or if I'm not using my usual IDE or something.

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

3 participants