gpt4 book ai didi

c# - 美化多个 XSD 文件

转载 作者:太空宇宙 更新时间:2023-11-03 20:40:07 24 4
gpt4 key购买 nike

我有大约 50 个格式非常糟糕的 XSD 文件。

我知道如果我把它们都在 Visual Studio 中打开,我可以一个一个地美化它们。

我的问题是:有没有办法通过命令行美化它们,或者我可以通过某种方式批量执行此操作?

最佳答案

不确定命令行程序;但我认为PowerCommands 10.0可以帮助你。

Format document on save / Remove and Sort Usings on save:

The Format document on save option formats the tabs, spaces, and so on of the document being saved. It is equivalent to pointing to the Edit menu, clicking Advanced, and then clicking Format Document. The Remove and sort usings option removes unused using statements and sorts the remaining using statements in the document being saved.

Note: The Remove and sort usings option is only available for C# documents.

Note: Format document on save and Remove and sort usings both are initially defaulted OFF.

关于c# - 美化多个 XSD 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3265147/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com