Open joshuar opened 1 year ago
Just to note, I'm suffering from the same issue.
FYI, I had the same problem (Windows 10) using the same steps above.
However, I found when I "turn it off and on again" it worked. i.e. closed the window in which I'd carried out the steps and opened the code afresh in a new window licenser.author
was being recognised correctly.
Thank you so much for your help! I really appreciate it. The solution you provided worked perfectly for my user settings, but unfortunately I'm still having trouble getting the workspace settings to work.
Any further suggestions or insights you might have would be greatly appreciated. Thank you again!
Please make sure to use this template to report issue. Any issue report that does not follow this template will be ignored.
Runtime environment
OS (version): Fedora Linux 37
VS Code version: 1.77.1
VS Code build number (if possible): Output from Help > About
other extensions installed: aaron-bond.better-comments ban.spellright bierner.emojisense bierner.markdown-emoji bierner.markdown-mermaid bpruitt-goddard.mermaid-markdown-syntax-highlighting bungcip.better-toml Dart-Code.dart-code Dart-Code.flutter dev1ce.dev1ce DotJoshJohnson.xml DougFinke.vscode-pandoc dracula-theme.theme-dracula eamodio.gitlens esbenp.prettier-vscode GitHub.vscode-pull-request-github golang.go James-Yu.latex-workshop mechatroner.rainbow-csv ms-python.isort ms-python.python ms-python.vscode-pylance ms-toolsai.jupyter ms-toolsai.jupyter-keymap ms-toolsai.jupyter-renderers ms-toolsai.vscode-jupyter-cell-tags ms-toolsai.vscode-jupyter-slideshow ms-vscode-remote.remote-containers ms-vscode-remote.remote-ssh ms-vscode-remote.remote-ssh-edit ms-vscode-remote.vscode-remote-extensionpack ms-vscode.cpptools ms-vscode.remote-explorer ms-vscode.remote-server mushan.vscode-paste-image nico-castell.linux-desktop-file njpwerner.autodocstring oderwat.indent-rainbow redhat.ansible redhat.vscode-yaml skyapps.fish-vscode stkb.rewrap tchayen.markdown-links valentjn.vscode-ltex vsls-contrib.gitdoc wholroyd.jinja ymotongpoo.licenser yzhang.markdown-all-in-one
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.Actual behavior
My login username is being used instead. This appears to be the same problem as observed in #118. Not sure if some regression has crept in with some change in recent VSCode releases?
Steps to reproduce the issue
licenser.author
andlicenser.license
workspace settinglicenser: Insert license header
Thanks for the great extension! Very helpful!