Skip to content

Conversation

@action-hong
Copy link

When using multiple cursors to complete kebab-case class names, only the first line removes the "." , while other lines still retain the ".".

issue

According to the discussion, additionalTextEdits do not affect other lines.

Since additional text edits are "precise", e.g. naming a range and text, we cannot multiply them with each cursor location. However, the main edit of a completion will be applied for each cursor. So, ideally the c++ extension doesn't need additional text edits for this.

Therefore, instead of using additionalTextEdits, we set the range directly to include the "." for replacement.

fixed

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

Successfully merging this pull request may close these issues.

1 participant