'How to disable bracket autocomplete in Spyder?
How do you turn off the bracket autocomplete feature in Spyder? I'm using Spyder 4.0.1 on OS X Mojave.
Consider the following Python dictionary:
data_desired = {'Year': [],'Number of tropical storms': [],'Number of hurricanes': [],'Number of Major Hurricanes': [],'Deaths': [],'Damage': []}
Writing this out in Spyder, I often get:
data_desired = {'Year': []],
and need to go back and fix the extra bracket.
Regardless of whether the autocomplete feature works well or not, auto-bracketing does not help me because I have to right arrow past the newly generated bracket anyway, which slows down typing.
Solution 1:[1]
Use Tools >> Preferences >> Editor >> Advanced Settings >> Untick "Automatic insertion of parentheses, braces and brackets"
Then Apply >> OK.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Sayandip Dutta |

