Remove node.js programming model experimental flag (#3612)
This commit is contained in:
Родитель
fc7a30c841
Коммит
a726dec9eb
|
@ -1,5 +1,8 @@
|
|||
# Change Log
|
||||
|
||||
## 1.10.3 - 2023-03-07
|
||||
|
||||
|
||||
## 1.10.2 - 2023-02-23
|
||||
|
||||
### Added
|
||||
|
|
|
@ -1079,11 +1079,6 @@
|
|||
"type": "string",
|
||||
"default": "src/functions",
|
||||
"description": "%azureFunctions.functionSubpath%"
|
||||
},
|
||||
"azureFunctions.showNodeProgrammingModel": {
|
||||
"type": "boolean",
|
||||
"description": "%azureFunctions.showNodeProgrammingModel%",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,9 +79,7 @@
|
|||
"azureFunctions.showExtensionsCsprojWarning": "Show a warning when an Azure Functions project was detected that has mismatched \"extensions.csproj\" configuration.",
|
||||
"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.",
|
||||
"azureFunctions.showMultiCoreToolsWarning": "Show a warning if multiple installs of Azure Functions Core Tools are detected.",
|
||||
"azureFunctions.showNodeProgrammingModel": "Enable preview Node.js programming model",
|
||||
"azureFunctions.showProjectWarning": "Show a warning when an Azure Functions project was detected that has not been initialized for use in VS Code.",
|
||||
"azureFunctions.showPysteinModel": "Enable Python (New Model Preview)",
|
||||
"azureFunctions.showPythonVenvWarning": "Show a warning when an Azure Functions Python project was detected that does not have a virtual environment.",
|
||||
"azureFunctions.showReloadTemplates": "Show an option to reload templates when creating a function. This will clear the template cache.",
|
||||
"azureFunctions.showTargetFrameworkWarning": "Show a warning when an Azure Functions .NET project was detected that has mismatched target frameworks.",
|
||||
|
|
|
@ -4,9 +4,7 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { AzureWizardPromptStep, IAzureQuickPickItem, IAzureQuickPickOptions, nonNullValue, openUrl } from '@microsoft/vscode-azext-utils';
|
||||
import { nodeProgrammingModelSetting } from '../../constants';
|
||||
import { localize } from '../../localize';
|
||||
import { getWorkspaceSetting } from '../../vsCodeConfig/settings';
|
||||
import { IProjectWizardContext } from './IProjectWizardContext';
|
||||
|
||||
type ProgrammingModel = { modelVersion: number | undefined, label: string };
|
||||
|
@ -60,7 +58,6 @@ export class ProgrammingModelStep extends AzureWizardPromptStep<IProjectWizardCo
|
|||
|
||||
// this only impacts node for now so only check the feature flag for node
|
||||
return context.languageModel === undefined &&
|
||||
(!!getWorkspaceSetting(nodeProgrammingModelSetting) &&
|
||||
(context.language === 'JavaScript' || context.language === 'TypeScript'));
|
||||
(context.language === 'JavaScript' || context.language === 'TypeScript');
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,6 @@ export const projectTemplateKeySetting: string = 'projectTemplateKey';
|
|||
export const remoteBuildSetting: string = 'scmDoBuildDuringDeployment';
|
||||
export const javaBuildTool: string = 'javaBuildTool';
|
||||
export const functionSubpathSetting: string = 'functionSubpath';
|
||||
export const nodeProgrammingModelSetting: string = 'showNodeProgrammingModel';
|
||||
|
||||
export enum ProjectLanguage {
|
||||
CSharp = 'C#',
|
||||
|
|
Загрузка…
Ссылка в новой задаче