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.

clip_image001

 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 工具

http://pde.codeplex.com/

Process Development Environment

 

部署的问题

http://stackoverflow.com/questions/4969190/can-i-create-a-visual-dsl-that-does-not-require-visual-studio

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).

posted @   2012  阅读(465)  评论(0编辑  收藏  举报
编辑推荐:
· 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代理技术深度解析与实战指南
点击右上角即可分享
微信分享提示