如何向html textarea添加自定义VS智能感知功能 [英] How to add custom VS intellisense feature to html textarea

查看:75
本文介绍了如何向html textarea添加自定义VS智能感知功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在寻找一种方法来添加点符号intellisense到html textarea,就像你在visual studio中得到的那样,但我希望能够定义可用的类,函数等。



我想创建一个C#代码编写器,但它只对我指定的库有智能感知。



是否有某种javascript插件添加为空白点符号intellisense,我可以填写我自己的数据?谷歌搜索没有返回我正在寻找的东西。



问候

尼克

Hi
I'm looking for a way to add dot notation intellisense to a html textarea much like what you get in visual studio, but I want to be able to define the classes, functions, ect that will be available.

I want to create a C# code writer, but it will only have intellisense for the library I specify.

Is there some sort of javascript plugin that adds like a "blank" dot notation intellisense that I can fill with my own data? Googling has not returned what I'm looking for.

Regards
Nick

推荐答案

你应该使用自动完成功能和你的一些逻辑来实现这个目标。



见一个例子 - jQuery UI Autocomplete作为一种Intellisense [ ^ ]。



另请参阅 jQuery的TextExt插件 [ ^ ]。
You should use the Autocomplete feature with some of your logic to achieve this.

See one example at - jQuery UI Autocomplete as a kind of Intellisense[^].

Also look at TextExt Plugin for jQuery[^].


这篇关于如何向html textarea添加自定义VS智能感知功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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