ionide / FsAutoComplete

F# language server using Language Server Protocol
Other
409 stars 154 forks source link

--state-directory option hard codes "C:\Users\chusk" #928

Closed tnishimura closed 2 years ago

tnishimura commented 2 years ago

stateLocationOption hard codes "C:\Users\chusk" as the default value, which seems to result in that directory being created in my project's directory in Linux.

My reproduction steps:

Not sure what the default value should actually be on Linux...

baronfel commented 2 years ago

Wow that's embarrassing - the default should be the System.Environment.CurrentDirectory.

baronfel commented 2 years ago

That being said, ionide-vim would ideally be passing a workspace-specific state directory like VSCode does, so that we have a place to store state without cluttering the user's source directory.

baronfel commented 2 years ago

Fixed in #930, will be released in the next day or so.