I want to turn off run selected text in vs code, but I don't know where's this option exactly.
For example in this code:
result = "Hello"
print(result)
If I accidentally selected the last 4 characters ult)
by mouse and hit run, the output won't be "Hello", it will produce this error:
$ python -u "/home/irkoi/Documents/projects/Javascript/scripts/tempCodeRunnerFile.py"
File "/home/irkoi/Documents/projects/Javascript/scripts/tempCodeRunnerFile.py", line 1
ult)
^
SyntaxError: unmatched ')'
Notice: It creates a file called tempCodeRunnerFile.py
and runs it, but this is not the file that I want to run.
I guess this may be because of the code runner extension, but this is the first time that it behaves this behavior.
Thanks for reading this issue, your help will be more than appreciated.