Skip to content

Commit 2ecbc8a

Browse files
committed
Enhance task labels in tasks.json with emojis for better visibility and update default build task to "Build documentation"
1 parent e50fabe commit 2ecbc8a

File tree

1 file changed

+22
-8
lines changed

1 file changed

+22
-8
lines changed

.vscode/tasks.json

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
}
326326
},
327327
{
328-
"label": "Build documentation",
328+
"label": "📚 Build documentation",
329329
"command": "${command:python.interpreterPath}",
330330
"args": [
331331
"-m",
@@ -339,13 +339,10 @@
339339
],
340340
"options": {
341341
"cwd": "${workspaceFolder}/doc",
342-
"statusbar": {
343-
"hide": true
344-
}
345342
},
346343
"group": {
347344
"kind": "build",
348-
"isDefault": false
345+
"isDefault": true
349346
},
350347
"presentation": {
351348
"clear": true,
@@ -362,7 +359,24 @@
362359
]
363360
},
364361
{
365-
"label": "Build Python packages",
362+
"label": "🌐 Open HTML doc",
363+
"type": "shell",
364+
"windows": {
365+
"command": "start ../build/doc/index.html"
366+
},
367+
"linux": {
368+
"command": "xdg-open ../build/doc/index.html"
369+
},
370+
"osx": {
371+
"command": "open ../build/doc/index.html"
372+
},
373+
"options": {
374+
"cwd": "${workspaceFolder}/doc"
375+
},
376+
"problemMatcher": []
377+
},
378+
{
379+
"label": "📦 Build Python packages",
366380
"type": "shell",
367381
"command": "cmd",
368382
"options": {
@@ -435,7 +449,7 @@
435449
]
436450
},
437451
{
438-
"label": "Build extensions in place",
452+
"label": "⛏️ Build in place",
439453
"type": "shell",
440454
"command": "cmd",
441455
"options": {
@@ -468,7 +482,7 @@
468482
]
469483
},
470484
{
471-
"label": "Display Coverage",
485+
"label": "📊 Display Coverage",
472486
"type": "shell",
473487
"command": "cmd",
474488
"args": [

0 commit comments

Comments
 (0)