Autoformatting in Spyder

50 views
Skip to first unread message

pnsi...@gmail.com

unread,
Sep 1, 2020, 12:35:35 AM9/1/20
to spyder
I am using latest Anaconda on Windows 10. While using jupyter notebook, there is a button for  prettify /beutify codes. Is there similar things in Spyder ?

for example 
a=10
b=20
 print(a+b)

I want 
a = 10
b = 10
print( a + b )

Regards
Partha

Mauricio Azálgara Bedoya

unread,
Sep 10, 2020, 10:03:46 PM9/10/20
to spyd...@googlegroups.com
Hi there,

If it is just on the interface style; you may customize the interface reaching a spyder-feature grouping called "Appearance" such as follows:
Tools (menu tab) -> Preferences (menu tab option )-> Appearance (preference feature)


Regards,


--
You received this message because you are subscribed to the Google Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/88f37c38-b228-44c7-9d96-401a22e4002en%40googlegroups.com.

Partha Sinha

unread,
Sep 11, 2020, 8:41:51 AM9/11/20
to spyd...@googlegroups.com

What I meant that if I type
a=10

it should prettify/format as (may be by using any shortcut)
a = 10
The same thing is there in Jupyter Notebook

Code prettify

Use kernel-specific code to reformat/prettify the contents of code cells

section: notebook
require path: code_prettify/code_prettify




You received this message because you are subscribed to a topic in the Google Groups "spyder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spyderlib/Q9lv2bRg6Fw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spyderlib+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/spyderlib/CAFXHJRkEdtEvJdeCToEaacRB7RZr_AOa5HFhqOEePozvtjr_WQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages