VS Code base template

Problem solved. I added a function in the plugin to install the files and make the json setting.

With the absolute path ?

Its up to you. Changing the json manually is not a big deal, but powershell 5.1 should be installed by default in any recent windows machine, I think, so nothing is required to execute it as a standalone script.

I also tried ${userHome} with several options but could not succeed here.

Another important configuration consideration is that the .vscode folder must reside in the Trevliga Spel (defined as a root folder, ie. just below the VS Code workspace level), and not the JS folder, as VS Code doesn’t scan subfolders for .vscode directories, only the roots.

Let us know if you need testing for the install procedure.

I have worked with the files you sent me to find the best possible solution.

I have added a section in the Global Settings that lets you install the files to the JS folder with a single click. The installed files are self-sufficient and include everything needed to make it work, including the TypeScript package, since I realized it was missing from my VS Code installation on Mac. My goal has been to provide a solution where users need to do nothing more than click that button, and on my two systems (Windows and Mac), it works that way now.

The VS Code settings file is no longer modified. The reference declaration in each script file is no longer needed, so I removed the template file from the solution. IntelliSense and snippets work. Hover information from d.ts appears for all functions, properties, and objects.

I truly couldn’t have done this without your help and the files you sent over. I’m very grateful. Thank you so much!

Elgato has an issue with the plugin administration site, so I am unable to obtain a DRM version of the plugin for the beta thread. As soon as they solve their problem, I will publish an updated beta version.

You’re welcome.
I’ll give a try to the next beta.