Comments (7)
@l5oo00 操作系统情况,Sublime版本?fecs -v
from baidu-fe-code-style.
"node_bin": "D:\Program Files\nodejs\node.exe" 加上.exe
from baidu-fe-code-style.
@leeight 系统信息如下:
win8 64位
sublime2 v2.0.2 build 2221
fecs v0.1.1
node v0.10.32
刚才又捣鼓了下,发现一些新问题:
重装插件后按 @footya 提示操作,有效果了,但是还是跑不通,一保存就报错。
后来按照 #4 改了fecs的配置,终于有效果了。
最终配置如下:
{
"env": {
"fecs_bin": "C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\fecs\\bin\\fecs",
"node_bin": "D:\\Program Files\\nodejs\\node.exe"
}
}
然后重启sublime,发现保存时又没效果,打开控制台,发现貌似是插件加载失败:
```dash
Reloading plugin D:\ProgramGreen\Sublime Text 2.0.2\Data\Packages\Baidu FE Code Style\fecs.py
Traceback (most recent call last):
File ".\sublime_plugin.py", line 62, in reload_plugin
File ".\fecs.py", line 264, in <module>
watch()
File ".\fecs.py", line 174, in watch
view = sublime.active_window().active_view()
AttributeError: 'NoneType' object has no attribute 'active_view'
Reloading plugin D:\ProgramGreen\Sublime Text 2.0.2\Data\Packages\Baidu FE Code Style\gs.py
Reloading plugin D:\ProgramGreen\Sublime Text 2.0.2\Data\Packages\Baidu FE Code Style\gsq.py
不过先禁用然后再启用插件,就又能用了。
求指导!
from baidu-fe-code-style.
@leeight 求助 sublime重启后 插件加载不成功的问题。
from baidu-fe-code-style.
同求:sublime重启后 插件加载不成功的问题
from baidu-fe-code-style.
系统:win7 64位,sublime text3,fecs 0.2.4,node v0.10.33
先是 npm install fecs -g,等了好久终于装上了。
然后按照要求,安装_fecs_插件。
路径配置为
{
"env": {
"fecs_bin": "C:\\Users\\username\\AppData\\Roaming\\npm\\node_modules\\fecs\\bin",
"node_bin": "D:\\Program Files\\nodejs\\node.exe"
}
}
编辑js保存的时候控制台提示 error: String required:
求助大神~~
from baidu-fe-code-style.
windows上python调用fecs的姿势貌似不太对。。。
from baidu-fe-code-style.
Related Issues (20)
- windows下webstorm配置了,一直提示“JSCS is not found” HOT 4
- window配置保存js出现问题 HOT 1
- 可以配置 缩进两个空格不检查吗?
- 希望能支持 PHPStorm HOT 1
- Sublime配置完了没效果 HOT 1
- 不管是 检查规范 还是 格式化 ,都alert "String required",并且log "error: String required" HOT 10
- 没有效果报错
- CSS和HTML代码检测不了 HOT 3
- 最新版本webstrom下提示 JSCS error: spawn fecs ENOENT
- 可以添加对vue的支持吗
- windows下配置弹出如下错误 HOT 4
- webstorm提示graceful-fs版本太老
- 没有生效 HOT 1
- Sublime Text 3安装配置好之后,执行代码检查报错。 HOT 3
- webstorm配置时 Configuration file不能忽略吧? HOT 2
- 这个检查能够配置一下,只检查[强制]的规范不检查[建议]的规范吗 HOT 1
- 能否自定义【检测的缩进值】,使得【indentation=2】可以检验通过
- 是否有计划支持VS Code?
- 在sublime text 3配置好后不生效
- webstorm 2018.3.4 使用最新包配置后报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from baidu-fe-code-style.