问题
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