dotnet / dotnet/fsharp

Double click on the identifier does not select whole identifier

Open
#14,192 0 comments 1 reaction 0 assignees View on GitHub
AI-thinks-windows-only Area-VS-Editor Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

If you have identifier in Cyrillic letters and double click on the identifier then identifier only partially selected.

![image](https://user-images.githubusercontent.com/4257079/198616092-894ff07c-54d4-4a4a-be1c-be4400450cdc.png)

![image](https://user-images.githubusercontent.com/4257079/198616228-8dc08c44-5f7f-464b-8098-a03d9ee5a069.png)

This is happens just in F#, when inside C# everything is fine.

![image](https://user-images.githubusercontent.com/4257079/198617258-d9575171-718d-4eca-a2be-d763b210af80.png)

**Repro steps**

Provide the steps required to reproduce the problem:

1. git clone https://github.com/kant2002/funsharp/
2. git checkout головна
3. Open any fs file, for example https://github.com/kant2002/FunSharp/blob/c4831837467b20d6dfe74e274c11b29b8a6ef333/%D1%96%D1%81%D1%85/%D0%93%D1%80%D0%B0%D1%84%D0%B8%D1%87%D0%BD%D0%B5%D0%92%D1%96%D0%BA%D0%BD%D0%BE.fs#L1

**Expected behavior**

I would like that whole identifier would be selected.

**Actual behavior**

Identifier partially selected. I suspect on the border between Latine/non-Latin character.

**Known workarounds**

Provide a description of any known workarounds.

**Related information**

Provide any related information (optional):

* Operating system Windows 10
* .NET 7 RC2
* Visual Studio Version 17.4.0 Preview 3.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.