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

Commit

Permalink
fix(vscode): Text duplication when using VSCode git utilities #4338 (#…
Browse files Browse the repository at this point in the history
…4376)

fix(vscode): Text duplication when using VSCode git utilities #4338
  • Loading branch information
denbezrukov committed Apr 15, 2023
1 parent cc54eed commit 7cfaf39
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
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

0 comments on commit 7cfaf39

Please sign in to comment.