JS在Sublime Text 3中修正语法 [英] JS correcting syntax in Sublime Text 3

查看:144
本文介绍了JS在Sublime Text 3中修正语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Sublime Text 3的新手。我曾经使用Netbeans,它有一个很好的JavaScript和PHP语法纠正系统。到目前为止,Sublime具有很强的功能。它快速而美观,但在创建JS文件时没有语法纠正错误。让这个工作的可能性?我在SublimeLinter上读了一下,但是当我安装它时,似乎无法正常工作。有人可以帮忙吗?

Im new to to Sublime Text 3. I used to use Netbeans which had a great syntax correcting system for JavaScript and PHP. So far, Sublime has great features. Its fast and beautiful, but it does not have syntax correcting errors when I create JS files. Is it a possibility to get this working? I read a bit on "SublimeLinter" but when I installed it, it seems to not work correctly. Can anyone help?

推荐答案

您是否尝试安装SublimeLinter 用于Sublime Text 3

Have you try to install SublimeLinter for Sublime Text 3?

(我不喜欢我认为这个软件包可直接在Package控件插件中使用,因此你必须下载.zip并将其解压缩到你的Sublime Text 3 / Packages文件夹中)

(I don't think this package is directly available in the Package control plugin, so you have to dowload the .zip and extract it in your Sublime Text 3/Packages folder)

检查:如果你有计划要编辑使用基于JavaScript的linter(JavaScript,CSS)的文件,系统必须安装JavaScript引擎.Mac OS X附带一个名为JavaScriptCore的预装JavaScript引擎,如果未安装Node.js,则使用该引擎。在Windows上,您必须安装JavaScript引擎 Node.js ,可以从Node.js站点下载。

Check: "If you plan to edit files that use a JavaScript-based linter (JavaScript, CSS), your system must have a JavaScript engine installed. Mac OS X comes with a preinstalled JavaScript engine called JavaScriptCore, which is used if Node.js is not installed. On Windows, you must install the JavaScript engine Node.js, which can be downloaded from the Node.js site."

这篇关于JS在Sublime Text 3中修正语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆