-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Predefined code cell in template is not shown up in new file #9919
Comments
Thank you for the bug report! This is an issue that I have had as well. It results from using I'm closing this in favor of #2884, but feel fee to join in the conversation on that thread. It looks fairly simple to implement if you want to give it a shot. The code that does the current templating is here: spyder/spyder/plugins/editor/plugin.py Lines 1647 to 1678 in b67cf68
|
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
I use code cells a lot so I predefine code cells in template using
#%%
or# %%
. But when I create new file, the code cells aren't here, there's only#%
or# %
What steps reproduce the problem? What do you see instead?
workaround I found: add an additional
%
or use# <codecell>
Versions
Dependencies
The text was updated successfully, but these errors were encountered: