Skip to content

Commit cad4b0f

Browse files
authored
Add option 'enableFileBasedPrograms' (#8253)
1 parent ee8138c commit cad4b0f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

package.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1507,6 +1507,14 @@
15071507
"default": true,
15081508
"description": "%configuration.dotnet.projects.enableAutomaticRestore%"
15091509
},
1510+
"dotnet.projects.enableFileBasedPrograms": {
1511+
"type": "boolean",
1512+
"default": true,
1513+
"description": "%configuration.dotnet.projects.enableFileBasedPrograms%",
1514+
"tags": [
1515+
"preview"
1516+
]
1517+
},
15101518
"razor.languageServer.directory": {
15111519
"type": "string",
15121520
"scope": "machine-overridable",

package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"configuration.dotnet.server.useServerGC": "Configure the language server to use .NET server garbage collection. Server garbage collection generally provides better performance at the expensive of higher memory consumption.",
4040
"configuration.dotnet.enableXamlTools": "Enables XAML tools when using C# Dev Kit",
4141
"configuration.dotnet.projects.enableAutomaticRestore": "Enables automatic NuGet restore if the extension detects assets are missing.",
42+
"configuration.dotnet.projects.enableFileBasedPrograms": "Enables the preview \"file-based programs\" (dotnet run app.cs) experience.",
4243
"configuration.dotnet.projects.binaryLogPath": "Sets a path where MSBuild binary logs are written to when loading projects, to help diagnose loading errors.",
4344
"configuration.dotnet.preferCSharpExtension": "Forces projects to load with the C# extension only. This can be useful when using legacy project types that are not supported by C# Dev Kit. (Requires window reload)",
4445
"configuration.dotnet.typeMembers.memberInsertionLocation": "The insertion location of properties, events, and methods When implement interface or abstract class.",

0 commit comments

Comments
 (0)