ionide / ionide/FsAutoComplete

Various failures with SourceLinked files

Open
#1,011 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted reproduction needed
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

While working on https://github.com/fsharp/FsAutoComplete/pull/1007, renaming would fail sometimes. Specifically when I went to rename an override on the LspServer, I would get an error like:

```
Could not read file: /_/src/Server.fs
```

@baronfel and I suspect it's SourceLinked files, and its trying to access the `Server.fs` file in the [LanguageServerProtocol](https://github.com/ionide/LanguageServerProtocol) project.

We should consider investigating when/where to ignore SourceLinked files. Goto Definition should support using them but Rename shouldn't, etc.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.