从Visual Studio上下文菜单对选定的文本进行排序 [英] Sort selected text from Visual Studio context menu

查看:78
本文介绍了从Visual Studio上下文菜单对选定的文本进行排序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前VS具有一个非常有用的功能:使用(C#)进行排序.

对于任何随机文本,我都希望具有相同的功能,例如-配置文件中的XML节点.

实施起来有多复杂? VS插件,对不对?可以调用用于分类使用的某些VS API吗?

解决方案

刚刚找到了一个不错的免费插件: 2010 ver )-完全可以做到这一点,还有其他一些文字技巧.当我安装它时,有一些小问题,但是在评论页面上留下评论后,它在几天之内就得到了修复.快走! =)

现在有2017年版本: Menees VS Tools 2017

Currently VS has a very useful feature: sort usings (C#).

I want the same functionality for any random text, for example - XML nodes in config files.

How complex to implement that? VS addin, right? Is it possible to call some VS API which is used for sorting usings?

解决方案

Just found a good free addon: Menees VS Tools 2012 (or 2010 ver) - does exactly that and a few more text tricks. There was a few minor negatives when I installed it, but after leaving a comment on the review page it got fixed within days. Waay to go! =)

There is a 2017 version now: Menees VS Tools 2017

这篇关于从Visual Studio上下文菜单对选定的文本进行排序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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