question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No curly brackets on Spyder 4.0.0b3 on macOS with a French keyboard

See original GitHub issue

Issue Report Checklist

  • [x ] Searched the issues page for similar reports
  • [x ] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • [x ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • [x ] Could not reproduce inside jupyter qtconsole (if console-related)
  • [x ] Tried basic troubleshooting (if a bug/error)
    • [x ] Restarted Spyder
    • [x ] Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • [x ] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

No curly brackets on Mac

What steps reproduce the problem?

Type { }

What is the expected output? What do you see instead?

I see only parentheses ( )

Versions

  • Spyder version: 4.0.0beta3 (same in beta2)
  • Python version: 3.7.3
  • Qt version: 5.9.7
  • PyQt version: 5.9.2
  • Operating System name/version: MacOS 10.13.6

Dependencies

pygments >=2.0    :  2.4.2 (OK)
qdarkstyle >=2.6.4:  2.7 (OK)
sphinx >=0.6.6    :  2.1.2 (OK)
psutil >=0.3      :  5.6.3 (OK)
pyls >=0.27.0     :  0.27.0 (OK)
nbconvert >=4.0   :  5.5.0 (OK)
pandas >=0.13.1   :  None (NOK)
numpy >=1.7       :  None (NOK)
sympy >=0.7.3     :  None (NOK)
cython >=0.21     :  None (NOK)
qtconsole >=4.5.0 :  4.5.1 (OK)
IPython >=4.0     :  6.5.0 (OK)
matplotlib >=2.0.0:  None (NOK)
pylint >=0.25     :  2.3.1 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:21 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
jnsebgosselincommented, Jul 10, 2019

@steff456 If the bug still occur when testing the above (which I really hope it does…), can you test again but with commenting these lines in the codeeditor.py :

self.editor_extensions.add(CloseQuotesExtension())
self.editor_extensions.add(CloseBracketsExtension())

And replacing this line in spyder.plugins.editor.extensions.manager.py:

return self._extensions[name_or_klass]

by

return self._extensions.get(name_or_klass, None)

Thanks!

0reactions
jnsebgosselincommented, Jul 11, 2019

Thanks @jproy

@steff456 I have created a PR with a proposed solution for this bug. I cannot test if this is actually working, so if you could do that, that would be really great! If this work, could you also add an animation or something in the opening post of the PR.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Create Curly Brackets on an AZERTY Keyboard (Mac)
Combine the Alt⌥ key with the normal parentheses (). Hit the keys at the same time and you will get a curly bracket....
Read more >
How can I type curly brackets on a Macbook Air?
How can I type curly brackets on a Macbook Air?. Finally I found how: Shift + Alt + 8 for "{" or Shift...
Read more >
How can I write braces, { and }, in Emacs on Mac OS X with a ...
Unable to type braces and square braces in emacs ... I tried fondling with my keypad and found out that ctrl + alt...
Read more >
Sphinx Documentation - Read the Docs
config value that is not automatically added by sphinx-quickstart ... Within the contents, you can use curly braces to indicate a “variable”.
Read more >
Untitled
Dr mincewicz narloch opinie, Voucher french connection, Octavio paz poemas vanguardistas, Himym 9x15 legendado online, Rollatorschirmhalter, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found