Closed hzxusx closed 7 years ago
Ok, I think I was able to track down the problem. Can you please try this updated parser script with your default Python install? You can download the file using the "raw" link at the top of the source code.
Great! It works properly now. Thanks for your help!
@hzxusx In response to your other questions.
1) The code you are working with uses implicit variables. These variables are never really defined in the conventional sense, so they are not picked up for suggestion. I may try and improve handling that type of variable in the future, but it is not a high priority since using implicit variables is no longer considered best practice.
2) Each window in Atom is independent, so rebuild index
only rebuilds the current project, not those open in other windows.
Hi, I have just installed this package and encounter this problem. I read the previous posts but found no answer.
First, I test the
example.f90
andtest_mod.f90
(which I typed according to the gif in the homepage) in one project again and it worked.But when I try another file it behaves abnormally. It's a f77 code from my PIC simulation course. Of course it will compile (using gfortran).
The default setting uses '/usr/bin/python', and this produces the
Scope stack not empty
errorAnd in this case, when clicking
rebulid index
, I get theScope stack not empty
errorIf I type python directly, which means using the python3 provided by anaconda, it seems to work
However, in the file, some identifier works and jumps to the right position, some don't and produce
Could not find definition: ...
You can find the code I use here. I don't own the copyright so please use for test only.
By the way, if I open mutiple projects, does the
rebuild index
build them all?Some information