【问题标题】:Notepad++ plugin - How to add coffeescripts pluginNotepad++ 插件 - 如何添加咖啡脚本插件
【发布时间】:2013-08-05 02:30:18
【问题描述】:

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

# 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说什么。 谢谢

【问题讨论】:

    标签: plugins coffeescript notepad++


    【解决方案1】:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-01-24
      • 1970-01-01
      • 2017-12-26
      • 1970-01-01
      • 2014-10-20
      • 2013-01-09
      • 1970-01-01
      • 2011-10-12
      相关资源
      最近更新 更多