Skip to content

Commit 9e5202b

Browse files
committed
Simplify workspace check clearing behavior by removing custom configuration options
- current behavior: user can 'check all' all workspace files or 'check all' open editors. Expected behavior: user can 'check all' open editors only. - remove setting 'clear checks in workspace behavior' (should ignore open editors be default) - current behavior: user can 'clear checks' in workspace and open editors separately. expected behavior: user can 'clear checks' only in workspace - and all checks are cleared - in open editors as well ├── apps │ └── editor │ ├── package.json │ ├── package.nls.bg.json │ ├── package.nls.cs.json │ ├── package.nls.de.json │ ├── package.nls.es.json │ ├── package.nls.fr.json │ ├── package.nls.hu.json │ ├── package.nls.it.json │ ├── package.nls.ja.json │ ├── package.nls.json │ ├── package.nls.ko.json │ ├── package.nls.pl.json │ ├── package.nls.pt-br.json │ ├── package.nls.ru.json │ ├── package.nls.tr.json │ ├── package.nls.zh-cn.json │ ├── package.nls.zh-tw.json │ └── src │ ├── context │ │ ├── context-initialization.ts │ │ ├── helpers │ │ │ ├── get-all-workspace-files.ts │ │ │ └── get-selected-files.ts │ │ ├── providers │ │ │ ├── open-editors │ │ │ │ └── open-editors-provider.ts │ │ │ ├── selected-files │ │ │ │ └── selected-files-provider.ts │ │ │ └── workspace │ │ │ ├── modules │ │ │ │ ├── index.ts │ │ │ │ └── token-calculator.ts │ │ │ └── workspace-provider.ts │ │ ├── shared-context-state.ts │ │ └── utils │ │ └── shrink-file │ │ ├── index.ts │ │ ├── languages │ │ │ ├── c-style.ts │ │ │ ├── css.ts │ │ │ ├── html.ts │ │ │ ├── jsx.ts │ │ │ ├── python.ts │ │ │ ├── ruby.ts │ │ │ └── sql.ts │ │ ├── shrink-file.spec.ts │ │ ├── shrink-file.ts │ │ └── test-cases │ │ ├── c-style │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── css │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── html │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── jsx │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── python │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── ruby │ │ │ ├── input.txt │ │ │ └── output.txt │ │ ├── scss │ │ │ ├── input.txt │ │ │ └── output.txt │ │ └── sql │ │ ├── input.txt │ │ └── output.txt │ └── views │ └── settings │ ├── backend │ │ ├── message-handlers │ │ │ └── index.ts │ │ └── settings-view-provider.ts │ ├── frontend │ │ ├── Home │ │ │ ├── Home.tsx │ │ │ └── sections │ │ │ └── GeneralSection.tsx │ │ ├── Settings.tsx │ │ ├── hooks │ │ │ └── use-settings.ts │ │ └── i18n │ │ └── translations │ │ └── general.ts │ └── types │ └── messages.ts └── packages └── shared └── src └── constants └── dictionary.ts
1 parent 7a1dc89 commit 9e5202b

30 files changed

Lines changed: 5 additions & 405 deletions

‎apps/editor/package.json‎

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,6 @@
178178
"category": "Code Web Chat",
179179
"icon": "$(archive)"
180180
},
181-
{
182-
"command": "codeWebChat.checkAll",
183-
"title": "%codeWebChat.checkAll.title%",
184-
"category": "Code Web Chat",
185-
"icon": "$(check-all)"
186-
},
187181
{
188182
"command": "codeWebChat.clearChecks",
189183
"title": "%codeWebChat.clearChecks.title%",
@@ -214,12 +208,6 @@
214208
"category": "Code Web Chat",
215209
"icon": "$(check-all)"
216210
},
217-
{
218-
"command": "codeWebChat.clearChecksOpenEditors",
219-
"title": "%codeWebChat.clearChecksOpenEditors.title%",
220-
"category": "Code Web Chat",
221-
"icon": "$(clear-all)"
222-
},
223211
{
224212
"command": "codeWebChat.closeEditor",
225213
"title": "%codeWebChat.closeEditor.title%",
@@ -486,14 +474,6 @@
486474
"command": "codeWebChat.clearChecks",
487475
"when": "false"
488476
},
489-
{
490-
"command": "codeWebChat.clearChecksOpenEditors",
491-
"when": "false"
492-
},
493-
{
494-
"command": "codeWebChat.checkAll",
495-
"when": "false"
496-
},
497477
{
498478
"command": "codeWebChat.checkAllOpenEditors",
499479
"when": "false"
@@ -679,11 +659,6 @@
679659
"when": "view == codeWebChatViewSelectedFiles",
680660
"group": "3_more@1"
681661
},
682-
{
683-
"command": "codeWebChat.checkAll",
684-
"when": "view == codeWebChatViewWorkspace",
685-
"group": "navigation@1"
686-
},
687662
{
688663
"command": "codeWebChat.clearChecks",
689664
"when": "view == codeWebChatViewWorkspace",
@@ -739,11 +714,6 @@
739714
"when": "view == codeWebChatViewOpenEditors",
740715
"group": "navigation@1"
741716
},
742-
{
743-
"command": "codeWebChat.clearChecksOpenEditors",
744-
"when": "view == codeWebChatViewOpenEditors",
745-
"group": "navigation@2"
746-
},
747717
{
748718
"command": "codeWebChat.copyMarkdownOpenEditors",
749719
"when": "view == codeWebChatViewOpenEditors",
@@ -988,15 +958,6 @@
988958
"scope": "resource",
989959
"default": false
990960
},
991-
"codeWebChat.clearChecksInWorkspaceBehavior": {
992-
"type": "string",
993-
"scope": "resource",
994-
"enum": [
995-
"ignore-open-editors",
996-
"uncheck-all"
997-
],
998-
"default": "ignore-open-editors"
999-
},
1000961
"codeWebChat.ignorePatterns": {
1001962
"type": "array",
1002963
"scope": "resource",

‎apps/editor/package.nls.bg.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Оцени разширението",
1515
"codeWebChat.openRepository.title": "Дай звезда в GitHub",
1616
"codeWebChat.followOnX.title": "Последвай в X",
17-
"codeWebChat.checkAll.title": "Маркирай всичко",
1817
"codeWebChat.clearChecks.title": "Размаркирай всичко",
1918
"codeWebChat.expandContextFolders.title": "Разгъни папките",
2019
"codeWebChat.collapseContextFolders.title": "Свий папките",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Свий папките",
2221
"codeWebChat.checkAllOpenEditors.title": "Маркирай всичко",
23-
"codeWebChat.clearChecksOpenEditors.title": "Размаркирай всичко",
2422
"codeWebChat.closeEditor.title": "Затвори редактора",
2523
"codeWebChat.closeAllEditors.title": "Затвори всички редактори",
2624
"codeWebChat.saveAll.title": "Запази всичко",

‎apps/editor/package.nls.cs.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Ohodnotit rozšíření",
1515
"codeWebChat.openRepository.title": "Dát hvězdičku na GitHubu",
1616
"codeWebChat.followOnX.title": "Sledujte na X",
17-
"codeWebChat.checkAll.title": "Vybrat vše",
1817
"codeWebChat.clearChecks.title": "Zrušit výběr",
1918
"codeWebChat.expandContextFolders.title": "Rozbalit složky",
2019
"codeWebChat.collapseContextFolders.title": "Sbalit složky",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Sbalit složky",
2221
"codeWebChat.checkAllOpenEditors.title": "Vybrat vše",
23-
"codeWebChat.clearChecksOpenEditors.title": "Zrušit výběr",
2422
"codeWebChat.closeEditor.title": "Zavřít editor",
2523
"codeWebChat.closeAllEditors.title": "Zavřít všechny editory",
2624
"codeWebChat.saveAll.title": "Uložit vše",

‎apps/editor/package.nls.de.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Erweiterung bewerten",
1515
"codeWebChat.openRepository.title": "Auf GitHub mit Stern versehen",
1616
"codeWebChat.followOnX.title": "Auf X folgen",
17-
"codeWebChat.checkAll.title": "Alle auswählen",
1817
"codeWebChat.clearChecks.title": "Auswahl aufheben",
1918
"codeWebChat.expandContextFolders.title": "Ordner erweitern",
2019
"codeWebChat.collapseContextFolders.title": "Ordner reduzieren",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Ordner reduzieren",
2221
"codeWebChat.checkAllOpenEditors.title": "Alle auswählen",
23-
"codeWebChat.clearChecksOpenEditors.title": "Auswahl aufheben",
2422
"codeWebChat.closeEditor.title": "Editor schließen",
2523
"codeWebChat.closeAllEditors.title": "Alle Editoren schließen",
2624
"codeWebChat.saveAll.title": "Alle speichern",

‎apps/editor/package.nls.es.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Calificar extensión",
1515
"codeWebChat.openRepository.title": "Dar estrella en GitHub",
1616
"codeWebChat.followOnX.title": "Seguir en X",
17-
"codeWebChat.checkAll.title": "Marcar todo",
1817
"codeWebChat.clearChecks.title": "Desmarcar todo",
1918
"codeWebChat.expandContextFolders.title": "Expandir carpetas",
2019
"codeWebChat.collapseContextFolders.title": "Contraer carpetas",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Contraer carpetas",
2221
"codeWebChat.checkAllOpenEditors.title": "Marcar todo",
23-
"codeWebChat.clearChecksOpenEditors.title": "Desmarcar todo",
2422
"codeWebChat.closeEditor.title": "Cerrar editor",
2523
"codeWebChat.closeAllEditors.title": "Cerrar todos los editores",
2624
"codeWebChat.saveAll.title": "Guardar todo",

‎apps/editor/package.nls.fr.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Évaluer l'extension",
1515
"codeWebChat.openRepository.title": "Ajouter une étoile sur GitHub",
1616
"codeWebChat.followOnX.title": "Suivre sur X",
17-
"codeWebChat.checkAll.title": "Tout cocher",
1817
"codeWebChat.clearChecks.title": "Tout décocher",
1918
"codeWebChat.expandContextFolders.title": "Développer les dossiers",
2019
"codeWebChat.collapseContextFolders.title": "Réduire les dossiers",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Réduire les dossiers",
2221
"codeWebChat.checkAllOpenEditors.title": "Tout cocher",
23-
"codeWebChat.clearChecksOpenEditors.title": "Tout décocher",
2422
"codeWebChat.closeEditor.title": "Fermer l'éditeur",
2523
"codeWebChat.closeAllEditors.title": "Fermer tous les éditeurs",
2624
"codeWebChat.saveAll.title": "Tout enregistrer",

‎apps/editor/package.nls.hu.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Bővítmény értékelése",
1515
"codeWebChat.openRepository.title": "Csillagozás a GitHubon",
1616
"codeWebChat.followOnX.title": "Követés az X-en",
17-
"codeWebChat.checkAll.title": "Összes kijelölése",
1817
"codeWebChat.clearChecks.title": "Kijelölések törlése",
1918
"codeWebChat.expandContextFolders.title": "Mappák kibontása",
2019
"codeWebChat.collapseContextFolders.title": "Mappák összecsukása",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Mappák összecsukása",
2221
"codeWebChat.checkAllOpenEditors.title": "Összes kijelölése",
23-
"codeWebChat.clearChecksOpenEditors.title": "Kijelölések törlése",
2422
"codeWebChat.closeEditor.title": "Szerkesztő bezárása",
2523
"codeWebChat.closeAllEditors.title": "Összes szerkesztő bezárása",
2624
"codeWebChat.saveAll.title": "Összes mentése",

‎apps/editor/package.nls.it.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Valuta l'estensione",
1515
"codeWebChat.openRepository.title": "Aggiungi una stella su GitHub",
1616
"codeWebChat.followOnX.title": "Segui su X",
17-
"codeWebChat.checkAll.title": "Seleziona tutto",
1817
"codeWebChat.clearChecks.title": "Deseleziona tutto",
1918
"codeWebChat.expandContextFolders.title": "Espandi cartelle",
2019
"codeWebChat.collapseContextFolders.title": "Comprimi cartelle",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Comprimi cartelle",
2221
"codeWebChat.checkAllOpenEditors.title": "Seleziona tutto",
23-
"codeWebChat.clearChecksOpenEditors.title": "Deseleziona tutto",
2422
"codeWebChat.closeEditor.title": "Chiudi editor",
2523
"codeWebChat.closeAllEditors.title": "Chiudi tutti gli editor",
2624
"codeWebChat.saveAll.title": "Salva tutto",

‎apps/editor/package.nls.ja.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "拡張機能を評価する",
1515
"codeWebChat.openRepository.title": "GitHubでスターをつける",
1616
"codeWebChat.followOnX.title": "Xでフォロー",
17-
"codeWebChat.checkAll.title": "すべて選択",
1817
"codeWebChat.clearChecks.title": "選択をクリア",
1918
"codeWebChat.expandContextFolders.title": "フォルダーを展開",
2019
"codeWebChat.collapseContextFolders.title": "フォルダーを折りたたむ",
2120
"codeWebChat.collapseWorkspaceFolders.title": "フォルダーを折りたたむ",
2221
"codeWebChat.checkAllOpenEditors.title": "すべて選択",
23-
"codeWebChat.clearChecksOpenEditors.title": "選択をクリア",
2422
"codeWebChat.closeEditor.title": "エディターを閉じる",
2523
"codeWebChat.closeAllEditors.title": "すべてのエディターを閉じる",
2624
"codeWebChat.saveAll.title": "すべて保存",

‎apps/editor/package.nls.json‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414
"codeWebChat.rateExtension.title": "Rate Extension",
1515
"codeWebChat.openRepository.title": "Star on GitHub",
1616
"codeWebChat.followOnX.title": "Follow on X",
17-
"codeWebChat.checkAll.title": "Check All",
1817
"codeWebChat.clearChecks.title": "Clear Checks",
1918
"codeWebChat.expandContextFolders.title": "Expand Folders",
2019
"codeWebChat.collapseContextFolders.title": "Collapse Folders",
2120
"codeWebChat.collapseWorkspaceFolders.title": "Collapse Folders",
2221
"codeWebChat.checkAllOpenEditors.title": "Check All",
23-
"codeWebChat.clearChecksOpenEditors.title": "Clear Checks",
2422
"codeWebChat.closeEditor.title": "Close Editor",
2523
"codeWebChat.closeAllEditors.title": "Close All Editors",
2624
"codeWebChat.saveAll.title": "Save All",

0 commit comments

Comments
 (0)