DSL UI 和On Visual studio 4
IDE集成
Using Visual Studio as your DSL IDE
Using #develop as your DSL IDESharpDevelop(#develop)
Integrating an IDE with a DSL application
The main difference between creating an IDE and integrating an IDE lies in the capa-
bilities that you provide the user with. In the IDE scenario, you’re providing the user
with the tools to do development. In the integration scenario, you’re allowing the user
to work with the DSL.
Ø ƒActiproSyntaxHighlighter—On the commercial side, ActiproSyntaxHighlighter
comes highly recommended. I haven’t used it myself, but several people I trust
have recommended it. It’s available at http://www.actiprosoftware.com/
Products/DotNet/WindowsForms/SyntaxEditor/Default.aspx.
Ø ƒ #develop—I have used #develop, and one of the nicer things about it is that
you can extract pieces of the IDE and use them in your own application. In
order to create an IDE for a DSL, you’ll want to use the ICSharpCode.Text-
Editor DLL, which contains the text editor and the baseline facilities to enable
code completion.
Ø ƒAqiStar.TextBox—For WPF applications, I can’t say enough good things about
AqiStar (http://www.aqistar.com/) text editor. It’s similar to ICSharpCode.Text-
Editor from the point of view of configuration (down to using the same XML
syntax), it’s simple to work with, and it provides all the features I require.
DSL On Visual Studio的一些参考资料
http://www.domainspecificdevelopment.com/
http://archive.msdn.microsoft.com/vsvmsdk
DSL Tools Lab
http://code.msdn.microsoft.com/DSLToolsLab
http://www.ormfoundation.org/files/folders/norma/default.aspx
NORMA O/R mapping 工具
Process Development Environment
部署的问题
You cannot host a DSL design surface in a standard Windows Forms/WPF application.
However, you can create your own application built on top of the Visual Studio Isolated Shell to host your DSL. The Storyboard Designer sample is an example of hosting a DSL in an isolated shell (although built on the VS 2008 Shell).
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南