-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically run other cells if it's needed #1585
Comments
Hi @gojanpaolo! Thanks for filing this issue. We are considering adding If the URL is static, you can drop it into a e.g.
If you change values, please click the |
@sourishkrout Thanks for the response! I think But what if the value is dynamic? e.g.
|
I saw this: #519 I was expecting |
@gojanpaolo did you hit the "Reset Session" button as shown above? The |
@sourishkrout Yes I did. And I also restarted VS Code |
Are you on Windows using PowerShell by chance @gojanpaolo? We currently only support WSL2 on Windows: https://docs.runme.dev/why#known-limitations |
I'm on Windows and use git bash |
Unfortunately, However, here's how you can get Windows Subsystem for Linux working: https://docs.runme.dev/how-runme-works/windows |
Ah, I just now tried in WSL and it's working as expected! |
Is there a way to automatically run other cells if it's needed?
For example, if I have the following
Let's say I have a new session, if I run
curl "${url}/v1"
, it should automatically run the first block because it needs theurl
variable. But it should not automatically runcurl "${url}/v2
.Same goes if I run
curl "${url}/v2
, it should also automatically run the first block. But it should not automatically runcurl "${url}/v1"
VS Code's REST Client extension has this kind of feature: https://github.com/Huachao/vscode-restclient?tab=readme-ov-file#variables
Thanks!
The text was updated successfully, but these errors were encountered: