在 Sharpdevelop 3.x 中使用 AvalonEdit

发布于 2024-09-12 02:20:20 字数 269 浏览 3 评论 0原文

我很好奇是否可以在 Sharpdevelop 3.x 中用 AvalonEdit 替换普通的 ICSharpCode.TextEditor。坦率地说,AvalonEdit 比 ICSharpCode.TextEditor 好太多了,所以在 Sharpdevelop 3.x 中使用 AvalonEdit 会更好。

我目前无法使用 Sharpdevelop 4,如果我可以在旧的 Sharpdevelop 3.x 中使用新的代码编辑器,那就更好了。

谁能解释一下吗?

提前致谢。

I am very curious to know if it is possible to replace the normal ICSharpCode.TextEditor with AvalonEdit in Sharpdevelop 3.x. Frankly speaking AvalonEdit is way too better than ICSharpCode.TextEditor, so it would be better to use AvalonEdit in Sharpdevelop 3.x.

I am currently not in a position to use Sharpdevelop 4, it would be better if I can use that new code editor in old Sharpdevelop 3.x.

Can anyone please shed some light on it?

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

じ违心 2024-09-19 02:20:20

SharpDevelop 3.x 的大部分内容都经过硬编码以使用 ICSharpCode.TextEditor。您可以使用 AddIn 来替换文本编辑器(请参阅示例/DisplayBinding/AlternateEditor),但您会失去以下所有功能:

  • 代码完成
  • 、重构、
  • 搜索 + 替换
  • 表单设计器
  • 等等...

所有这些功能都被重写以使用SharpDevelop 4 中的新文本编辑器界面。这花了我们几个月的开发时间。

所以不,在 SD 3.x 中使用 AvalonEdit 是不可能的,除非您有大量时间来向后移植这些更改。

顺便问一下:为什么不能使用SharpDevelop 4.0?

Most of SharpDevelop 3.x is hard-coded to use ICSharpCode.TextEditor. You can use an AddIn to replace the text editor (see samples/DisplayBinding/AlternateEditor), but you lose all of the following features:

  • Code completion
  • Refactoring
  • Search + Replace
  • Forms designer
  • and some more...

All of those features were rewritten to use the new text editor interfaces in SharpDevelop 4. This took us several months of development time.

So no, using AvalonEdit in SD 3.x is not possible unless you have a lot of time to spend backporting these changes.

By the way: why can't you use SharpDevelop 4.0?

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