ionide / ionide/FsAutoComplete

Handle Project Reloads when adding files to wildcard patterns

Open
#1,155 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

We should add logic to handle Wildcarded files in fsproj files such as:

```xml

```

In Adaptive, the [additional dependencies](https://github.com/fsharp/FsAutoComplete/blob/main/src/FsAutoComplete/LspServers/AdaptiveFSharpLspServer.fs#L763) is where it makes sense to watch for these files. We probably only want to do it upon Add or Delete but not modify.

### Current workarounds:

- Option 1: Reload Window (not ideal)
- Option 2:
- Save the fsproj file to mark it as updated
- go to a file that it does know about (something that isn't wildcarded for example) and get it typechecked to force it to reload that project

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.