-
Notifications
You must be signed in to change notification settings - Fork 392
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 language specific Text notebooks #1157
Comments
Hi @mahendrapaipuri , seeing this screenshot in the docs: Two more remarks/questions
|
If I understand you correctly, your suggestion is that we add formats programatically by iterating through available kernels. That solution is orthogonal to configuring formats via Settings, right?! I mean, the formats will be added automatically based on available kernels and those formats will not appear in the Settings. And users will not have a way to disable those automatically added formats. Does it make sense? An option here is to add another Settings parameter like "Detect formats automatically" and we add the format icons based on available kernels if users choose this setting. This option should take precedence over configuring formats manually. And not using this setting, users will be able to add formats manually as in the screenshot in the above comment. What do you think?
Yes, should be possible.
Yes, this is a simpler solution. Users will have to do this only once given that their When are you aiming to make |
Hey there |
Hi @mahendrapaipuri , @parmentelat , thank you for your inputs! Yes, I see what you mean! Then my preference, if that makes sense/if that's feasible, would be to keep the setting pages as is, but then programmatically replace Re the icon, that would be great! Also maybe we might need to include the language or at least the extension in the entry if we have e.g. both 'Python percent notebook' and 'R percent notebook' in the launcher.
Oh I think the test reorganization (#1136) might be ready by the end of this week, we can release any time after that, so I'd say one or two weeks. I do agree with you that it would be very nice to include the current issue in the release, and I'd be happy to give you more time if you'd like to propose something! |
I can see two options here
Personally, I feel the first option would be more clear for users and we can document in the Settings page that
Agree and this should not be an issue.
I will give it a go this weekend. It should not be very complicated (unless I am missing something). Let's see and try to fix it before the release. |
#1154 will add ability to create text notebooks from JupyterLab interface. However, we are making a strong assumption that these text notebooks are based on Python kernel. So, when user creates a Text notebook with Percent format, it will always create a file with
.py
extension.We should be able to create text notebook for any arbitrary kernel (see comment) and so we should be able to create file with arbitrary file extensions. However, it is a bit tricky now as we choose kernel only after creating a file.
The text was updated successfully, but these errors were encountered: