在 ICSharpCode.TextEditor 中配置智能感知
我无法理解如何让 Intellisense 在 ICSharpCode.TextEditor
中工作。截至今天,回复尚不完整。在网络上,没有示例...
我需要显示带有自定义关键字的完成框。
有什么帮助吗?
I can't understand how to let Intellisense work in ICSharpCode.TextEditor
. As of today, replies are incomplete. On the web, there are no samples...
I need to display a completion box with my custom keywords.
Any help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
几周前我遇到了同样的问题,并获取了 ICSharpCode 文本编辑器 CodeComplete 的示例应用程序,并能够将其全部合并到一个文件中,
请参阅此处,了解我的第一次通过:https://github.com/o2platform/FluentSharp_Fork.SharpDevelopEditor/blob/master/FluentSharp.SharpDevelopEditor /_O2SharpDevelop/CodeCompletion/O2CodeCompletion.cs
我在该阶段的目标是创建一个包含所有依赖项的文件,以便我可以(例如)将完整的代码添加到任何 TextEditorControl 控件(我还必须对允许从多个源代码文件进行动态代码完整更新)
要使用 O2ComdeCompletion.cs 对象,只需调用:
o2CodeCompletion = new O2CodeCompletion( {您的 TextEditorControl 实例} );
I had the same problem a couple weeks ago and grabbed the sample app for ICSharpCode texteditor CodeComplete and was able to consolidated it all into one file
See here for my first pass at it: https://github.com/o2platform/FluentSharp_Fork.SharpDevelopEditor/blob/master/FluentSharp.SharpDevelopEditor/_O2SharpDevelop/CodeCompletion/O2CodeCompletion.cs
My objective at that stage was to create one file will all dependencies so that I could (for example) add code complete to any TextEditorControl control (I also had to make a couple changes to allow dynamic code complete updates from multiple source code files)
To use the O2ComdeCompletion.cs object just call:
o2CodeCompletion = new O2CodeCompletion( {your instance of TextEditorControl} );