csharp-language-server icon indicating copy to clipboard operation
csharp-language-server copied to clipboard

Some code actions don't seem to have a complete text

Open chaiNeehujui opened this issue 2 years ago • 3 comments

Hi! If you call code actions for a variable, the action list looks like this: image I guess there is some missing text in the lines starting with a lowercase letter.

chaiNeehujui avatar Mar 01 '23 21:03 chaiNeehujui

Hey @akanmuratcimen

This may not be related to your issue, but which editor are you using?

razzmatazz avatar Mar 03 '23 05:03 razzmatazz

Also, could you provide more context, i.e. how to replicate this (with anonymized code, if necessary)?

razzmatazz avatar Mar 03 '23 05:03 razzmatazz

I created a sample repo to reproduce this issue: https://codeberg.org/akan/cslspsample You should be able to see the issue when you call code actions while your cursor on 'testVariable' (line 10) in Program.cs.

image

Debian 6.1.12-1 NVIM v0.8.3 dotnet 7.0.201 csharp-ls 0.6.1.0

chaiNeehujui avatar Mar 03 '23 09:03 chaiNeehujui