hansec / vscode-fortran-ls

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

Peek Definition not working #18

Closed nyckmaia closed 4 years ago

nyckmaia commented 4 years ago

I installed today two VS Code extensions from VS Code extensions button:

  1. Modern Fortran 0.4.5
  2. FORTRAN IntelliSense 0.6.0

I got the Syntax highlighting from the Modern Fortran but the Peek Definition from Fortran IntelliSense is not working.

What is happening?

My system: Windows 10 x64 VS Code 1.38.1

hansec commented 4 years ago

Did you install the underlying language server? This package relies on the language server for all of its functionality.

nyckmaia commented 4 years ago

Yes...it is installed! But not working yet...

What more I have to do?

michaelkonecny commented 4 years ago

In the Fortran IntelliSense extension settings, did you properly set the path to the fortls executable?

nyckmaia commented 4 years ago

Thank you @michaelkonecny ! Now it's working great!

nyckmaia commented 4 years ago

I'm using this extension in VS Code. Is possible to use it in Visual Studio Enterprise 2019? How can i configure it in this case?

michaelkonecny commented 4 years ago

Not yet, AFAIK. I have created an extension for Visual Studio 2017: https://github.com/michaelkonecny/vs-fortran-ls-client but it needs a lot of improvement (unfortunately, my work setup didn't allow me to install a fresh enough version of Visual Studio which would support these extensions, so I couldn't work on it) I'm planning on updating it for VS2019, but I won't be able to do it until I get a bit of free time at work, so probably some time around the beginning of next year...

nyckmaia commented 4 years ago

Thank you a lot @michaelkonecny !