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
Copy file name to clipboardexpand all lines: CHANGELOG.md
+28-18
Original file line number
Diff line number
Diff line change
@@ -6,64 +6,74 @@ Author: Sidharth Mishra
6
6
7
7
All notable changes to the "topper" extension will be documented in this file.
8
8
9
+
### [v1.0.0]
10
+
11
+
**[!!!] This release has breaking changes and might need some configuration from your part for the first time you start using it –– especially on older files that were annotated with older versions of Topper. No worries for new users and new files.**
12
+
13
+
- Re-wrote the code from scratch in Typescript for better maintenance. Also got rid of the popup, it seems that the use of a keyboard shortcut is the best approach. The other way is to invoke command directly using the commands menu of vscode.
14
+
- The command palette now shows a command that is bound to the first profile in the list, no need for the popup –– this was made for streamlined usage. For a more streamlined approach, please use the keyboard shortcuts to the desired profiles.
15
+
-[CAUTION] Externalized the date formatting for created date and last modified date.
16
+
-[CAUTION] Externalized the last modified date capture regex in case the user defines their custom last modified date format.
17
+
-[CAUTION] Externalized the row and column indices to be used for insertion of the header string: use with care. Defaults to 0 for both row and col for sanity.
18
+
9
19
### [v0.4.0]
10
20
11
-
- Merged pull request from @Drakesinger into master to allow more flexible formats for the `last modified` field in the headers. Thanks @Drakesinger for the PR!
21
+
-Merged pull request from @Drakesinger into master to allow more flexible formats for the `last modified` field in the headers. Thanks @Drakesinger for the PR!
12
22
13
-
- Updated the readme document with more information about the `topper.lastModified` contribution point. Since, I had forgotten to add the description of this contribution point in the document I believe some of the users might have found it difficult to configure the `lastModified` field name in their headers. Sorry!
23
+
-Updated the readme document with more information about the `topper.lastModified` contribution point. Since, I had forgotten to add the description of this contribution point in the document I believe some of the users might have found it difficult to configure the `lastModified` field name in their headers. Sorry!
14
24
15
25
### [v0.3.2]
16
26
17
-
- Fixed the issue [problem about last-modified when press cmd+s #3](https://github.com/sidmishraw/topper/issues/3). Now, topper's watcher listens to the `TextDocumentWillSaveEvent` and updates the last-modified field before the document saves.
27
+
-Fixed the issue [problem about last-modified when press cmd+s #3](https://github.com/sidmishraw/topper/issues/3). Now, topper's watcher listens to the `TextDocumentWillSaveEvent` and updates the last-modified field before the document saves.
18
28
19
29
### [v0.3.1]
20
30
21
-
- Fixed the issue of Topper capturing templates of "last-modified". Now, there are strict patterns in place.
31
+
-Fixed the issue of Topper capturing templates of "last-modified". Now, there are strict patterns in place.
22
32
23
33
### [v0.3.0]
24
34
25
-
- Fixed issue where the `@last-modified` field in the header was not getting updated automatically. Now, there is a configuration field `topper.lastModified` where the users can specify their custom field names for `last-modified` incase they do not use `@last-modified`. The default value is `@last-modified`.
35
+
-Fixed issue where the `@last-modified` field in the header was not getting updated automatically. Now, there is a configuration field `topper.lastModified` where the users can specify their custom field names for `last-modified` incase they do not use `@last-modified`. The default value is `@last-modified`.
26
36
27
37
> Caveats: The implementation is choppy in some aspects because of limited support from VS Code APIs. Expect a better implementation in the next version.
28
38
29
-
- Code cleanup.
39
+
-Code cleanup.
30
40
31
41
### [v0.2.0]
32
42
33
-
- Code cleanup.
43
+
-Code cleanup.
34
44
35
-
- Addition of profile specific shortcuts added to `keybinding.json` of VSCode:
45
+
-Addition of profile specific shortcuts added to `keybinding.json` of VSCode:
36
46
37
47
```json
38
-
{
48
+
({
39
49
"key": "cmd+shift+t 1",
40
50
"command": "topper.addTopHeader.personalProfile"
41
-
},
42
-
{
51
+
},
52
+
{
43
53
"key": "shift+cmd+t 2",
44
54
"command": "topper.addTopHeader.officeProfile"
45
-
}
55
+
})
46
56
```
47
57
48
58
The first key combination is `Command + Shift + T` followed by a `1` or `2` depending on the profile. The user is free to bind any profile to any key combination.
49
59
The commandId is of the form `topper.addTopHeader.<your-profile-name>`.
50
60
51
61
### [v0.1.0]
52
62
53
-
- Stable release.
63
+
-Stable release.
54
64
55
65
### [v0.0.3]
56
66
57
-
- Changed the extension's command from `extension.addTopHeader` to `topper.addTopHeader`. To make it easier for customized keybinding.
67
+
-Changed the extension's command from `extension.addTopHeader` to `topper.addTopHeader`. To make it easier for customized keybinding.
58
68
59
-
- Code cleanup.
69
+
-Code cleanup.
60
70
61
71
### [v0.0.2]
62
72
63
-
- Added support for multi line strings as values for the custom template parameters.
73
+
-Added support for multi line strings as values for the custom template parameters.
64
74
65
-
- Updated `lastModifiedDate` to be fetched from the underlying OS. This is the true last modified date.
75
+
-Updated `lastModifiedDate` to be fetched from the underlying OS. This is the true last modified date.
0 commit comments