如何更改 Visual Studio 中的默认代码 [英] How to change default code in Visual studio
问题描述
我打算用 Visual Studio 编写 C++ 程序,但有一些烦人的东西,那就是默认代码,它会在启动编辑器时自动显示.有没有办法改变它或者它是僵化的?
I am going to programming c++ with Visual Studio, but there is something annoying and that's the default code, which is shown automatically in launching the editor. Is there a way to change that or it is rigid ?
谢谢.
推荐答案
是的:您可以创建 Visual Studio 项目模板并将其用作未来项目的基础.你这样做的方法是让你的项目看起来你喜欢它,然后将它保存为模板.此处提供完整详细信息:
Yes there is: you can create a Visual Studio project template and use that as the basis for future projects. The way you do this is to get your project looking how you like it and then save it as a template. Full details here:
https://docs.microsoft.com/en-us/visualstudio/ide/how-to-create-project-templates?view=vs-2019
这篇关于如何更改 Visual Studio 中的默认代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!