Closed btmit closed 5 years ago
@btmit I have exactly the same issue, have you managed to solve it somehow?
Julia Version 1.1.0
This package, and the published version of Lint.jl
, currently aren't written for support of Julia past 0.5 or so. I managed to put together https://github.com/AtomLinter/linter-julia/pull/68 to use Lint.jl
directly from their master
branch (which supports Julia 1+) and put together a server file here... but I don't use Julia myself so I have no idea if it works correctly or not.
Note that if you do want to try that PR you will need to update to a fixed version of Lint.jl
.
Thanks for the reply, now it all makes much more sense.
I was contemplating switching to Atom from VSCode due to the Linter having some issues, but it seems Atom has it's own issues as well. Perhaps I will give your suggestion a shot over the weekend.
I was contemplating switching to Atom from VSCode due to the Linter having some issues, but it seems Atom has it's own issues as well.
None of this has anything to do with Atom (or VSC), this is entirely an issue with Julia's terrible versioning and package management.
@cedeerwe same here.
I just get a pulsing yellow dot or I get an error when I just do lintpkg()
or lintfile()
.
Guess it's time to write my own linter :)
It seems that the julia server that is spawned from server.js (using a BufferedProcess) does not stay alive at the end of the julia-server.jl script. That is why there is no answer from the server and the yellow dot keeps pulsing.
I have just tested to add an infinite while loop at the end of julia-server.jl and now the "dot is green".
Do you knom if the BufferedProcess should keep the process running?
The issue is fixed now. Closed by https://github.com/AtomLinter/linter-julia/commit/a2619ea158960b0146a20c2a43590944742faec3
Julia linter runs but never returns or outputs an error message (that I can find in console or elsewhere). Running the linter directly from Julia works fine as does other linters in Atom. Only indication I can find is the yellow pulsing dot at the bottom of the window which will read
Current: Julia on test.jl
forever.test.jl:
and predictably
I tried with both the default Julia path in addition to an absolute path in the linter-julia settings. Any suggestions on how to debug?