Skip to content

Please allow us to disable Comment Continuation #246708

Open
@LucHermkens

Description

@LucHermkens

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

  • VS Code Version: 1.96.2
  • OS Version: macOS 15.3.2

Steps to Reproduce:

  1. Enter the following code in a TypeScript file:

    // Test: console.log('hi');
    
  2. Put your cursor after the space behind Test: in the comment and press Enter

Result:

// Test: 
// console.log('hi');

Desired result:

// Test: 
console.log('hi');

This has been mentioned before in the original 'continue comment' issue: #26694 (comment)
But that issue has been closed without a definitive (and easy) solution.

I think there should be an option like this:

"comments.continue": false,

Metadata

Metadata

Assignees

Labels

editor-autoindentEditor auto indentation issuesunder-discussionIssue is under discussion for relevance, priority, approach

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions