hansec / fortran-language-server

Fortran Language Server for the Language Server Protocol
MIT License
294 stars 57 forks source link

Allow for a more flexible options file #218

Closed gnikit closed 2 years ago

gnikit commented 2 years ago

Currently the options file for fortls is quite strict with it's format; the name is fixed to .fortls, it has to be located in the root dir of the project, it cannot parse comments, it cannot handle globs, etc.

The general idea is to have a file that is capable of all the above and more, thus not making it necessary to pass command line arguments at all. This file can then be shipped with the program to allow for easy config with VS Code.

I have done quite a bit of work on the globs, jsonc and the adding options through the settings file. I will be releasing them in my dev branch and also opening a WIP PR in these repo as well once I iron out some bugs with hover.

gnikit commented 2 years ago

This has now been added in fortls v2.0.0 (and in previous versions with partial support)