You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Note: This configuration is dependent on the `topper.lastModified` and `topper.dateFormat` values, please make sure that both are in sync, otherwise Topper will not be able to capture the last modified field in the header and update the timestamp.
@@ -142,6 +161,7 @@ Defaults to:
142
161
143
162
```javascript
144
163
'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]Z';
164
+
145
165
```
146
166
147
167
> Note: Please make sure that the last date modified regex is also in sync to the changes made to date format, otherwise Topper will not be able to automatically update the last modified timestamp in the header.
@@ -166,6 +186,12 @@ Topper has the following intrinsic template parameters. The values of these para
166
186
167
187
-`fileVersion` - The VSCode maintained file version.
168
188
189
+
-`pathFromRepositoryRoot` - The path of the file from the current workspace (or project) root. For example, if you're working on file `/project/dir1/file1.xml` then this will give `dir1/file1.xml`. This is a relative path from your workspace's root.
190
+
191
+
-`absFilePath` - This is the absolute path of the file obtained by querying the underlying OS Filesystem.
192
+
193
+
-`repositoryRootPath` - This is the root path of the workspace (or repository or project).
194
+
169
195
## Defining a custom keyboard shortcut
170
196
171
197
To define a custom keyboard shortcut do the following:
0 commit comments