formulahendry / formulahendry/vscode-code-runner

Run code only once

Open
#1,130 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

Type: Performance Issue

my question is quite simple and is regarding VSCode (obviously). I have the extention "code runner" in VSCode and I run my code either by code runner or use VSCode run-button. The problem is VSCode runs the code once only. When I modify the code and try to re-run the code again it doesn't show anything in the terminal. I need to close the terminal window first in order to get it run again.

I use the Java as a programming language. If any more information is needed, please let me know.

Extension version: 0.12.2
VS Code version: Code 1.88.1 (e170252f762678dec6ca2cc69aba1570769a5d39, 2024-04-10T17:41:02.734Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info

|Item|Value|
|---|---|
|CPUs|11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)|
|GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled|
|Load (avg)|undefined|
|Memory (System)|7.70GB (0.95GB free)|
|Process Argv|. --crash-reporter-id da241573-5b86-4415-97f2-44f515bf3ad5|
|Screen Reader|no|
|VM|0%|

Process Info

```
CPU % Mem MB PID Process
0 72 4976 code main
0 27 3524 crashpad-handler
0 81 5168 shared-process
0 94 7144 window [2] (Issue Reporter)
0 81 7412 extensionHost [1]
0 27 3632 "C:\Users\MANISH KUMAR\AppData\Local\Programs\Microsoft VS Code\Code.exe" "c:\Users\MANISH KUMAR\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=7412
0 181 10416 "c:\Users\MANISH KUMAR\.vscode\extensions\redhat.java-1.30.2024041908-win32-x64\jre\17.0.10-win32-x86_64\bin\java" --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable "-javaagent:c:\Users\MANISH KUMAR\.vscode\extensions\redhat.java-1.30.2024041908-win32-x64\lombok\lombok-1.18.32.jar" -XX:+HeapDumpOnOutOfMemoryError "-XX:HeapDumpPath=c:\Users\MANISH KUMAR\AppData\Roaming\Code\User\workspaceStorage\d87e17ef8b824552ff15503c263a8289\redhat.java" -Daether.dependencyCollector.impl=bf -jar "c:\Users\MANISH KUMAR\.vscode\extensions\redhat.java-1.30.2024041908-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.800.v20240330-1250.jar" -configuration "c:\Users\MANISH KUMAR\AppData\Roaming\Code\User\globalStorage\redhat.java\1.30.2024041908\config_win" -data "c:\Users\MANISH KUMAR\AppData\Roaming\Code\User\workspaceStorage\d87e17ef8b824552ff15503c263a8289\redhat.java\jdt_ws" --pipe=\\.\pipe\lsp-dfaeb5cc33ba6a853240ff4b71c96553-sock
0 43 9184 ptyHost
0 6 2812 conpty-agent
0 33 14392 C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Users\MANISH KUMAR\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
0 32 9916 fileWatcher [1]
0 105 10236 gpu-process
0 153 12396 window [1] (Convertchar.java - String - Visual Studio Code)
0 41 14372 utility-network-service
```

Workspace Info

```
| Window (Convertchar.java - String - Visual Studio Code)
| Folder (String): 31 files
| File types: java(16) class(12) json(2)
| Conf files: launch.json(1) settings.json(1)
| Launch Configs: java(19);
```

A/B Experiments

```
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
vscaat:30438848
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
8082a590:30971561
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
showvideot:31016892
chatpanelt:31018789
dsvsc021:30996838
jg8ic977:31013176
pythoncenvpt:31022790

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.