在哪里可以找到Notepad ++的jQuery语法高亮插件? [英] Where can I find a jQuery syntax highlighting plugin for Notepad++?

查看:117
本文介绍了在哪里可以找到Notepad ++的jQuery语法高亮插件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

jQuery具有自己所有的语法 * ,当编写可笑的冗长表达式时,我常常渴望进行某种突出显示.是否可以在Notepad ++中实现此目的?

jQuery has a syntax all its own*, and when writing ridiculously lengthy expressions I often yearn for some sort of highlighting. Is there a way to achieve this in Notepad++?

* ,与CSS和JavaScript共享的位除外...

推荐答案

Notepad ++在其目录中具有langs.xml文件,您可以对其进行编辑以添加jQuery语言类型和要突出显示的关键字.

Notepad++ has a langs.xml file in its directory that you can edit to add a jQuery langueage type and the keywords you want highlighted.

您可以从复制和编辑Javascript元素开始:

You can start by copying and editing the Javascript element:

<Language name="javascript" ext="js" commentLine="//" commentStart="/*" commentEnd="*/">
    <Keywords name="instre1">abstract boolean break byte case catch char class const continue debugger default delete do double else enum export extends final finally float for function goto if implements import in instanceof int interface long native new package private protected public return short static super switch synchronized this throw throws transient try typeof var void volatile while with true false prototype</Keywords>
</Language>

这篇关于在哪里可以找到Notepad ++的jQuery语法高亮插件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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