-
Notifications
You must be signed in to change notification settings - Fork 389
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
Create default notebook asks for default extension and kernel every time #3752
Comments
You're remembering correctly. There are two different commands: |
The command Note:
Polyglot Notebook: Create new blank notebookBehaviour
Tests
As the properties are treated separately, it should manage different cases:
Polyglot Notebook: Create default notebookBehaviour
Tests
As the properties are treated separately, it should manage different cases:
|
I see. I read this too quickly yesterday and I missed that you were talking specifically about I don't know if this behavior has changed but my memory of it is that the current behavior is intentional. When only one of the two properties is set, then only the other is prompted for. This is a useful behavior because people might vary which file extension they want but not which default language, or vice versa. The followinhg prompt after the notebook is created then allows some responsiveness to set the defaults without having to open VS Code settings: |
@jonsequitur @marckruzik Correct, the feature was written so that one or both properties could be manually set as the default, or you could be prompted to set them from your selected values. For example, the default notebook extension (e.g., A few lines down the same pattern is repeated for the default language. Finally, if the |
I think so. Thanks! |
Describe the bug
When I am using the F1 function "Polyglot Notebook: Create default notebook", it does not save my choices as a preference.
So it asks me everytime about my default extension and default kernel.
I can still edit the settings to set the default extension and default kernel. And then it stops asking for them.
I'm opening this issue, because I remember that before, it was asking me to choose the extension and the kernel, but only the first time, then it was setting my choices as the default values.
But maybe I don't remember correctly.
If it doesn't work this way, should it be a new feature? => if so, I can create a specific topic for that.
Please complete the following:
Which version of .NET Interactive are you using? (In a notebook, run the
#!about
magic command. ):Version: 1.0.553001+f0ec3826954ea1ab829b435418328e4aa8db58e2
The text was updated successfully, but these errors were encountered: