Skip to content
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

launch configuration for ipython #3141

Closed
YoniChechik opened this issue Aug 23, 2019 · 2 comments
Closed

launch configuration for ipython #3141

YoniChechik opened this issue Aug 23, 2019 · 2 comments

Comments

@YoniChechik
Copy link

I want to run cells from .py file dir. this is possible when running regular .py scripts with "cwd": "${fileDirname}" in launch config.

can it be done for cells in ipython? "python.dataScience.notebookFileRoot": "${currentFileDir}" doesn't seems to work in windows

@IanMatthewHuff
Copy link
Member

@YoniChechik. Unfortunately there are a number of ${} macro parameters that are supported in launch configs but are not valid in settings files. ${currentFileDir} happens to be one of them. We have to add these settings in manually, but I think that we've heard feedback similar to yours about running per file, so I think it makes sense to consider adding ${currentFileDir}.

@YoniChechik
Copy link
Author

works

@lock lock bot locked as resolved and limited conversation to collaborators Nov 26, 2019
@microsoft microsoft unlocked this conversation Nov 14, 2020
@DonJayamanne DonJayamanne transferred this issue from microsoft/vscode-python Nov 14, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants