One suggestion would be to store the templates in different folders based on the language, so the folder for cpp templates would be /public/templates/cpp/. You can also fetch the language a user is currently using when they click on the extension and only show these templates by default. A drop down to select other languages will also help.
One suggestion would be to store the templates in different folders based on the language, so the folder for cpp templates would be
/public/templates/cpp/. You can also fetch the language a user is currently using when they click on the extension and only show these templates by default. A drop down to select other languages will also help.