Closed Take-Me1010 closed 1 week ago
Thanks for your proposal! The feat is added in the latest commit. Please feel free to provide more details and suggestions if you have any further concerns.
Thank you for your quick reply and coding!
It seems perfect at a glance.
However, one concern remains.
If this feature for scriptPath
is released, users may think ${workspaceFolder} can also be used for pythonPath
, which may cause confusion.
So supporting ${workspaceFolder} for pythonPath
is also crucial, I believe.
These features will bring comfortable experience in a python virtual environment as follows:
{
"vscode-pydata-viewer.scriptPath": "${workspaceFolder}/read_files.py",
"vscode-pydata-viewer.pythonPath": "${workspaceFolder}/.venv/Scripts/python.exe",
}
Thank you for your comment. I sincerely appreciate it. I will revise the code soon before the next version update.
Thank you for your great extention.
The config for
pythonPath
andscriptPath
is only supported absolute-path style, right? It would be good if I can use "${workspaceWolder}" for path config as follows:With respect to
scriptPath
config, I think inserting some codes to replace variable around line 139 in pydataPreview.ts resolves my concern:PS: This may relate #3 . In addition, this feature can resolve some problems like #19 more easily.