Open Yoyokrazy opened 1 week ago
+1 to this
This is from Interactive Window UI itself, try the same with the Run Interactive Option.
Should we always suppress ...
for single line statement/execution/expression? @amunger
The idea was that the code is the same as what was in the source file, but it is more obvious with # %%
sections for what is being sent to the IW.
Not collapsing a single line cell would make sense, but a single expression could be arbitrarily large, and there is already a setting for this: "interactiveWindow.collapseCellInputCode": "fromEditor"
.
Testing microsoft/vscode-python#23676
I placed my cursor on the end of every single line in the file, and hit shift+enter for each. Here is what the smart repl showed by default.![image](https://github.com/microsoft/vscode-python/assets/12552271/46e62602-c0b6-461c-b41a-f4900c075ac9)
It's fairly difficult to figure out if the correct line sent to the repl if the blocks always appear minimized.