Skip to content

Releases: sidmishraw/topper

Enhanced intrinsic variables

29 Apr 07:45
812050c
Compare
Choose a tag to compare

Added three new intrinsic variables:

  • 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.

  • absFilePath - This is the absolute path of the file obtained by querying the underlying OS Filesystem.

  • repositoryRootPath - This is the root path of the workspace (or repository or project).

Added license text generation for header.

14 Jun 06:05
c866294
Compare
Choose a tag to compare
Merge pull request #12 from sidmishraw/feature/license-generation

Added license header text generation.

Added configuration for customizing default header template

07 Jun 06:23
Compare
Choose a tag to compare

In this release, topper introduces a new configuration parameter for customizing the default header template. The default header template is used when a custom header template is not added for a particular language. The earlier versions of topper used a hard-coded default header template, this has been externalized for the user to customize.

One thing to consider is that the language ID used for the default header template has to be default and it should not be tinkered with!!

1.0.0 First non-alpha or beta-release

30 Apr 06:48
3be706e
Compare
Choose a tag to compare

Rewrote the code from scratch in TS for better maintainability. Added in features such as data formatting, custom last modified date capture regex, etc.

Fixed the issue [problem about last-modified when press cmd+s #3]

17 Jan 02:45
Compare
Choose a tag to compare

[v0.3.2]

[v0.3.1] Fixed the issue of Topper capturing templates of "last-modified"

17 Jan 02:46
Compare
Choose a tag to compare

[v0.3.1]

  • Fixed the issue of Topper capturing templates of "last-modified". Now, there are strict patterns in place.

v0.3.0: Last modified gets updated automatically

16 Jan 08:51
Compare
Choose a tag to compare

[v0.3.0]

  • 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.

Caveats: The implementation is choppy in some aspects because of limited support from VS Code APIs. Expect a better implementation in the next version.

  • Code cleanup.

v0.2.0: Added profile specific keyboard shortcuts

15 Jan 09:18
Compare
Choose a tag to compare

[v0.2.0]

  • Code cleanup.

  • Addition of profile specific shortcuts added to keybinding.json of VSCode:

  {
    "key": "cmd+shift+t 1",
    "command": "topper.addTopHeader.personalProfile"
  },
  {
    "key": "shift+cmd+t 2",
    "command": "topper.addTopHeader.officeProfile"
  }

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.
The commandId is of the form topper.addTopHeader.<your-profile-name>.

v0.1.0

15 Jan 02:06
Compare
Choose a tag to compare

Latest stable from v0.0.3.

Topper v0.0.3

15 Jan 01:57
Compare
Choose a tag to compare
Topper v0.0.3 Pre-release
Pre-release

This release has the following changes:

  • Changed the extension's command from extension.addTopHeader to topper.addTopHeader. To make it easier for customized keybinding.

  • Code cleanup.