CSharpRepl icon indicating copy to clipboard operation
CSharpRepl copied to clipboard

should not accept the intelligen suggestion while hit space

Open heartacker opened this issue 1 year ago • 6 comments

Version

newest

What happened?

pleaz do not accept suggest while hit space, most we use enter/tab while we want accept the suggetion image

heartacker avatar Mar 28 '24 06:03 heartacker

Please see #148. This matches Visual Studio behavior and is wanted.

kindermannhubert avatar Mar 28 '24 07:03 kindermannhubert

could it please add a option,This is quite necessary. thanks

heartacker avatar Mar 31 '24 02:03 heartacker

涂鸦_Screenshot_2024-03-31-11-06-51-167_GitHub.png

Yes, this is really annoying.

heartacker avatar Mar 31 '24 03:03 heartacker

Hi @heartacker, a few questions to better understand your use case:

  1. We match the Visual Studio behavior -- we have no plans to change this. Do you also use a custom Visual Studio config?
  2. Why are you pressing space if you don't want it to accept the current suggestion? Can you give us an example workflow.

I am open to a PR that updates this, though it should allow for general configuration and not be specific to the "space" key. See the "commitCompletion" area of the code to get started.

waf avatar Mar 31 '24 03:03 waf

hi ,@waf Thank you and

  1. I use Both VS and VSCode, and Preferred vsode,
  2. [Import] I believe space is a character, so space key is not a function key but character key
  3. we have Tab and Enter to accept the suggestion, and too much to add space too
  4. if i just want to input a b, we get this

heartacker avatar Apr 01 '24 04:04 heartacker

@waf Hi,Is there a way to cancel the space suggestion through the configuration

heartacker avatar Jul 18 '24 02:07 heartacker