summaryrefslogtreecommitdiff
path: root/docs/guide
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2023-11-30 17:02:29 -0500
committerJordan Wiens <jordan@psifertex.com>2023-11-30 17:02:29 -0500
commitd40ab66a50fa8f33451458be15582c7a8d93fd5f (patch)
tree973cbc06def10dbe2f7a11c3ce90137f5e83c50d /docs/guide
parent49cb6a4245a832685a897a37beb2035e46f3fef5 (diff)
add docs on analysis updating in repl vs scripts
Diffstat (limited to 'docs/guide')
-rw-r--r--docs/guide/index.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/guide/index.md b/docs/guide/index.md
index 0832288c..3292ca95 100644
--- a/docs/guide/index.md
+++ b/docs/guide/index.md
@@ -672,6 +672,9 @@ From here, you can add any custom functions or objects you want to be available
#### "Run Script..."
+???+ Danger "Warning"
+ When you run commands in the scripting console, the UI will automatically update analysis. This is because quite often when you make a change in the console you expect it to be immediately reflected in the UI. The same is not true when running a script where you must trigger `bv.update_analysis_and_wait()` or `current_function.reanalze()` to experience the same behavior.
+
The "Run Script..." option in the File Menu allows loading a python script from your filesystem and executing it
within the console. It can also be run via the Command Palette or bound to a key.