Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Format python code in Spyder IDE

Can anyone please advice the key combination to format python code in annaconda/Spyder IDE? In Eclipse IDE when coding in Java I usually use command F, however in Spyder IDEthe key combination causes search window to pop up.

like image 939
Na Dia Avatar asked Apr 25 '26 05:04

Na Dia


1 Answers

I tried this

Source -> Fix Indentation, Remove Trailing Spaces

This is not the most efficient way, but it seems there are no key combinations to do these. Even in preferences, they have not allowed to add new shortcut for this.

like image 82
Abhishek kumar Avatar answered Apr 27 '26 17:04

Abhishek kumar