导出“标签特定选项”在 Visual Studio 2010 中

发布于 2024-10-07 04:21:12 字数 325 浏览 0 评论 0原文

我想在 Visual Studio 2010 中导出“标记特定选项”(格式化选项),以便我办公室的其他开发人员可以以完全相同的方式格式化他们的代码。

我虽然考虑过复制设置文件夹,但显然不是我办公室的每个人都想要与我相同的 VS 2010 设置。

为了清晰起见,包含屏幕截图

任何有关如何执行此操作的建议将不胜感激。

替代文本

I'd like to export my "Tag specific Options" (the formatting options) in Visual Studio 2010 so that the other developers in my office can format their code in the exact same way.

I have though about copying the setting folder, but obviously not everyone in my office wants the same VS 2010 settings as myself.

Screen-shot included for some clarity.

Any suggestions on how to go about doing this would be much appreciated.

alt text

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

浊酒尽余欢 2024-10-14 04:21:12

您可以使用导入和导出设置向导导出任何 Visual Studio 设置,然后将它们导入到同事的计算机上。“HTML 标记特定”是“HTML 标记特定”中提供的选项之一。您可以选择导出的设置列表。

以下是导出设置的方法:

  1. 在 Visual Studio 中,打开“工具”菜单并选择“导入和导出设置”。

  2. 要导出工作站上的设置,请选择“导出选定的环境设置”,然后单击“下一步”按钮。

  3. 选择您要导出的特定设置。在您的情况下,您可能只想导出 HTML 标记特定的格式设置,因此取消选中顶级框,然后展开“选项”,展开“文本编辑器”并选中“HTML 标记特定”旁边的框。最后,单击“下一步”按钮。
           导出 HTML 标签特定设置

  4. 选择一个位置保存导出的文件,然后单击“完成”按钮。

然后,只需按照相反的过程导入您刚刚保存在同事计算机上的文件即可。

You can use the Import and Export Settings Wizard to export any of your Visual Studio settings, and then import them onto your co-workers' machines. "HTML Tag Specific" is one of the options provided in the list of settings that you can choose from to export.

Here's how to export your settings:

  1. In Visual Studio, open the "Tools" menu and select "Import and Export Settings".

  2. To export the settings on your workstation, choose "Export selected environment settings", and click the "Next" button.

  3. Select the specific settings that you want to export. In your case, you probably want to export only the HTML Tag Specific formatting settings, so uncheck the top-level box, then expand "Options", expand "Text Editor" and check the box next to "HTML Tag Specific". Finally, click the "Next" button.
           Export HTML Tag Specific settings

  4. Choose a location to save your exported file, and click the "Finish" button.

Then, just follow the opposite process to import the file you just saved on your co-workers' machines.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文