ionide / ionide/ionide-vscode-fsharp

Error highlighting on method calls

Open
#2,011 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
F#
Stars
897
Forks
297
Avg merge
2d 1h
Merged PRs (30d)
1

Description

### Describe the bug
When a method is called, the part that precedes it is incorrectly highlighted by the method's color

### sample reproduction
```fs
value.Replace("{","{{").Replace("}","}}")
```
### Expected behaviour
Correct highlighting for each step of the chained call

### Screenshots
image

## Machine info
- OS: Windows
- .NET SDK version: 8.0.300
- Ionide version: 7.20.1

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the chained call `value.Replace("{","{{").Replace("}","}}")` in VS Code on Windows with Ionide 7.20.1, then trace the F# syntax-highlighting entry point; done means each step of the chained call is highlighted with the correct method color.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.