Vim 中的任务标签 [英] Task tags in Vim

查看:26
本文介绍了Vim 中的任务标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于任务标签的两个问题:

Two questions regarding task tags:

Vim 中还有哪些其他任务标签,如 TODO?有没有办法像在 Eclipse IDE 中那样制作自定义任务标签?

What other task tags like TODO, is available in Vim? Is there any way to make custom task tags like in Eclipse IDE?

推荐答案

像所有语法高亮一样,TODOFIXMEXXXet cetera 取决于您正在编辑的文件类型.这些关键字在您选择的语言的语法文件中定义.

Like all syntax highlighting, TODO, FIXME, XXX, et cetera depend on which type of file you are editing. These keywords are defined in the syntax files for your chosen language.

我引用的例子来自c.vim

The examples I quoted are from c.vim

Vim 是开源的:随时浏览存储库

Vim is open source: feel free to browse the repository!

这篇关于Vim 中的任务标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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