This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
embedded try: except: moves indent one tab left #235
Open
Description
Prerequisites
- [ X] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When making an indented try: except: statement auto-indent moves the except line one tab left.
Steps to Reproduce
- Create a loop.
- create a try/except with one statement on the same line as the try like:
try: foo=bar
- Hit new line and create an
except:
when you press the:
button, the line will move one tab to the left.
Expected behavior: line will not change tab indent
Actual behavior: line moves one tab indent to the left
Reproduces how often: always
Versions
mac and ubuntu 1.21 and 1.24
You can get this information from copy and pasting the output of atom --version
and apm --version
from the command line. Also, please include the OS and what version of the OS you're running.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Metadata
Metadata
Assignees
Labels
No labels