AutoCompletion for my DSL keywords in Geany

匆匆过客 提交于 2019-12-11 04:18:40

问题


Geany(IDE) supports Autocompletion or IntelliSense as you program, but this is done based on the words you've used in the code so far.

Is there any way so I could have Autocompletion for my language keywords?


回答1:


You can achieve this by writing your own tag file. It should be name like <somename>.<filetype>.tags and can be stored e.g. inside .geany-folder or inside global folders. You can import it via Tools-menu.

The tag file contains of a list of your methods, functions etc of your language as well as optimally some options for these commands used a tooltip. You can find some details inside manual

Of course, you could also check the wiki whether there might be already some tag file available for your language.



来源:https://stackoverflow.com/questions/28920407/autocompletion-for-my-dsl-keywords-in-geany

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!