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

Automatically extend doc/comment when going to next line. #8896

Closed
TornaxO7 opened this issue Nov 24, 2023 · 1 comment
Closed

Automatically extend doc/comment when going to next line. #8896

TornaxO7 opened this issue Nov 24, 2023 · 1 comment
Labels
C-enhancement Category: Improvements

Comments

@TornaxO7
Copy link
Contributor

You have opened the following file test.rs:

/// doc comment|
                         ^ Cursor

and now you press enter. It would be nice if helix adds the leading /// for you:

/// doc comment
/// |
    ^ Cursor

but the current behaviour is currently:

/// doc comment
|
^ Cursors
@TornaxO7 TornaxO7 added the C-enhancement Category: Improvements label Nov 24, 2023
@kirawi
Copy link
Member

kirawi commented Nov 24, 2023

Duplicate of #1730

@kirawi kirawi marked this as a duplicate of #1730 Nov 24, 2023
@kirawi kirawi closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Improvements
Projects
None yet
Development

No branches or pull requests

2 participants