Wednesday 15 January 2014

Unable to get any linting done in github's atom editor (using Linter + Linter Pylint) -



Unable to get any linting done in github's atom editor (using Linter + Linter Pylint) -

text editor: atom v 0.140.0

installed version of linter: 0.7.3 installed version of linter pylint: 0.1.5 version of atom: 0.140.0 running on linux mint 16 pylint version: pylint 0.26.0, astng 0.24.1, mutual 0.59.1 python 2.7.5+ (default, feb 27 2014, 19:37:08) [gcc 4.8.1]

issue: both packages (linter , linter pylint) installed , enabled no linting beingness done in case of errors. illustration priont "asdf" doesn't show kind of error message.

i had same problem on windows 8 able prepare editing config.cson file in atom. after you've downloaded linters, need first total path (file location) linter. then, go config.cson file , should see linters you've downloaded somewhere in file. example, trying pylint work. in config file there should quotations containing specific linter somewhere in file, example, mine has line of code read:

"linter-pylint": {}

delete brackets , in line under name of linter (keep colon , should auto indent next line) add together "path: " , total path name of linter. pylint went from

"linter-pylint": {}

to

"linter-pylint": path: "c:users/student/.atompackageslinter-pylint"

then restarted atom , linter working fine. same method worked c++ linter clang. note: might need same thing generic linter itself; i.e. file might contain line says

"linter": {}

github editor pylint atom-editor

No comments:

Post a Comment