Eclipse官方已经在着手做这件事情了,在Oxygen中,Eclipse提供了LSP4E扩展点(language server protocal for eclipse)来支持language server protocal,TM4E(textmate for eclipse)来支持语法高亮。

简单来说,我们可以用一个editor去实现对多种语言的语法补全和高亮显示,就跟VS code的效果一样,是不是很神奇,有木有很惊喜。

下面是官方给的教程,挺简单的,主要原理是利用本机安装的node.js在Eclipse这个平台上运行c#的language server js文件(这个文件在vs code的安装源码里面就能找到)

http://www.eclipse.org/community/eclipse_newsletter/2017/may/article3.php

然后Eclipse Lab里面有一个BlueSky的项目,里面主要是用language server protocol做对各种前段语言的支持。Show u the code:

https://github.com/mickaelistria/eclipse-bluesky

同时附上Microsoft开源的language server protocol库:

https://github.com/Microsoft/language-server-protocol/wiki/Protocol-Implementations

这段时间自己利用language server protocol做了对Groovy的语法补全和高亮支持的Eclipse Plugin,过段时间出一个详细的教程。

下面附上做这个插件时找到的各种资料:

https://www.slideshare.net/mickaelistria/eclipsecon-europe-2016-s-cela-mistria-eclipse-generic-and-extensible-editor-and-language-servers

https://github.com/eclipselabs/lsp4e-python

https://github.com/LucasBullen/LSP4J_Tutorial

最新文章

  1. 多值(in),范围值(between..and)
  2. javascript学习8
  3. bitmap转化base64
  4. 'libxml/HTMLparser.h' file not found in ASIHTTPRequest 解决方法
  5. ArrayList,Hashtable,List<T>,Dictionary<K,V>
  6. HTML知识点总结以及典型例子讲解
  7. sql基础查询语句
  8. 快钱报错:javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name解决
  9. Oracle学习(十):视图,索引,序列号,同义词
  10. HDU 2167 Pebbles(状压DP)
  11. Git版本控制 —— IDE工具(IDEA)
  12. 【刷题】【LeetCode】000-十大经典排序算法
  13. robot总结
  14. Jenkins去GitLab拉取Java代码自动打包
  15. Docker Kubernetes Service 网络服务代理模式详解
  16. Lintcode105 Copy List with Random Pointer solution 题解
  17. sock5协议转换http协议工具polipo使用笔记(Centos7)
  18. mongodb crud
  19. uoj 300 [CTSC2017]吉夫特 - Lucas - 分块 - 动态规划
  20. 2017.6.5项目总结(移动端touch事件)

热门文章

  1. ODOO 新API修饰符
  2. 阿里OSS ajax方式 web直传
  3. 浏览器标准模式与怪异模式-CSS1Compat and BackCompat
  4. oauth2使用心得-----基本概念以及认证服务器搭建
  5. PAT甲级——A1026 Table Tennis
  6. PHP实现定时任务(非linux-shell方式,与操作系统无关)
  7. 2019.10.25 csp-s模拟测试87 反思总结
  8. [原创]Machine Learning/机器学习 文章合集
  9. Leetcode116. Populating Next Right Pointers in Each Node填充同一层的兄弟节点
  10. PHP苹果推送实现(APNS)