Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor.suggest.insertMode not work together with clangd extension #665

Open
michaelwolfram opened this issue Aug 2, 2024 · 1 comment
Open

Comments

@michaelwolfram
Copy link

Type: Bug

"editor.suggest.insertMode": "replace", is in my settings so I have the following expectation:

Expected:

  • let's have abc_test and cursor after the e
  • Ctrl+Space
  • Accept suggestion and text becomes abc_text

Actual:

  • let's have abc_test and cursor after the e
  • Ctrl+Space
  • Accept suggestion and text becomes abc_textst

Help: Start extension bisect suggested that clangd is causing this issue. After deactivating clangd the expected behavior occurs.

I hope I provided enough required information.
Thanks!

Extension version: 0.1.29
VS Code version: Code 1.91.1 (f1e16e1e6214d7c44d078b1f0607b2388f29d729, 2024-07-09T22:06:49.809Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Connection to 'ssh-remote+workstation' could not be established

System Info
Item Value
CPUs 13th Gen Intel(R) Core(TM) i7-13850HX (28 x 2304)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 31.64GB (20.16GB free)
Process Argv --crash-reporter-id 9c116f79-07e6-4068-9cff-8f83537cdfbc
Screen Reader no
VM 0%

Connection to 'ssh-remote+workstation' could not be established

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
bdiig495:31013172
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupytercf:31046870
impr_priority:31102340
nativerepl2:31104044
refactort:31108082
ccplt:31103426
pythonrstrctxt:31103193
wkspc-onlycs-t:31106322

@HighCommander4
Copy link
Contributor

Expected:

  • let's have abc_test and cursor after the e
  • Ctrl+Space
  • Accept suggestion and text becomes abc_text

I'm not quite following this fully. Could you give some more details please?

  • What type of file are you experiencing this issue in -- a C or C++ source file?
  • Can you give an example of the complete file contents (i.e. what else is there besides abc_test)?
  • What is the suggestion you're accepting (it sounds like it's text), and where is it coming from? Is it coming from clangd?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants