Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

fix(vscode): Text duplication when using VSCode git utilities #4338 #4376

Merged
merged 2 commits into from
Apr 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ when there are breaking changes.

### Configuration
### Editors
- Fixed an issue where the VSCode extension duplicates text when using VSCode git utilities [#4338]
### Formatter

- Fix an issue where formatting of JSX string literals property values were using incorrect quotes [#4054](https://github.com/rome/tools/issues/4054)
Expand Down
10 changes: 5 additions & 5 deletions editors/vscode/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ export async function activate(context: ExtensionContext) {
);

const documentSelector: DocumentFilter[] = [
{ language: "javascript" },
{ language: "typescript" },
{ language: "javascriptreact" },
{ language: "typescriptreact" },
{ language: "json" },
{ language: "javascript", scheme: "file" },
{ language: "typescript", scheme: "file" },
{ language: "javascriptreact", scheme: "file" },
{ language: "typescriptreact", scheme: "file" },
{ language: "json", scheme: "file" },
];

const clientOptions: LanguageClientOptions = {
Expand Down