@@ -51,6 +51,22 @@ class ExtendedTaskListsSettingTab extends PluginSettingTab {
5151 } ) ,
5252 ) ;
5353
54+ new Setting ( containerEl )
55+ . setName ( "Use full filepath" )
56+ . setDesc (
57+ "If checked, the full Vault filepath is used for the label of grouped task items in the generated TODO file" ,
58+ )
59+ . addToggle ( ( toggle ) =>
60+ toggle
61+ . setValue ( this . plugin . settings . useFullFilepath )
62+ . onChange ( async ( value ) => {
63+ this . plugin . settings . useFullFilepath = value ;
64+ await this . plugin . saveSettings ( ) ;
65+ } ) ,
66+ ) ;
67+
68+ new Setting ( containerEl ) . setName ( "Excludes" ) . setHeading ( ) ;
69+
5470 new Setting ( containerEl )
5571 . setName ( "Exclude file pattern" )
5672 . setDesc (
@@ -79,6 +95,8 @@ class ExtendedTaskListsSettingTab extends PluginSettingTab {
7995 } ) ,
8096 ) ;
8197
98+ new Setting ( containerEl ) . setName ( "Includes" ) . setHeading ( ) ;
99+
82100 new Setting ( containerEl )
83101 . setName ( "Include not started tasks" )
84102 . addToggle ( ( toggle ) =>
@@ -90,20 +108,6 @@ class ExtendedTaskListsSettingTab extends PluginSettingTab {
90108 } ) ,
91109 ) ;
92110
93- new Setting ( containerEl )
94- . setName ( "Use full filepath" )
95- . setDesc (
96- "If checked, the full Vault filepath is used for the label of grouped task items in the generated TODO file" ,
97- )
98- . addToggle ( ( toggle ) =>
99- toggle
100- . setValue ( this . plugin . settings . useFullFilepath )
101- . onChange ( async ( value ) => {
102- this . plugin . settings . useFullFilepath = value ;
103- await this . plugin . saveSettings ( ) ;
104- } ) ,
105- ) ;
106-
107111 new Setting ( containerEl )
108112 . setName ( "Include in progress tasks" )
109113 . addToggle ( ( toggle ) =>
0 commit comments