ide-fortran icon indicating copy to clipboard operation
ide-fortran copied to clipboard

Only working when adding project folder and restarting Atom

Open benjaminlarin opened this issue 6 years ago • 1 comments

First, fortran-ide is only working when I also add a project folder. When I open a .f90 file without adding a project folder, outlook, hover, and find reference do all not work. Outline shows me

No outline available This is likely an error with the language package.

Is this actually a bug (or a general lack of my experience with Atom IDEs)? If its not a bug, then it would be nice to state in the documentation of fortran-ide and/or fortls that one has to add a project.

Second, when I add a project folder and open a f.90 file from within this folder, an outline is not shown (other fortran-ide features like hovering do work). I only get a (seemingly forever) spinning circle. Only restarting Atom afterwards makes it work.

My configuration: Ubuntu 16.04.5 LTS Atom 1.33.0 x64 ide-fortran 0.3.0 fortran-language-server 0.9.3 Fortran language server path: /home/USERNAME/.local/bin/fortls

benjaminlarin avatar Jan 25 '19 11:01 benjaminlarin

I am not able to reproduce the first issue. However, for me Atom automatically opens the containing folder as a "project" when I open a file. Even if there is only a single file in the folder I still get the functionality as expected.

The second issue is a known problem with the underlying IDE functionality of Atom. Unfortunately, I am not sure when or if this will be fixed since the IDE functionality is currently up in the air after development of it was abandoned by Facebook. I expect it will be picked up again by the community, but right now that is a little up in the air since the GitHub repo has been archived.

hansec avatar Jan 25 '19 16:01 hansec