可以在 Geany 文本编辑器上阅读 .xtend

Possibility to read .xtend on Geany text editor

上下文:我想读取文件.xtend。通常我使用 Geany 作为文本编辑器。

问题:

  1. 是否可以在 Geany 上读取文件 .xtend?我的意思是语言被识别,关键词被高亮显示。
  2. 如果可以,如何实现?有什么手续吗?

According to Wikipedia, Xtend is syntactically similar to Java. Try opening an Xtend file in Geany, setting the highlighting to Java by selecting Document > Set Filetype > Programming Languages > Java source code, and see if that serves the purpose. If it does, you can then create a custom filetype for .xtend files by copying the Java filetype and adding the appropriate configuration info as noted in the Geany manual.