interactive icon indicating copy to clipboard operation
interactive copied to clipboard

cannot set the File Root to workspace

Open heartacker opened this issue 2 years ago • 7 comments

Describe the bug

Can you tell me or /support set the file root to the $(workspaceFolder) I had set the setting as bellow, but it is not usful

image

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

  • OS
    • [x] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] iOS
    • [ ] Linux (Please specify distro)
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [ ] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [x] Visual Studio Code
    • [x] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

Screenshots

If applicable, add screenshots to help explain your problem. image

heartacker avatar Mar 23 '23 13:03 heartacker

Polyglot Notebooks is not aware of the Jupyter extension's settings, so this setting would not work?

Are you looking to set the working directory for the notebook? The working directory will default to the location of the notebook file. Prior to saving a new blank notebook, the default location should be the VS Code workspace location.

jonsequitur avatar Mar 28 '23 17:03 jonsequitur

  1. I understand. The current plugin does not follow the settings of Jupyter plugins.
  2. Then we should have our own settings because this is a strong requirement (which is also why the Python plugin has this setting). a. In a workspace, we may fix the location of our base code. b. However, we will place notebook scripts in different locations. c. So we need a relatively-fixed workspace and a convenient way to set a fixed DLL reference location in each notebook script. d. This makes it easy to move the notebook files later without changing the DLL reference location.

heartacker avatar Mar 29 '23 04:03 heartacker

HI, COULD YOU PLEASE CONSIDER TO FIX THIS

heartacker avatar Apr 04 '23 03:04 heartacker

hi, @jonsequitur could you please help to fix this.

heartacker avatar May 08 '23 07:05 heartacker

If it's possible to do so, we could read the Jupyter setting, since Polyglot Notebooks depends on the Jupyter extension.

I'm not sure if that would be discoverable enough, or if people might want different settings for the two different kinds of notebooks.

Thoughts?

@sharoncxu

jonsequitur avatar May 09 '23 22:05 jonsequitur

@sharoncxu

heartacker avatar Jun 08 '23 22:06 heartacker

please

heartacker avatar Feb 08 '25 13:02 heartacker