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

Do not continue comments after newline! #351

Open
DamynChipman opened this issue Dec 10, 2020 · 1 comment
Open

Do not continue comments after newline! #351

DamynChipman opened this issue Dec 10, 2020 · 1 comment

Comments

@DamynChipman
Copy link

I love using docblockr, it speeds coding up significantly. However, what does not speed things up is hitting enter after writing a comment, and having to erase the automatically inserted comment characters.

I know with docblockr, if I use after creating a comment, the next line is a normal code editing line. However, it is much more common for me to need code lines after a comment instead of a new comment line (for this, I just use multiline comments anyways...).

Is there a way (or potential future update) to have the user toggle this behavior?

@audreyseo
Copy link
Contributor

This does not answer your question, but you can use shift-enter to not continue the comment and avoid deleting the characters, see documentation here under “Comment Extension”. It’s been a while since I’ve developed on docblockr but if other people think it’s worth it to add a way to disable single line comment extension (and it’s not already a feature slated to be added), then I would not be opposed to adding this and submitting a pull request.

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