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

CM6: System.InvalidOperationException: Cannot select completion when completion list is not active. #211

Open
ashmind opened this issue Jan 15, 2023 · 2 comments

Comments

@ashmind
Copy link
Owner

ashmind commented Jan 15, 2023

session.js:121 Uncaught Error: System.InvalidOperationException: Cannot select completion when completion list is not active.
   at MirrorSharp.Internal.Handlers.Shared.CompletionSupport.SelectCompletionAsync(:7177/Int32 selectedIndex, WorkSession session, ICommandResultSender sender, CancellationToken cancellationToken) in c:\Development\mirrorsharp\Common\Internal\Handlers\Shared\CompletionSupport.cs:line 42
   at MirrorSharp.Internal.Connection.ReceiveAndProcessInternalAsync(:7177/CancellationToken cancellationToken) in c:\Development\mirrorsharp\Common\Internal\Connection.cs:line 96
   at MirrorSharp.Internal.Connection.ReceiveAndProcessAsync(:7177/CancellationToken cancellationToken) in c:\Development\mirrorsharp\Common\Internal\Connection.cs:line 54
    at #receiveServerError (session.js:121:38)
    at #receiveMessage (session.js:136:33)
    at message (session.js:23:41)
    at WebSocket.message (connection.js:67:11)
@ashmind ashmind added this to the codemirror-6 milestone Jan 15, 2023
@ashmind
Copy link
Owner Author

ashmind commented Mar 11, 2023

Might be fixed by latest completion improvements, let's monitor a bit

@sampletext32
Copy link

if sharplab utilizes the latest version, then this problem still exists.

Reproduction:

  1. Clean input
  2. Type "Gui"
  3. Refresh page
  4. Press "Ctrl + Space" / "Cmd + Space"
  5. Press "Enter" (suggestion is not inserted)
  6. Press "Enter" again. (Error is displayed on the right side)
    image

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

No branches or pull requests

2 participants