<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=TaskDeck%3ASources</id>
	<title>TaskDeck:Sources - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mutigeraffe.com/index.php?action=history&amp;feed=atom&amp;title=TaskDeck%3ASources"/>
	<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=TaskDeck:Sources&amp;action=history"/>
	<updated>2026-10-21T04:36:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.mutigeraffe.com/index.php?title=TaskDeck:Sources&amp;diff=2540&amp;oldid=prev</id>
		<title>Maintenance script: TaskDeck wiki</title>
		<link rel="alternate" type="text/html" href="https://wiki.mutigeraffe.com/index.php?title=TaskDeck:Sources&amp;diff=2540&amp;oldid=prev"/>
		<updated>2026-10-20T21:29:53Z</updated>

		<summary type="html">&lt;p&gt;TaskDeck wiki&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;source&amp;#039;&amp;#039;&amp;#039; is the group a task belongs to, for example &amp;lt;code&amp;gt;Workspace&amp;lt;/code&amp;gt; for the tasks in &amp;lt;code&amp;gt;tasks.json&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;npm&amp;lt;/code&amp;gt; for npm scripts. Task Deck lets you set for each source:&lt;br /&gt;
* whether it is shown&lt;br /&gt;
* its icon&lt;br /&gt;
* its color&lt;br /&gt;
* which of its tasks are shown&lt;br /&gt;
&lt;br /&gt;
All of this is stored in the regular VS Code settings. Each setting is an object with the source name as key. Click the gear icon in the view title to open the Settings editor with only the Task Deck settings. The full list is on [[TaskDeck:Commands and Settings|Commands and Settings]].&lt;br /&gt;
&lt;br /&gt;
== Hiding and showing a source ==&lt;br /&gt;
Hover a source and click the eye icon (&amp;#039;&amp;#039;Hide Source&amp;#039;&amp;#039;). The source and all its tasks disappear from the view. Task Deck saves this as &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;quickTasks.sourceEnabled&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To show a hidden source again, use one of these:&lt;br /&gt;
* Run &amp;#039;&amp;#039;&amp;#039;Task Deck: Show Hidden Source…&amp;#039;&amp;#039;&amp;#039; from the Command Palette and pick the source. If no source is hidden, a message says so.&lt;br /&gt;
* Set its entry in &amp;lt;code&amp;gt;quickTasks.sourceEnabled&amp;lt;/code&amp;gt; back to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, or remove the entry.&lt;br /&gt;
&lt;br /&gt;
Sources that are not listed in &amp;lt;code&amp;gt;quickTasks.sourceEnabled&amp;lt;/code&amp;gt; are shown.&lt;br /&gt;
&lt;br /&gt;
Hidden sources and their tasks are also left out of [[TaskDeck:Find Task|Find Task]]. Pinned tasks of a hidden source stay in the &amp;#039;&amp;#039;&amp;#039;Pinned&amp;#039;&amp;#039;&amp;#039; group. See [[TaskDeck:Pinned Tasks|Pinned Tasks]].&lt;br /&gt;
&lt;br /&gt;
=== Where the setting is saved ===&lt;br /&gt;
&amp;#039;&amp;#039;Hide Source&amp;#039;&amp;#039; and &amp;#039;&amp;#039;Show Hidden Source&amp;#039;&amp;#039; write to the &amp;#039;&amp;#039;&amp;#039;workspace settings&amp;#039;&amp;#039;&amp;#039; by default, so the choice only applies to the current project.&lt;br /&gt;
&lt;br /&gt;
Set &amp;lt;code&amp;gt;quickTasks.sourceSaveToUser&amp;lt;/code&amp;gt; to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; for a source to save its visibility to your &amp;#039;&amp;#039;&amp;#039;user settings&amp;#039;&amp;#039;&amp;#039; instead. It then applies to all projects. When Task Deck writes the value, it removes the entry for that source from the other scope, so there is only one value left.&lt;br /&gt;
&lt;br /&gt;
This only affects the two commands above. When you edit a setting yourself in the Settings editor, it is saved to the scope (&amp;#039;&amp;#039;User&amp;#039;&amp;#039; or &amp;#039;&amp;#039;Workspace&amp;#039;&amp;#039;) you have selected there.&lt;br /&gt;
&lt;br /&gt;
== Icon ==&lt;br /&gt;
&amp;lt;code&amp;gt;quickTasks.sourceIcons&amp;lt;/code&amp;gt; sets the icon of the source group. Without an entry the source uses &amp;lt;code&amp;gt;folder&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The Settings editor offers these icons in a dropdown:&lt;br /&gt;
&amp;lt;code&amp;gt;folder&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;package&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tools&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;checklist&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;gear&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;rocket&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;beaker&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;file-code&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;database&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cloud&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;symbol-event&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;briefcase&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;combine&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Any other id from the [https://microsoft.github.io/vscode-codicons/dist/codicon.html Codicon list] works too. Enter it with &amp;#039;&amp;#039;Edit in settings.json&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Color ==&lt;br /&gt;
&amp;lt;code&amp;gt;quickTasks.sourceColors&amp;lt;/code&amp;gt; tints the source icon and the icons of its tasks. Without an entry the default color of your theme is used.&lt;br /&gt;
&lt;br /&gt;
The Settings editor offers these colors in a dropdown:&lt;br /&gt;
&amp;lt;code&amp;gt;charts.blue&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;charts.green&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;charts.orange&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;charts.red&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;charts.purple&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;charts.yellow&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiBlue&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiGreen&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiRed&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiYellow&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiCyan&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;terminal.ansiMagenta&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Any other id from the [https://code.visualstudio.com/api/references/theme-color Theme Color reference] works too. Enter it with &amp;#039;&amp;#039;Edit in settings.json&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
The warning triangle of a failed task always uses the warning color of the theme.&lt;br /&gt;
&lt;br /&gt;
== Filtering tasks by name ==&lt;br /&gt;
Two settings decide which tasks of a source are shown. Both take a list of name patterns and are edited with &amp;#039;&amp;#039;Edit in settings.json&amp;#039;&amp;#039;.&lt;br /&gt;
* &amp;lt;code&amp;gt;quickTasks.sourceInclude&amp;lt;/code&amp;gt;: if the list is not empty, only tasks that match one of the patterns are shown.&lt;br /&gt;
* &amp;lt;code&amp;gt;quickTasks.sourceExclude&amp;lt;/code&amp;gt;: tasks that match one of the patterns are hidden. This also applies to tasks that match an include pattern.&lt;br /&gt;
&lt;br /&gt;
Pattern rules:&lt;br /&gt;
* &amp;lt;code&amp;gt;*&amp;lt;/code&amp;gt; stands for any number of characters, &amp;lt;code&amp;gt;?&amp;lt;/code&amp;gt; for exactly one character.&lt;br /&gt;
* A pattern has to match the &amp;#039;&amp;#039;&amp;#039;whole&amp;#039;&amp;#039;&amp;#039; task name. &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; only matches a task named &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;build*&amp;lt;/code&amp;gt; also matches &amp;lt;code&amp;gt;build:prod&amp;lt;/code&amp;gt;.&lt;br /&gt;
* Upper and lower case don&amp;#039;t matter.&lt;br /&gt;
&lt;br /&gt;
The filters apply to the view and to [[TaskDeck:Find Task|Find Task]], but not to the &amp;#039;&amp;#039;&amp;#039;Pinned&amp;#039;&amp;#039;&amp;#039; group. The task count next to the source still counts all its tasks.&lt;br /&gt;
&lt;br /&gt;
== Sources that are no longer found ==&lt;br /&gt;
A source can have settings even though it no longer exists, for example after you removed a task provider or deleted the last task from &amp;lt;code&amp;gt;tasks.json&amp;lt;/code&amp;gt;. Task Deck keeps such a source in the view:&lt;br /&gt;
* It shows a warning triangle and the text &amp;lt;code&amp;gt;not found&amp;lt;/code&amp;gt;.&lt;br /&gt;
* The tooltip explains that its stored settings are kept in case the source comes back.&lt;br /&gt;
* It has no tasks and can&amp;#039;t be expanded.&lt;br /&gt;
&lt;br /&gt;
This also applies to a hidden source. Once it is no longer found, it is shown again with the warning.&lt;br /&gt;
&lt;br /&gt;
If you don&amp;#039;t need the settings any more, right-click the source and choose &amp;#039;&amp;#039;&amp;#039;Remove Source Configuration&amp;#039;&amp;#039;&amp;#039;. After you confirm, Task Deck deletes the entries for this source from all Task Deck settings, in the user settings and in the workspace settings. An entry in the old &amp;lt;code&amp;gt;quickTasks.sources&amp;lt;/code&amp;gt; setting is only removed from the workspace settings. Once no entry is left, the source disappears from the view.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;quickTasks.sourceIcons&amp;quot;: {&lt;br /&gt;
  &amp;quot;Workspace&amp;quot;: &amp;quot;checklist&amp;quot;,&lt;br /&gt;
  &amp;quot;npm&amp;quot;: &amp;quot;package&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;quickTasks.sourceColors&amp;quot;: {&lt;br /&gt;
  &amp;quot;Workspace&amp;quot;: &amp;quot;charts.blue&amp;quot;,&lt;br /&gt;
  &amp;quot;npm&amp;quot;: &amp;quot;charts.green&amp;quot;&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;quickTasks.sourceExclude&amp;quot;: {&lt;br /&gt;
  &amp;quot;npm&amp;quot;: [&amp;quot;pre*&amp;quot;, &amp;quot;post*&amp;quot;]&lt;br /&gt;
},&lt;br /&gt;
&amp;quot;quickTasks.sourceEnabled&amp;quot;: {&lt;br /&gt;
  &amp;quot;Gulp&amp;quot;: false&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This gives &amp;lt;code&amp;gt;tasks.json&amp;lt;/code&amp;gt; tasks a blue checklist icon and npm scripts a green package icon, hides the npm scripts whose names start with &amp;lt;code&amp;gt;pre&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;post&amp;lt;/code&amp;gt; and hides the Gulp source.&lt;br /&gt;
&lt;br /&gt;
== Old setting ==&lt;br /&gt;
Older versions stored all of this in a single setting, &amp;lt;code&amp;gt;quickTasks.sources&amp;lt;/code&amp;gt;. It is deprecated, but Task Deck still reads it. A value in the new settings wins. For a source that has no entry in a new setting, the value from &amp;lt;code&amp;gt;quickTasks.sources&amp;lt;/code&amp;gt; is used.&lt;br /&gt;
&lt;br /&gt;
{{TaskDeck Nav}}&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>