如何更改 Visual Studio 中的默认代码 [英] How to change default code in Visual studio

查看:79
本文介绍了如何更改 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆