Notepad++ 中更好的 Javascript 语法高亮显示

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11696582/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-26 14:02:22  来源:igfitidea点击:

Better syntax highlighting for Javascript in Notepad++

javascriptsyntax-highlightingnotepad++

提问by Rafael Adel

I'm using Notepad++ in writing Javascript files. But the syntax highlighting is not that good there.

我正在使用 Notepad++ 编写 Javascript 文件。但是那里的语法突出显示并不是那么好。

For example methods and properties of known objects, like arrays, numbers or even AJAX object are not highlighted at all.

例如,已知对象的方法和属性,如数组、数字甚至 AJAX 对象,根本没有突出显示。

Can this be improved by adding a plugin or something ? if so can you specify a plugin for me ?

这可以通过添加插件或其他东西来改进吗?如果可以,你能为我指定一个插件吗?

Thanks

谢谢

采纳答案by ewein

In Notepad++ you can go to the plugins tab and then to plugin manager and it will show you all available and installed plugins. Just scroll down the list until you find one that suits your needs and install it. If you don't see it on the list I don't think you will find it anywhere else.

在 Notepad++ 中,您可以转到插件选项卡,然后转到插件管理器,它会显示所有可用和已安装的插件。只需向下滚动列表,直到找到适合您的需求并安装它。如果您没有在列表中看到它,我认为您不会在其他任何地方找到它。