-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
FSI is readonly #126
Comments
Added some details. Thanks for looking into it! |
@haf FSI is readonly, it's always been readonly because @Krzysztof-Cieslak prefers it that way and I haven't taken the time to figure out a good way to implement an interactive version. Before VSCode introduced the integrated terminal there pretty much wasn't any way to have a text input box. (Maybe we could have made a custom html preview window and done something like using jquery to read the text in an input box and then send that to FSI in another process and render the responses in a pane, but it would have been a mess to implement 😵 ) So even though the integrated terminal is an improvement, you can only configure one particular integrated terminal, but you can open multiple instances of it. There's
and that's all she wrote 😞 But we should be able to do something about it fairly soon from Expose integrated terminal extension API #9957
They've got more Vim improvements coming up too
|
Yes, FSI is currently readonly. Both Best I can suggest for now (if you really want typing in FSI) is using integrated terminal and starting Interactive in there. We can probably revisit this issue in next month - additional APIs for sending commands to terminal is planned by Code team for current iteration. |
Sweet. :) No rush for my sake. Looking forward to hearing more about it. |
PS; as you've become aware I'm mostly shifting towards Ionide now despite my rough initial steps with it. |
This issue is a duplicate of microsoft/vscode#10451 |
@egamma, sorry. I'm bit confused. I don't think it's connected to the issue you've linked. As I've explained in previous post - FSI Panel right now is read-only by design (we basically use output panel for printing output from F# interactive [which is spawned in background as Node's child process). We're planning to revisit this implementation when additional API for sending stuff to integrated terminal is available, but it has nothing to do with Vim mode right now :) |
Sorry I've only read the description and not the full discussion. We have the issue that we cannot distinguish between editor 'types', so when you install the VIM extension it impacts all editors that show up in VS Code. I thought the FSI panel suffers from this as well. Our problem is that in the Debug Console the entry field for expressions is impacted by the VIM extension, but it should not be. |
FWIW, As of 1.4, running |
Moved F# Interactive to Terminal API in |
Install both vim mode and ionide and you cannot use FSI.
Steps to repro
install
vscodevim
in its latest version.install ionide in its latest version (-fsharp).
Run command "FSI: Start". Click the FSI to make it focus. For me cursor is now a vertical bar. Press a char, like 'b' for example. It's not output.
Custom editor keybindings:
Workaround
None found.
Expected behaviour
I can type in FSI.
Versions
The text was updated successfully, but these errors were encountered: