Hey,
I was wondering if someone knows the reason for the ahk template not always working. So basically, when I right click anywhere and make a new ahk script, it works perfectly and uses the custom "template" from the Template.ahk. However, when I make a new ahk file using Visual Studio Code, it uses a weird template and I wasn't able to locate it anywhere. I attached the picture below. If someone knows how we can change the template used by VSC it would make my day.
Thank you
VS Code: New AHK File Issue
-
- Posts: 123
- Joined: 28 Oct 2020, 02:58
VS Code: New AHK File Issue
- Attachments
-
- Code_LU4h0qvm11.png (6.17 KiB) Viewed 3992 times
-
- Posts: 123
- Joined: 28 Oct 2020, 02:58
Re: VS Code: New AHK File Issue
Hmm, so after some digging I found out that this was caused by the AHK Plus Plus extension by Mark Weimer. However, when I disable the extension and make a new ahk file it's empty and not using the "template".
Re: VS Code: New AHK File Issue
If you may, I think reporting this bug here would be helpful :
https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues
https://github.com/mark-wiemer/vscode-autohotkey-plus-plus/issues
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
-
- Posts: 123
- Joined: 28 Oct 2020, 02:58
Re: VS Code: New AHK File Issue
Alright will do. Thanks
-
- Posts: 2
- Joined: 11 Jun 2018, 16:05
Re: VS Code: New AHK File Issue
You can set whatever template you like in settings: "Snippets: Configure User Snippets".
See details here: https://github.com/vscode-autohotkey/ahkpp/blob/main/docs/TemplateSnippet.md
See details here: https://github.com/vscode-autohotkey/ahkpp/blob/main/docs/TemplateSnippet.md
- Curdflappers
- Posts: 11
- Joined: 13 Nov 2020, 03:18
- Contact:
Re: VS Code: New AHK File Issue
Yep, great callout Rightclick. Happy to answer any further questions you have about the extension
Return to “Visual Studio Code”
Who is online
Users browsing this forum: No registered users and 2 guests