如何设置新的语言IDE [英] How to setup a new language IDE

查看:512
本文介绍了如何设置新的语言IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在工作中我们使用专有语言并编程我们正在使用Notepad ++,并带有简单的代码突出显示。这真的很烦人,我想做的是花一些时间来设置文本编辑器或现有的IDE来支持我的语言。

At work we are using a proprietary language and to program we are using Notepad++ with a simple code highlight. That is really annoying so, what I want to do is to invest some time to setup a text editor or an existing IDE to support my language.

我用Google搜索了很多,有很多选择,在开始工作之前我想问你什么是最好的选择。
我想做的是像IDE一样,有一个语法高亮,一个带有函数列表树的窗口,在同一个子树中有本地函数变量,也许是文本自动完成(如果我输入proI我希望看到建议的程序,如果我按下输入它将为我写的东西像

I've googled a lot and there are so many options and before starting to work I wanna ask to you what is the best choice. What I want to do is to have, like an IDE, a syntax highlight, a window with the function list tree, with the local function variables inside the same subtree, maybe text autocomplete (if I type "pro" I would like to see the suggestion "procedure" and if I press enter it will write for me something like

procedure "name" {
   --code--
}

光标位于name准备好改变它。
等等...

with the cursor on "name" ready to change it. etc etc...

你能建议我走正确的道路吗?
继续使用Notepad ++?使用sourcecookifier?functionlist?
或者我必须更改为另一个文本编辑器?
或者有一些着名的IDE,如Eclipse,NetBeans等,可以轻松添加我自己的语言?

Can you suggest me the right path to follow? Is it to keep using Notepad++? With sourcecookifier? functionlist? Or I have to change to another text editor? Or there is some famous IDE like Eclipse, NetBeans etc that allow to easily add my own language?

PS。我的语言非常简单,我没有复杂的结构,像Pascal一样。有类似的东西:

PS. my language is pretty simple, I don't have complex structures, is Pascal-like. Something like that:

variable int  xyz
PROCEDURE asd
BEGIN
END PROCEDURE asd


推荐答案

您是否评估过 Eclipse XTEXT


什么是Xtext?

What is Xtext?

Xtext是一个开发编程语言和领域特定语言的框架。

Xtext is a framework for development of programming languages and domain specific languages.

这篇关于如何设置新的语言IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆