Skip to content

Commit fdc4688

Browse files
committed
add compiler detection & setup command
supports dmd, ldc, gdc
1 parent 4e9af55 commit fdc4688

4 files changed

Lines changed: 407 additions & 63 deletions

File tree

package-lock.json

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "code-d",
33
"displayName": "D Programming Language (code-d)",
44
"description": "auto-complete, snippets, linter and formatter for dlang",
5-
"version": "0.22.0",
5+
"version": "0.23.0-beta.3",
66
"publisher": "webfreak",
77
"repository": {
88
"type": "git",
@@ -46,7 +46,8 @@
4646
"onCommand:code-d.addImport",
4747
"onCommand:code-d.searchDocs",
4848
"onCommand:code-d.openDocsAtCursor",
49-
"onCommand:code-d.convertDubRecipe"
49+
"onCommand:code-d.convertDubRecipe",
50+
"onCommand:code-d.setupCompiler"
5051
],
5152
"main": "./out/extension",
5253
"keywords": [
@@ -1055,6 +1056,11 @@
10551056
"command": "code-d.viewUserGuide",
10561057
"title": "Open User Guide / Documentation",
10571058
"category": "code-d"
1059+
},
1060+
{
1061+
"command": "code-d.setupCompiler",
1062+
"title": "Setup D Compiler",
1063+
"category": "code-d"
10581064
}
10591065
],
10601066
"jsonValidation": [
@@ -1184,14 +1190,14 @@
11841190
],
11851191
"walkthroughs": [
11861192
{
1187-
"id": "code-d.welcome",
1193+
"id": "welcome",
11881194
"title": "Get Started with D Development",
11891195
"description": "Setup your development experience for the D programming language.",
11901196
"steps": [
11911197
{
1192-
"id": "code-d.welcome.installCompiler",
1193-
"title": "Install and choose a D compiler (DMD, LDC or GCC)",
1194-
"description": "Run the 'Setup D Compiler' command to choose which D compiler to use with code-d and DUB. You can find available compilers on https://dlang.org/download.html",
1198+
"id": "welcome.installCompiler",
1199+
"title": "Install and choose a D compiler (DMD, LDC or GDC)",
1200+
"description": "Run the 'Setup D Compiler' command to choose which D compiler to use with code-d and DUB. You can find available compilers on [https://dlang.org/download.html](https://dlang.org/download.html)\n[Setup D Compiler](command:code-d.setupCompiler)",
11951201
"completionEvents": [
11961202
"onCommand:code-d.setupCompiler"
11971203
],
@@ -1200,23 +1206,27 @@
12001206
}
12011207
},
12021208
{
1203-
"id": "code-d.welcome.userSettings",
1209+
"id": "welcome.userSettings",
12041210
"title": "Configure code-d",
12051211
"description": "Review some common user settings",
12061212
"media": {
12071213
"markdown": "res/walkthroughs/userSettings.md"
12081214
}
12091215
},
12101216
{
1211-
"id": "code-d.welcome.checkUserGuide",
1212-
"title": "Check out user guide",
1213-
"description": "The included code-d user guide contains tutorials and a description on all features of code-d. Make sure you read it!",
1217+
"id": "welcome.checkUserGuide",
1218+
"title": "Check out the user guide",
1219+
"description": "The included code-d user guide contains tutorials and a description on all features of code-d. Make sure you read it!\n[Open User Guide / Documentation](command:code-d.viewUserGuide)",
12141220
"completionEvents": [
1215-
"onCommand:code-d.viewUserGuide"
1216-
]
1221+
"onCommand:code-d.viewUserGuide",
1222+
"onStepSelected"
1223+
],
1224+
"media": {
1225+
"markdown": "docs/index.md"
1226+
}
12171227
},
12181228
{
1219-
"id": "code-d.welcome.debugProject",
1229+
"id": "welcome.debugProject",
12201230
"title": "Run and Debug your first project",
12211231
"description": "Code-D includes debugging plugins to improve the D debugging experience. Get started with a project and debug it from code-d.",
12221232
"media": {

0 commit comments

Comments
 (0)