Git Product home page Git Product logo

beetl-eclipse-plugin's People

Contributors

javamonkey avatar orangeyts avatar richardyu1105 avatar xiandafu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

beetl-eclipse-plugin's Issues

静态文本着色

如果静态文本是html,应该能使得html部分也有着色,着色规则参考ecliipse html editor的规则
如果是js部分,不考虑着色

定界符号颜色选定

目前是红色,感觉太刺眼了,容易与错误颜色弄混,而且定界符号不应该太醒目,需要商定一个的颜色

静态文本折叠

允许折叠静态文本,如:
<%var a = 2 %>
第一行内容。。。。
第二行内容是。。。。
<%var a = 1%>
折叠后:
<%var a = 2 %>
第一行内容。。。。
<%var a = 1%>
类似java折叠

大括号自动插入,并且需要换号

目前可以自动插入大括号,但还需要自动换行(插入一个换行符号),且自动与上一行对其,鼠标停留在换行处:如下

if(a==1){

}

批量选出关键字bug

选择一个关键字,同样的关键字也被着色,但关键字上方的同样关键字没有着色

快速定位到下一个定界符站位符号

提供快捷键,快速定位到下一个定界符号(占位符),如 alt-
ctrl-n:快速定位到下一个定界符号(占位符
ctrl-p:仅仅定位到下一个占位符号

允许手工制定模板的根目录

在模板导航里,第一次使用需要手工指定模板跟目录。现在要求能保存到project属性里,以后也可以修改。

如果有可能,web项目的根目录可以自动根据配置文件算出来

ctrl / 能自动在插入注释符号

可以在当前插入注释符号,如果选中的是多个语句快,可以插入多个快,如果选中的混合了语句和静态文本,则beep报警

编辑器同步bug

如果编辑同步后,关闭beetl编辑器,然后再次快捷打开beetl同步编辑器,这时候输入一个字符会双倍输入,只能都关闭编辑器后重新你打开,才能正确

减小文件被解析的频率

每次eclipse操作,如双击,或者选择大括号等都会触发文件再次解析,影响性能,建议找到合适的api来判断文档是否有更新,如果没有更新,采用上一次的

代码助手alt+/要增强

1、提示增加模板,类似java,比如:for标题相当于for(xx in xx) while相当于 while(xx){}
2、提示增加二级提示。比如:beetl语法模板 单独放到一个选项下,先选“模板”再进入到 do while等的选择
3、变量属性的选择。
4、因为beetl的对象可能是从JAVA生成的,所以存在一个问题,就是模板中没有那些对象的属性,可以使用include直接包含一个外部元素的定义文件进来,实现属性的展示。
5、增加JAVA对象生成beetl的外部元素对象的功能。(比如可以设置在render方法调用之前,把设入beetl里的各种元素生成一个文件,这样做网页或别的东西的时候就很容易出各种属性提示了)

字符串选择文件

ctrl 单击字符串,应该先判断字符串是否是一个路径或者模板,然后再定位

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.