Skip to content

Extra /// being added when saving file #58

@dsarfati

Description

@dsarfati

Running VSCode on Mac. When I save (using either hotkey or file > save) and my cursor is at the end of a comment line the next line is commented out with an extra /// when the save is complete. This happens when the next line is either another comment or code.

For example:
(Note: cursor after 'world')

/// <summary>
/// Writes hello world|
/// </summary>
public void WriteHello(){}

Save
(Note: cursor moves to next line after new ///)

/// <summary>
/// Writes hello world
/// |/// </summary>
public void WriteHello(){}

For example:
(Note: cursor after '')

/// <summary>
/// Writes hello world
/// </summary>|
public void WriteHello(){}

Save
(Note: cursor again moves to next line after new ///)

/// <summary>
/// Writes hello world
/// </summary>
/// |public void WriteHello(){}

Any help would be greatly appreciated

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions