Skip to content

Commit 1863537

Browse files
committedApr 4, 2021
#77 - Support for "Docker Application"
1 parent af71b79 commit 1863537

File tree

3 files changed

+22
-5
lines changed

3 files changed

+22
-5
lines changed
 

‎.vscode/settings.json

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"VSTA",
88
"VSTO",
99
"Zune",
10+
"dcproj",
1011
"endglobal",
1112
"endglobalsection",
1213
"endproject",

‎CHANGELOG.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
88

99
New:
1010

11+
* #77 - Support for "Docker Application"
12+
* Project type : `{E53339B2-1760-4266-BCC7-CA923CBCF16C}`
13+
* Project file extension should: `.dcproj`
1114
* #22 - Show error when line with file format is missing
12-
* `Microsoft Visual Studio Solution File, Format Version`
15+
* Line start with `Microsoft Visual Studio Solution File, Format Version`
1316
* #22 - Show warnings when lines with visual studio versions are missing
14-
* `VisualStudioVersion` and `MinimumVisualStudioVersion`
17+
* Line start with `VisualStudioVersion` and `MinimumVisualStudioVersion`
1518
* #22 - Show info when comment line for visual studio major version is missing
16-
* `# Visual Studio Version`
17-
* #68 - Show corresponding Visual Studio name as CodeLens on version lines
19+
* Line start with `# Visual Studio Version`
20+
* #68 - CodeLens show corresponding Visual Studio name on version lines
1821
* e.g. `VisualStudioVersion = 16.0.31004.235` show `Visual Studio 2019`
1922
* e.g. `MinimumVisualStudioVersion = 10.0.40219.1` show `Visual Studio 2010`
2023
* #52 - Code completion for header (file format + comment + version lines)

‎src/projects/ProjectTypes.ts

+14-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export class ProjectTypes
33
// TODO: refactor this
44

55
/**
6-
* List with all known "C#"" (C-Sharp) project types
6+
* List with all known "C# (C-Sharp)"" project types
77
*/
88
private static _projectTypesCSharp: Array<[string, string]> =
99
[
@@ -64,6 +64,14 @@ export class ProjectTypes
6464
[ "C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5", "Windows Application Packaging" ],
6565
]
6666

67+
/**
68+
* List with all known "Docker" project types
69+
*/
70+
private static _projectTypesDocker: Array<[string, string]> =
71+
[
72+
[ "E53339B2-1760-4266-BCC7-CA923CBCF16C", "Docker Application" ],
73+
]
74+
6775
/**
6876
* List with all known other project types
6977
*/
@@ -120,6 +128,7 @@ export class ProjectTypes
120128
...ProjectTypes._projectTypesShared,
121129
...ProjectTypes._projectTypesFSharp,
122130
...ProjectTypes._projectTypesPackaging,
131+
...ProjectTypes._projectTypesDocker,
123132
...ProjectTypes._projectTypesOther,
124133
];
125134

@@ -205,6 +214,10 @@ export class ProjectTypes
205214
projectList = ProjectTypes._projectTypesPackaging;
206215
break;
207216

217+
case ".dcproj":
218+
projectList = ProjectTypes._projectTypesDocker;
219+
break;
220+
208221
default:
209222
// ignore unknown file extensions
210223
return true;

0 commit comments

Comments
 (0)
Please sign in to comment.