hansec / fortran-language-server

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

jsonrpc: add support for UNC path #219

Open regit opened 2 years ago

regit commented 2 years ago

In the case of a UNC path on windows, the name of the file in the JSON RPC call is file://SERVER/the/path/file.f90 and it can be accessed in Python with //SERVER/the/path/file.f90

I can not easily test this but I've used the same code on suricata-language-server that is based on this code.

PS: a huge thanks for this code base.