1

我正在尝试将咖啡脚本插件添加到记事本++。我从这里找到了插件。.dll我从上面的链接下载的 zip 文件中没有文件。当我阅读自述文件时,它说。

# 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!

谁能帮我安装插件。没看懂readme说什么。谢谢

4

1 回答 1

7

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

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