ymotongpoo / vsc-licenser

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

ObjectPascal: Wrong Comment Style #66

Closed andro23 closed 4 years ago

andro23 commented 4 years ago

Runtime environment

Behaviors

Expected behavior

When inserting a custom license header to a Delphi file with extension .pas and type ObjectPascal (not Pascal) and having the option "licenser.useSingleLineStyle": false, the copyright notice should be added with a block comment style.

Actual behavior

Single line comment style is added.

Steps to reproduce the issue

  1. Open a .pas file and make sure the type ObjectPascal is used.
  2. Command Palette -> licenser: Insert license header