Skip to content

Commit a4d5e50

Browse files
committed
Add select parent folder command and localization support
- simiplify notification shown during progress - don't show paths etc. - on a file in open editors, implement command: 'select parent folder...' - place 'select parent folder' above'select imported files'
1 parent 6f44e99 commit a4d5e50

24 files changed

Lines changed: 115 additions & 27 deletions

‎apps/editor/package.json‎

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,11 @@
404404
"command": "codeWebChat.selectChangedFiles",
405405
"title": "%codeWebChat.selectChangedFiles.title%",
406406
"category": "Code Web Chat"
407+
},
408+
{
409+
"command": "codeWebChat.selectParentFolder",
410+
"title": "%codeWebChat.selectParentFolder.title%",
411+
"category": "Code Web Chat"
407412
}
408413
],
409414
"submenus": [
@@ -785,20 +790,25 @@
785790
"group": "1_prompt@1"
786791
},
787792
{
788-
"command": "codeWebChat.selectImportedFiles",
793+
"command": "codeWebChat.selectParentFolder",
789794
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
790795
"group": "2_modification@2"
791796
},
792797
{
793-
"command": "codeWebChat.selectReferencingFiles",
798+
"command": "codeWebChat.selectImportedFiles",
794799
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
795800
"group": "2_modification@3"
796801
},
797802
{
798-
"command": "codeWebChat.setRanges",
803+
"command": "codeWebChat.selectReferencingFiles",
799804
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
800805
"group": "2_modification@4"
801806
},
807+
{
808+
"command": "codeWebChat.setRanges",
809+
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
810+
"group": "2_modification@5"
811+
},
802812
{
803813
"command": "codeWebChat.revealInExplorer",
804814
"when": "view == codeWebChatViewOpenEditors && viewItem == openEditor",
@@ -834,20 +844,25 @@
834844
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewSelectedFiles) && (viewItem == directory || viewItem == workspaceRoot || viewItem == contextDirectory || viewItem == contextWorkspaceRoot)",
835845
"group": "1_modification@4"
836846
},
847+
{
848+
"command": "codeWebChat.selectParentFolder",
849+
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewSelectedFiles) && (viewItem == file || viewItem == contextFile)",
850+
"group": "1_modification@5"
851+
},
837852
{
838853
"command": "codeWebChat.selectImportedFiles",
839854
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewSelectedFiles) && (viewItem == file || viewItem == contextFile || viewItem == directory || viewItem == contextDirectory || viewItem == workspaceRoot || viewItem == contextWorkspaceRoot)",
840-
"group": "1_modification@5"
855+
"group": "1_modification@6"
841856
},
842857
{
843858
"command": "codeWebChat.selectReferencingFiles",
844859
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewSelectedFiles) && (viewItem == file || viewItem == contextFile || viewItem == directory || viewItem == contextDirectory || viewItem == workspaceRoot || viewItem == contextWorkspaceRoot)",
845-
"group": "1_modification@6"
860+
"group": "1_modification@7"
846861
},
847862
{
848863
"command": "codeWebChat.setRanges",
849864
"when": "(view == codeWebChatViewWorkspace || view == codeWebChatViewSelectedFiles) && viewItem == file",
850-
"group": "1_modification@7"
865+
"group": "1_modification@8"
851866
},
852867
{
853868
"command": "codeWebChat.findInFolder",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Маркирай променените файлове...",
5353
"codeWebChat.selectCommitFiles.title": "Маркирай файлове от commit...",
5454
"codeWebChat.selectClipboardPaths.title": "Маркирай пътищата от клипборда...",
55-
"codeWebChat.selectChangedFiles.title": "Избери променени файлове..."
55+
"codeWebChat.selectChangedFiles.title": "Избери променени файлове...",
56+
"codeWebChat.selectParentFolder.title": "Избери родителска папка..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Vybrat upravené soubory...",
5353
"codeWebChat.selectCommitFiles.title": "Vybrat soubory z commitu...",
5454
"codeWebChat.selectClipboardPaths.title": "Vybrat cesty ze schránky...",
55-
"codeWebChat.selectChangedFiles.title": "Vybrat změněné soubory..."
55+
"codeWebChat.selectChangedFiles.title": "Vybrat změněné soubory...",
56+
"codeWebChat.selectParentFolder.title": "Vybrat nadřazenou složku..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Geänderte Dateien auswählen...",
5353
"codeWebChat.selectCommitFiles.title": "Dateien aus Commit auswählen...",
5454
"codeWebChat.selectClipboardPaths.title": "Zwischenablage-Pfade auswählen...",
55-
"codeWebChat.selectChangedFiles.title": "Geänderte Dateien auswählen..."
55+
"codeWebChat.selectChangedFiles.title": "Geänderte Dateien auswählen...",
56+
"codeWebChat.selectParentFolder.title": "Übergeordneten Ordner auswählen..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Marcar archivos modificados...",
5353
"codeWebChat.selectCommitFiles.title": "Marcar archivos de un commit...",
5454
"codeWebChat.selectClipboardPaths.title": "Seleccionar rutas del portapapeles...",
55-
"codeWebChat.selectChangedFiles.title": "Seleccionar archivos cambiados..."
55+
"codeWebChat.selectChangedFiles.title": "Seleccionar archivos cambiados...",
56+
"codeWebChat.selectParentFolder.title": "Seleccionar carpeta principal..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Cocher les fichiers modifiés...",
5353
"codeWebChat.selectCommitFiles.title": "Cocher les fichiers d'un commit...",
5454
"codeWebChat.selectClipboardPaths.title": "Sélectionner les chemins du presse-papiers...",
55-
"codeWebChat.selectChangedFiles.title": "Sélectionner les fichiers modifiés..."
55+
"codeWebChat.selectChangedFiles.title": "Sélectionner les fichiers modifiés...",
56+
"codeWebChat.selectParentFolder.title": "Sélectionner le dossier parent..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Módosított fájlok kijelölése...",
5353
"codeWebChat.selectCommitFiles.title": "Commit fájljainak kijelölése...",
5454
"codeWebChat.selectClipboardPaths.title": "Vágólap útvonalainak kijelölése...",
55-
"codeWebChat.selectChangedFiles.title": "Módosított fájlok kiválasztása..."
55+
"codeWebChat.selectChangedFiles.title": "Módosított fájlok kiválasztása...",
56+
"codeWebChat.selectParentFolder.title": "Szülő mappa kiválasztása..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Seleziona file modificati...",
5353
"codeWebChat.selectCommitFiles.title": "Seleziona i file da un commit...",
5454
"codeWebChat.selectClipboardPaths.title": "Seleziona percorsi dagli appunti...",
55-
"codeWebChat.selectChangedFiles.title": "Seleziona i file modificati..."
55+
"codeWebChat.selectChangedFiles.title": "Seleziona i file modificati...",
56+
"codeWebChat.selectParentFolder.title": "Seleziona cartella superiore..."
5657
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "変更されたファイルを選択...",
5353
"codeWebChat.selectCommitFiles.title": "コミットからのファイルを選択...",
5454
"codeWebChat.selectClipboardPaths.title": "クリップボードのパスを選択...",
55-
"codeWebChat.selectChangedFiles.title": "変更されたファイルを選択..."
55+
"codeWebChat.selectChangedFiles.title": "変更されたファイルを選択...",
56+
"codeWebChat.selectParentFolder.title": "親フォルダーを選択..."
5657
}

‎apps/editor/package.nls.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,6 @@
5252
"codeWebChat.selectUnstagedFiles.title": "Select Unstaged Files...",
5353
"codeWebChat.selectCommitFiles.title": "Select Files of Commit...",
5454
"codeWebChat.selectClipboardPaths.title": "Select Clipboard Paths...",
55-
"codeWebChat.selectChangedFiles.title": "Select Changed Files..."
55+
"codeWebChat.selectChangedFiles.title": "Select Changed Files...",
56+
"codeWebChat.selectParentFolder.title": "Select Parent Folder..."
5657
}

0 commit comments

Comments
 (0)