Skip to content

Commit a726dec

Browse files
authored
Remove node.js programming model experimental flag (#3612)
1 parent fc7a30c commit a726dec

File tree

5 files changed

+4
-12
lines changed

5 files changed

+4
-12
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Change Log
22

3+
## 1.10.3 - 2023-03-07
4+
5+
36
## 1.10.2 - 2023-02-23
47

58
### Added

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,11 +1079,6 @@
10791079
"type": "string",
10801080
"default": "src/functions",
10811081
"description": "%azureFunctions.functionSubpath%"
1082-
},
1083-
"azureFunctions.showNodeProgrammingModel": {
1084-
"type": "boolean",
1085-
"description": "%azureFunctions.showNodeProgrammingModel%",
1086-
"default": false
10871082
}
10881083
}
10891084
}

package.nls.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@
7979
"azureFunctions.showExtensionsCsprojWarning": "Show a warning when an Azure Functions project was detected that has mismatched \"extensions.csproj\" configuration.",
8080
"azureFunctions.showHiddenStacks": "Show hidden runtime stacks when creating a Function App in Azure. WARNING: These stacks may be in preview or may not be available in all regions.",
8181
"azureFunctions.showMultiCoreToolsWarning": "Show a warning if multiple installs of Azure Functions Core Tools are detected.",
82-
"azureFunctions.showNodeProgrammingModel": "Enable preview Node.js programming model",
8382
"azureFunctions.showProjectWarning": "Show a warning when an Azure Functions project was detected that has not been initialized for use in VS Code.",
84-
"azureFunctions.showPysteinModel": "Enable Python (New Model Preview)",
8583
"azureFunctions.showPythonVenvWarning": "Show a warning when an Azure Functions Python project was detected that does not have a virtual environment.",
8684
"azureFunctions.showReloadTemplates": "Show an option to reload templates when creating a function. This will clear the template cache.",
8785
"azureFunctions.showTargetFrameworkWarning": "Show a warning when an Azure Functions .NET project was detected that has mismatched target frameworks.",

src/commands/createNewProject/ProgrammingModelStep.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { AzureWizardPromptStep, IAzureQuickPickItem, IAzureQuickPickOptions, nonNullValue, openUrl } from '@microsoft/vscode-azext-utils';
7-
import { nodeProgrammingModelSetting } from '../../constants';
87
import { localize } from '../../localize';
9-
import { getWorkspaceSetting } from '../../vsCodeConfig/settings';
108
import { IProjectWizardContext } from './IProjectWizardContext';
119

1210
type ProgrammingModel = { modelVersion: number | undefined, label: string };
@@ -60,7 +58,6 @@ export class ProgrammingModelStep extends AzureWizardPromptStep<IProjectWizardCo
6058

6159
// this only impacts node for now so only check the feature flag for node
6260
return context.languageModel === undefined &&
63-
(!!getWorkspaceSetting(nodeProgrammingModelSetting) &&
64-
(context.language === 'JavaScript' || context.language === 'TypeScript'));
61+
(context.language === 'JavaScript' || context.language === 'TypeScript');
6562
}
6663
}

src/constants.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ export const projectTemplateKeySetting: string = 'projectTemplateKey';
2121
export const remoteBuildSetting: string = 'scmDoBuildDuringDeployment';
2222
export const javaBuildTool: string = 'javaBuildTool';
2323
export const functionSubpathSetting: string = 'functionSubpath';
24-
export const nodeProgrammingModelSetting: string = 'showNodeProgrammingModel';
2524

2625
export enum ProjectLanguage {
2726
CSharp = 'C#',

0 commit comments

Comments
 (0)