Skip to content

Commit f0ddb88

Browse files
Quynhd07Quynh
and
Quynh
authored
Issue #17037: Update text for "entire workspace" when selecting or clearing interpreters (#17588)
* update entire workspace text * add news item * add news item Co-authored-by: Quynh <[email protected]>
1 parent 63428e3 commit f0ddb88

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

news/2 Fixes/10737.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change text to "Select at workspace level" instead of "Entire workspace" when selecting or clearing interpreters in a multiroot folder scenario.
2+
(Thanks [Quynh Do](https://github.com/quynhd07))

package.nls.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"Experiments.inGroup": "Experiment '{0}' is active",
4848
"Experiments.optedOutOf": "Experiment '{0}' is inactive",
4949
"Interpreters.RefreshingInterpreters": "Refreshing Python Interpreters",
50-
"Interpreters.entireWorkspace": "Entire workspace",
50+
"Interpreters.entireWorkspace": "Select at workspace level",
5151
"Interpreters.pythonInterpreterPath": "Python interpreter path: {0}",
5252
"Interpreters.DiscoveringInterpreters": "Discovering Python Interpreters",
5353
"Interpreters.condaInheritEnvMessage": "We noticed you're using a conda environment. If you are experiencing issues with this environment in the integrated terminal, we recommend that you let the Python extension change \"terminal.integrated.inheritEnv\" to false in your user settings.",

src/client/common/utils/localize.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ export namespace Interpreters {
271271
'Interpreters.environmentPromptMessage',
272272
'We noticed a new virtual environment has been created. Do you want to select it for the workspace folder?',
273273
);
274-
export const entireWorkspace = localize('Interpreters.entireWorkspace', 'Entire workspace');
274+
export const entireWorkspace = localize('Interpreters.entireWorkspace', 'Select at workspace level');
275275
export const selectInterpreterTip = localize(
276276
'Interpreters.selectInterpreterTip',
277277
'Tip: you can change the Python interpreter used by the Python extension by clicking on the Python version in the status bar',

src/test/configuration/interpreterSelector/commands/resetInterpreter.unit.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ suite('Reset Interpreter Command', () => {
124124
workspace.verifyAll();
125125
pythonPathUpdater.verifyAll();
126126
});
127-
test('Update entire workspace settings when there is more than one workspace folder and `Entire workspace` is selected', async () => {
127+
test('Update entire workspace settings when there is more than one workspace folder and `Select at workspace level` is selected', async () => {
128128
workspace.setup((w) => w.workspaceFolders).returns(() => [folder1, folder2]);
129129
const expectedItems = [
130130
{

src/test/configuration/interpreterSelector/commands/setInterpreter.unit.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ suite('Set Interpreter Command', () => {
743743
workspace.verifyAll();
744744
pythonPathUpdater.verifyAll();
745745
});
746-
test('Update entire workspace settings when there is more than one workspace folder and `Entire workspace` is selected', async () => {
746+
test('Update entire workspace settings when there is more than one workspace folder and `Select at workspace level` is selected', async () => {
747747
pythonSettings.setup((p) => p.pythonPath).returns(() => 'python');
748748
const selectedItem: IInterpreterQuickPickItem = {
749749
description: '',

0 commit comments

Comments
 (0)