You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please consider making positron.runtime.executeCode() in the API behave like the inner positron.runtime.execute(). It would be super helpful for extension developers like me to have the option to pass positron.RuntimeCodeExecutionMode.* and positron.RuntimeErrorBehavior.* to positron.runtime.executeCode().
This change could be really beneficial, especially when a user wants to run some code in the same R environment without displaying the output, just like how it's currently set up in Positron with the styler package:
Hi guys,
Could you please consider making
positron.runtime.executeCode()
in the API behave like the innerpositron.runtime.execute()
. It would be super helpful for extension developers like me to have the option to passpositron.RuntimeCodeExecutionMode.*
andpositron.RuntimeErrorBehavior.*
topositron.runtime.executeCode()
.This change could be really beneficial, especially when a user wants to run some code in the same R environment without displaying the output, just like how it's currently set up in Positron with the
styler
package:positron/extensions/positron-r/src/formatting.ts
Lines 82 to 86 in 1570041
Thanks for considering this!
System details:
Positron and OS details:
Positron Version: 2024.09.0 (user setup) build 103
Code - OSS Version: 1.93.0
Commit: 8274fe2
Date: 2024-09-30T02:52:11.236Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.19045
Interpreter details:
The text was updated successfully, but these errors were encountered: