ymotongpoo / vsc-licenser

License handler extension for Visual Studio Code.
Apache License 2.0
45 stars 40 forks source link

`licenser.author` setting is ignored when inserting header and creating license file. Default login name is always used #118

Closed Swat-SomeBug closed 2 years ago

Swat-SomeBug commented 2 years ago

Please make sure to use this template to report issue. Any issue report that does not follow this template will be ignored.

Runtime environment

You can confirm installed extensions by calling "Extensions: Show Installed Extensions", or just click extensions tab in the case you are using VS Code 1.3+.

Behaviors

Expected behavior

licenser.author is used when generating license file and inserting headers. licenser.author workspace setting should override user setting.

Actual behavior

Both user and workspace licenser.author settings are ignored. Default login user name is always used.

Steps to reproduce the issue

  1. Install the plugin
  2. Configure licenser.author and licenser.license workspace setting
  3. From command pallet > licenser: Insert license header
reporter123 commented 2 years ago

Just downgraded to 1.6 as a workaround.

ymotongpoo commented 2 years ago

Fixed by #116, #117