AutoCompletion开始在Geany我的DSL关键字 [英] AutoCompletion for my DSL keywords in Geany

查看:252
本文介绍了AutoCompletion开始在Geany我的DSL关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Geany(IDE)支持自动完成,或作为智能感知你的程序,但是这是基于您在code沿用至今的话做了。

有什么办法,所以我可以有自动完成对我的语言关键字?


解决方案

您可以通过编写自己的标签文件实现这一目标。应当名称,如< somename方式><对文件类型> .tags添加键,例如可以存储里面.geany文件夹或文件夹的全球内。您可以通过工具菜单导入。

标签文件包含你的方法,你的函数语言等列表,以及优化这些命令的一些选择使用的工具提示。你可以发现里面手动

当然,你也可以查看维基是否有可能是已经存在的一些标记文件为您的语言。

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?

解决方案

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.

这篇关于AutoCompletion开始在Geany我的DSL关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆