在 ICSharpCode.TextEditor 中配置智能感知

发布于 2024-08-21 22:24:00 字数 138 浏览 2 评论 0原文

我无法理解如何让 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜访吸血鬼 2024-08-28 22:24:00

几周前我遇到了同样的问题,并获取了 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} );

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文