Skip to content

Launch interactive command and shortcut gone #255

Open
@weitzhandler

Description

@weitzhandler

C# interactive used to have a command assignable to keyboard shortcut to just open the window, regardless of current coding context (it’s a separate context anyway).
It's been over a year now that this command and shortcut has been missing. It was replaced by the InteractiveConsole.ExecuteInInteractive command which has several issues:

  • It assumes I want to copy-paste code from my current editor into console, when I merely want to open up the REPL to execute C# on the fly
  • In most scenarios, the current editor holds complex classes with dependeincies on packages etc. which in any case cannot be executed in the REPL.
  • When the REPL pane opens, if the mouse is not over it, it immediately hides. When opening the REPL, keyboard focus should be set to it.

My request is therefore:

  • Please add back a command to simply open the C# interactive windows, (like F# interactive's View.F#Interactive).
  • Make sure keyboard focus is set into the REPL once opened.

Posted here as well.

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions