However since Fortran uses the '%' character to access members of classes etc., oni doesn't seem to
be able to provide completions. At least no completions are provided. Errors however are provided by the language-server so I'm assuming the server could be started successfully.
As an example to test you can use the attached file.
fortran_test.zip
Steps to see if it's working would be:
Open the file
Try the completion in the function circle_area, by refering to this%radius
The completion should appear after the % token.
I couldn't find a list or sort of where to define these symbols. But from #1016 there seem to be
an issue with the 'correct' completion symbol. Since that seem related it would be nice to support
other characters for completion. Maybe an option?
Hello and welcome to the Oni repository! Thanks for opening your first issue here. To help us out, please make sure to include as much detail as possible - including screenshots and logs, if possible.
I could successfully start the fortls language-server with the following options
"language.fortran.languageServer.command": "fortls", "language.fortran.languageServer.rootFiles": [".fortls"],
However since Fortran uses the '%' character to access members of classes etc., oni doesn't seem to be able to provide completions. At least no completions are provided. Errors however are provided by the language-server so I'm assuming the server could be started successfully.
As an example to test you can use the attached file. fortran_test.zip
Steps to see if it's working would be:
circle_area
, by refering tothis%radius
The completion should appear after the % token.I couldn't find a list or sort of where to define these symbols. But from #1016 there seem to be an issue with the 'correct' completion symbol. Since that seem related it would be nice to support other characters for completion. Maybe an option?