简体   繁体   中英

Spyder Editor - How to Disable Auto-Closing Brackets

Does anyone know how to make Spyder stop automatically inserting closing brackets?

It often results in complete mess when you have multiple levels of different brackets. I had a look around and could only find posts about auto-closing quotes, but I'm not really interested in these. But those brackets are making me slightly miserable.

I had a look in Preferences but the closest I could find is 'Automatic code completion' . But I certainly don't want all of it off especially when working with classes.

In Spyder 4 and Spyder 5 go to:

  • Tools - Preferences - Editor - Source code

and deselect the following items:

  • Automatic insertion of parentheses, braces and brackets

  • Automatic insertion of closing quotes (since it's the same nuisance than with brackets)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM