1,523 questions
0
votes
0
answers
59
views
Sublime chain command and Repl
I update to Sublime 4 and I am getting problems with an older chain command keymaps.
I am triying to close a Sublime Repl session with a simple chain command, my old shortcut work fine with Sublime 3 ...
2
votes
1
answer
107
views
C# interactive console: how to fix error CS0234: The type or namespace name 'RSA' does not exist in the namespace 'System.Security.Cryptography'?
I wanted to play around with the .NET cryptography classes in the C# interactive console in Visual Studio 2022 (v17.14.16). I tried creating the default instance of the System.Security.Cryptography....
1
vote
1
answer
68
views
Run file in REPL by default with run button
By default the run button (triangle) in VS Code runs as new process, not in REPL. This is only available in the drop down next to it. Is it possible to set running in REPL as default?
Note: I am ...
1
vote
1
answer
178
views
Evaluating typed expressions in interactive ts-node
I'd like to know how to evaluate a TypeScript typed expression using ts-node --interactive as a REPL. I'm using a Mac and have installed node v24.5.0 via brew, and I've installed ts-node v10.9.2 and ...
0
votes
0
answers
40
views
Sublime: Shortcut to always run specific group or file
I Always work with 3 windows for run a Latex file, in a specific group using Tinitex or Knitr in R (Repl).
In group 3 include commands (set working directory and name file latex) to render or compile ...
0
votes
0
answers
57
views
Is it possible to host a REPL child process in rustyline?
I'm currently working on a rustyline program. My goal is to host another REPL program as a child process, and do something like auto complete its commands. However, I encountered a problem. The ...
1
vote
1
answer
216
views
Why does the Python REPL behave differently in VS Code's vs native cmd.exe?
I am running the same python.exe, from the same working directory, in VS Code's terminal running cmd.exe, and in Windows Terminal running cmd.exe. For some reason, these two behave differently.
In ...
2
votes
3
answers
325
views
How can I execute a Python script in the REPL interpreter mode and get the exactly same output as if it was manually typed in? (Ubuntu, Python 3.12)
The Python interpreter can be run either in script or interactive/REPL mode.
I do have a Python script as text file but want to run it as if it was manually typed in in the interactive/REPL mode.
I ...
1
vote
2
answers
328
views
How to run Clojure REPL using IntelliJ and Cursive plugin
I am desperately trying to set up a working environment for Clojure 1.12.0.1488, using IntelliJ 2024.3, Cursive's plugin 2025.1.1-343 and openJDK 24.
I am using VoidLinux based on kernel 6.12.28_1, ...
3
votes
2
answers
201
views
Shift+enter inserts extra indents
I have a Python source file with some dummy code:
a = 3
if a == 1:
print("a = 1")
elif a == 2:
print("a = 2")
else:
print("Other")
When I submit the code to ...
1
vote
1
answer
70
views
Scala REPL missing commands
I have installed scala through coursier. Running scala --version in the terminal gives the following:
C:\Users\Me>scala --version
Scala code runner version: 1.4.3
Scala version (default): 3.5.1
...
4
votes
1
answer
69
views
Using Swift as custom engine in knitr and including all previous content
Backrgound
I'm working on a R Mardkown document which I'm renderring using the knitr package. The document uses Swift as a custom enginge. I'm defining the Swift engine as follows:
```{r, setup, eval=...
0
votes
3
answers
90
views
Common Lisp: Why does using read-from-string create two REPL outputs?
I have been learning Common Lisp for a short while, using the SBCL 2.0.0 REPL on a Windows 10 machine. At one point in time I inputted the 2 following lines into a REPL:
(defvar var-string (print (* 5 ...
2
votes
1
answer
414
views
How to best change the colour of the Python prompt?
I have an alias for python3 and one for a Python calculator (pm for Python Math):
alias p3='python3 -q'
alias pm='python3 -qic"from math import *; import sys; sys.ps1=\"] \"; sys.ps2=\&...
9
votes
1
answer
909
views
How to paste code into the REPL without adding extra spaces on the left
I am running Python 3.13.1. When I paste code into the Python REPL, Python adds extra spaces at the beginning of every line after the first.
I wrote this code in Notepad and pasted it into Python.
if ...