AtomLinter / linter-julia

This linter plugin provides an interface to Lint.jl.
https://atom.io/packages/linter-julia
MIT License
17 stars 3 forks source link

Does not work with modules #44

Closed AShedko closed 3 years ago

AShedko commented 7 years ago

Linter does not work well with modules. Is there a possibility of making that happen in forseeable future?

TeroFrondelius commented 7 years ago

Can you share little bit more details? I have a feeling this is Lint.jl issue but it would be easier to comment if you can show by example what is exactly the problem.

AShedko commented 7 years ago

I meant things like having code from a local module show up as undeclared symbols. image process is a function from a local module.

TeroFrondelius commented 7 years ago

Try running Lint.jl from REPL. Do you get the same errors and warnings?

Your example is too small to understand your workflow. If you either include or import by using the local module before your functions usage it should work.

AShedko commented 7 years ago

It works fine from the REPL image

TeroFrondelius commented 7 years ago

I still don't understand your problem. In your example each line have a red dot meaning there are some errors. Maybe you just don't see the error messages? What happens when you move cursor to any of the red dotted lines?

AShedko commented 7 years ago

image The dotted lines are where the functions and constants from ISCLib are used

aminya commented 3 years ago

Fixed in #119