在智能感知自定义代码段 [英] custom code snippets in intellisense

查看:132
本文介绍了在智能感知自定义代码段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

香港专业教育学院开始出口一些我经常使用的代码块的自定义代码片段
有没有办法让这些在智能感知显示出来,而不必首先使用片断浏览器从上下文菜单或片段经理我认为这是连接到ReSharper的,但他们仍然不上来时,我禁用ReSharper的智能感知

ive started exporting some of my frequently used blocks of code to custom snippets is there a way to get these to show up in intellisense and not have to use the snippet browser from the context menu or snippet manager at first i thought this was connect to resharper but they still dont come up when i disable the resharper intellisense

这将是很好能够只使用该代码段快捷方式,而不是使用浏览器

it would be nice to be able to just use the snippet shortcut instead of using the browser

推荐答案

您需要设置快捷方式属性如<&快捷方式GT; slpropdp< /快捷方式> 。学习编辑的最好办法,只是检查任何现有codesnippets的。靠,去工具 - >代码段经理。选择任意的代码段,该代码段的位置将在顶部位置栏

You need to set the ShortCut property like <Shortcut>slpropdp</Shortcut>. The best way to learn editing this, just check any of the already existing codesnippets. By, going to Tools -> Code snippet manager. Select any code snippet, the location of the code snippet will be available at the top location bar

这篇关于在智能感知自定义代码段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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