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

Wrong indentation when pasting javadoc-style multiline comments #155165

Closed
gene-pavlovsky opened this issue Jul 14, 2022 · 5 comments
Closed

Wrong indentation when pasting javadoc-style multiline comments #155165

gene-pavlovsky opened this issue Jul 14, 2022 · 5 comments
Assignees
Labels
editor-autoindent Editor auto indentation issues feature-request Request for new features or functionality

Comments

@gene-pavlovsky
Copy link

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.69.1
  • OS Version: macOS 12.4

Steps to Reproduce:

  1. Copy the following example code to the clipboard
/**
 * Purchase was successful
 */
var Success = "success";
  1. Open a .js file (for example, it applies not only to JS) in VS Code
  2. Paste from clipboard

Actual result: the last line (var Success) gets indented one extra space (on the same level as */).
Expected result: text pasted with original indentation.

Note: when manually typing a javadoc-style comment, VS code does auto-indentation correctly.

@VSCodeTriageBot
Copy link
Collaborator

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@ssigwart
Copy link
Contributor

This is a duplicate of #119225. I opened PR #136579, but can't get any traction on getting it reviewed. Adding a +1 reaction to #119225 might help.

@gene-pavlovsky
Copy link
Author

gene-pavlovsky commented Jul 15, 2022

Looks like a duplicate. I couldn't find it, as I tried searching for "javadoc" and "multi-line comments". Added +1 to yours

@VSCodeTriageBot
Copy link
Collaborator

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot
Copy link
Collaborator

🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

@VSCodeTriageBot VSCodeTriageBot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
editor-autoindent Editor auto indentation issues feature-request Request for new features or functionality
Projects
None yet
Development

No branches or pull requests

4 participants