dotnet / dotnet/fsharp

Intellisense triggered for the wrong position with backticks

Open
#15,485 4 comments 0 reactions 0 assignees View on GitHub
Area-LangService-AutoComplete Bug Impact-Medium
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

**Repro steps**

```fsharp
let ``type`` (): unit = i
```

Press ctrl-space on `i`.

**Expected behavior**

Completions for `i` are shown.

**Actual behavior**

Completions for ` ``type`` ` (supposedly, if the panel's position is anything to go by) are shown.

![image](https://github.com/dotnet/fsharp/assets/5063478/3f834eaf-fb71-4c3a-ba55-3adf7af8310c)

**Known workarounds**

Avoid identifiers with backticks.

**Related information**

VS 17.7.0 Preview 2.0

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.