Create your own language tag for a PHP project template

валера карманов 396 Reputation points
2021-11-01T19:51:51.26+00:00

Hello! I'm using VS 2019. I want to create my own project template in PHP that will open or create a new folder.
First, I need to create a new language tag (which is shown in the picture). How to do this and can it be done in general?

145594-2021-11-01-22-45-40.png

Developer technologies | Visual Studio | Other
Developer technologies | Visual Studio | Other
A family of Microsoft suites of integrated development tools for building applications for Windows, the web, mobile devices and many other platforms. Miscellaneous topics that do not fit into specific categories.
{count} votes

2 answers

Sort by: Most helpful
  1. Ryan Hill 30,326 Reputation points Microsoft Employee Moderator
    2021-11-01T22:38:15.79+00:00

    I've never done this myself @валера карманов but https://learn.microsoft.com/en-us/visualstudio/extensibility/creating-custom-project-and-item-templates?view=vs-2019 is a good place to start. It outlines how to create and deploy your template as a VSIX.

    0 comments No comments

  2. RLWA32 51,536 Reputation points
    2021-11-01T23:39:03.27+00:00

    When creating a new project template the visual studio 2019 built-in tags that can be used for language, platform and project type are listed here template-tags


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.