开发者

Where can I find a jQuery syntax highlighting plugin for Notepad++? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. 开发者_Python百科 Closed 12 years ago.

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++?

*except for the bits that are shared with CSS and JavaScript...


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.

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>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜