hansec / vscode-fortran-ls

Fortran IntelliSense for Visual Studio Code
MIT License
37 stars 7 forks source link

intellisense never finishes loading #19

Open JPBergsma opened 4 years ago

JPBergsma commented 4 years ago

In some specific cases fortran intellisense hangs when interpreting a file. When hovering with the mouse over the subroutine name the popup text only says loading. I have attached a minimal example. Perhaps this is not valid fortran but it should not crash intellisense regardless test.f90.zip

fortran intellisense v 0.6.0

visual studio code version: Version: 1.40.2 Commit: f359dd69833dd8800b54d458f6d37ab7c78df520 Date: 2019-11-25T14:54:40.719Z Electron: 6.1.5 Chrome: 76.0.3809.146 Node.js: 12.4.0 V8: 7.6.303.31-electron.0 OS: Linux x64 4.15.0-66-generic

hansec commented 4 years ago

Thanks for the report! This is actually an issue with the upstream Modern Fortran extension. There is a bug in its symbol provider that effectively blocks the outline and other interaction for all "language server" functionality. I have submitted a pull request to fix this issue, which you can track here and I will keep this issue open until that patch is released.

JPBergsma commented 4 years ago

Thank you for looking into this issue.