atom-community / atom-community/ide-python
"Hang Closing" option doesn't work.
- Dominant language
- JavaScript
- Stars
- 238
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I can't seem to get closing brackets to outdent automatically using this package.
```python
a = {
1: 2,
3: 4,
}
```
When I type that, and press Enter after the fourth line, the leading whitespace should be removed when I have the "Hang Closing" option checked, but it doesn't.
Atom version: 1:27.2
ide-python version: 1.0.0
Contributor guide
Research direction
Reproduce the example in Atom with ide-python 1.0.0 and the "Hang Closing" option enabled. Trace how Enter handles the closing bracket indentation, then verify that the leading whitespace is removed for the shown Python dictionary while other indentation behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100