Notepad ++插件 - 如何添加coffeescripts插件

时间:2013-08-05 02:30:18

标签: plugins coffeescript notepad++

我正在尝试将coffeescripts插件添加到notepadd ++中。我从here找到了这个插件。我从上面的链接下载的zip文件中没有.dll个文件。当我读到ReadMeFile时,它说。

# CoffeeScript syntax highlighting for Notepad++
***


Will syntax highlight files with extensions of coffee, coco, and CAKEFILE using Notepad++'s user-defined language(within its limits).


![An example Screenshot](/blakmatrix/CoffeeScript_notepad_UDL/raw/master/example_screenshot.png)


## Deployment


1. If you don't have an userDefineLang.xml file already, you can drop this file among your other configuration file, in the Notepad++ Install Folder. It should be named userDefineLang.xml.
2. Otherwise, open both the existing and new file.
    - Select all of the new file, copy, and paste at the end of the current file.
    - This should have created a spurious </Notepad_Plus><Notepad_plus> pair in the middle, each tag on a line by itself. Remove these two consecutive lines.
    - Close Notepad++.


Your Languages menu should show the newly added language at the bottom, next time you launch Notepad++.


***
### Contact
Contact me at blakmatrix@gmail.com for any questions or tips!

任何人都可以帮我安装插件。不明白自述的内容。 感谢

1 个答案:

答案 0 :(得分:7)

我刚遇到类似的问题。使用Notepad v6.3.3的解决方案(可能不是最佳的):

  1. 从该Git仓库下载CoffeeScript.xml。如果是压缩的,请确保解压缩。
  2. 打开Notepad ++。在语言菜单下,选择“定义您的语言...”
  3. 在顶部,单击“导入”按钮。导航到CoffeeScript.xml,选择它,然后选择“打开”。按对话框右上角的x将其关闭。
  4. 重新启动Notepad ++。您应该在语言菜单的底部看到CoffeeScript。您现在打开的任何.coffee文件都应该有语法着色。