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

Pasted Multi-line Text Not Prefixed #19

Open
JProffitt71 opened this issue Nov 6, 2018 · 1 comment
Open

Pasted Multi-line Text Not Prefixed #19

JProffitt71 opened this issue Nov 6, 2018 · 1 comment

Comments

@JProffitt71
Copy link

JProffitt71 commented Nov 6, 2018

If I paste any text with a line break in it into a comment, the new lines inserted do not get prefixed with the comment (either * or //).

Ideally, I would like to see something like this happen:

Copy:

(Multi
line
text)

Paste into:

/**
 * Comment
 * (Paste here)
 */

// Comment (Paste here)

Result:

/**
 * Comment
 * (Multi
 * line
 * text)
 */

// Comment (Multi
// line
// text)
@JProffitt71 JProffitt71 changed the title Multi-line comments do not prefix pasted text Pasted Multi-line Text Not Prefixed Nov 6, 2018
@JProffitt71
Copy link
Author

Were you to implement this, I also think that pasted text should always be prefixed when pasted into a single-line comment, even if single-line comment on enter is false, as the user intention in that use case is always unambiguously to add content to the comment.

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