首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Notepad++插件-如何添加咖啡脚本插件

Notepad++插件-如何添加咖啡脚本插件
EN

Stack Overflow用户
提问于 2013-08-05 02:30:18
回答 1查看 3.1K关注 0票数 1

我正在尝试在notepadd++中添加咖啡脚本插件。我找到了这里的插件。我从上面的链接下载的zip文件中没有.dll文件。当我读ReadMeFile的时候,上面写着。

代码语言:javascript
复制
# 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!

有人能帮我安装插件吗。不明白自述者在说什么。谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2013-08-12 19:29:25

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

  1. 从Git下载CoffeeScript.xml。如果是拉链的话,一定要解压它。
  2. 打开Notepad++。在“语言”菜单下,选择“定义您的语言.”
  3. 在顶部,单击Import按钮。导航到CoffeeScript.xml,选择它,然后选择Open。按对话框右上角的x键关闭它.
  4. 重新启动Notepad++。您应该在“语言”菜单的底部看到CoffeeScript。您现在打开的任何.coffee文件都应该有语法着色。
票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/18049818

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档