dotnet / dotnet/interactive-window
Launch interactive command and shortcut gone
- Dominant language
- C#
- Stars
- 75
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
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](https://developercommunity.visualstudio.com/t/Command-and-keyboard-shortcut-to-open-C/10827985) as well.
[Related](https://github.com/dotnet/roslyn/issues/3941)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.