idok / eslint-plugin

ESLint plugin for intellij
http://plugins.jetbrains.com/plugin/7494
MIT License
151 stars 18 forks source link

how to set quick fix ? #58

Closed aizigao closed 8 years ago

aizigao commented 8 years ago

I had setted like this image but it not works well , I also used " Apply fix 'Eslint'" ,but it just add some comments image

aizigao commented 8 years ago

image

dverbru commented 8 years ago

This is not a support forum, it's an issue tracker. Please bring your questions to some other place like Stack Overflow.

That being said, I think you have to set it to --fix.

erotte commented 8 years ago

@dverbru I do not agree. "Quick fixes" are mentioned as a feature and it would be really awesome to get them work. I also get an error message The --fix option is not available for piped-in code. when I add the --fix–option.

The Atom plugin works fine with autofix mode, so it should be possible to fix that.

aizigao commented 8 years ago

@erotte thank you answer , actually I use sublime's plugin and terminal in idea to "Quick fixes" , but My parts are not