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

Uncommenting of doc comments #3133

Open
FMorschel opened this issue Jan 30, 2025 · 1 comment
Open

Uncommenting of doc comments #3133

FMorschel opened this issue Jan 30, 2025 · 1 comment

Comments

@FMorschel
Copy link

When you CTRL + / on a Doc comment (with triple /) it keeps one of the /. I'd like for DartPad to know how to handle that. This would be useful for uncommenting examples on docs for testing something out.

@FMorschel
Copy link
Author

Dart-Code actually has another command for this:

Image

We can bind to any keys (in my case I've bonded it to CTRL + SHIFT + /) for the convenience of VS Code. I think if this could be done separately and mentioned somewhere it would be nice too. But maybe when the user wants to remove a comment always remove all / at the start no matter what?

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

1 participant