Enable automatic insertion of closing quotes inside function calls
See original GitHub issueProblem Description
I want the same behaviour as in jupyter notebook of automatic closing of quotes. I change the setting of spyder editor to enable automatic insertion of closing quotes.
It works fine while typing in the editor but does not works inside functions.
Could you help me how to resolve this issue!?
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Paste Traceback/Error Below (if applicable)
import numpy as np
import matplotlib.pyplot as plt
a = np.linspace(0,10,2001)
b = np.cos(a*np.pi)
plt.plot(a, b)
plt.title(') # does not work here: only opening quotes
'' # works here: automatically closes the quotes
Package Versions
- Spyder: 3.2.6
- Python: 3.6.4
- Qt:
- PyQt:
- Operating System: windows 10
Dependencies
PASTE DEPENDENCIES HERE
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Annoying eclipse automatically closing quotes - Stack Overflow
To turn off auto quotes in Titanium Studio, under preferences -> Titanium Studio -> Editors -> uncheck "Auto-close matching character pairs".
Read more >How do I make vim automatically complete parentheses and ...
Hi, I've noticed this feature in several IDEs, where if you enter a quotation mark, it will automatically put another quotation mark and...
Read more >Smart Keys | PyCharm Documentation - JetBrains
Select this checkbox to have PyCharm automatically add a closing bracket for each typed opening bracket, respectively. Insert pair quote.
Read more >Single Quote, Double Quote, and Backticks in MySQL Queries
For example: a string containing this ' will recognize the backslash as an instruction to cancel out the single quote's syntactical meaning and...
Read more >about Quoting Rules - PowerShell | Microsoft Learn
To prevent the substitution of a variable value in a double-quoted string, use the backtick character ( ` ), which is the PowerShell...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No but after it’s merged I can look at refactoring to make one function work for both extensions
@Khalilsqu A leading character? According to my tests and confirming @ccordoba12 's suspicion above, it was the trailing character that was the problem, not the leading one.