Incorrect auto-indentation
See original GitHub issueDescription
What steps will reproduce the problem?
- write: s = listener.loc[(listener[‘listener’] == l) & (listener[‘session’] == 1)][‘sentence_id’]
- press ENTER
What is the expected output? What do you see instead? The editor indents the next line, but it shouldn’t
Please provide any additional information below
Version and main components
- Spyder Version: 3.0.0
- Python Version: 3.4.5
- Qt Versions: 4.8.7, PyQt4 (API v2) 4.11.4 on Darwin
Dependencies
pyflakes >=0.6.0 : 1.3.0 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
pandas >=0.13.1 : 0.18.1 (OK)
numpy >=1.7 : 1.11.1 (OK)
sphinx >=0.6.6 : 1.4.6 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
jedi >=0.8.1 : 0.9.0 (OK)
psutil >=0.3 : 4.3.1 (OK)
matplotlib >=1.0 : 1.5.1 (OK)
sympy >=0.7.3 : 1.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
incorrect auto-indent behavior - Vi and Vim Stack Exchange
In some very specific scenarios, the auto indenter has almost unexplainable behavior that is very annoying. Example with haskell MultiWayIf ...
Read more >Vim autoindent indents incorrectly - Stack Overflow
I have a ton of directives in my vimrc to try and stop all kinds of autoindentation, but much to my irritation, the...
Read more >Incorrect auto indent YAML files · Issue #43424 - GitHub
The problem is caused by the "editor.autoIndent" feature. It results in different behaviour when indentationRules are defined vs. undefined.
Read more >Incorrect auto indentation inside lambda
When the option Within parentheses, align new lines when I type them under Text Editor -> C/C++ -> Code Style -> Formatting ->...
Read more >Tree-sitter auto indent problem : r/neovim - Reddit
I have been looking for a solution to my problem where auto indenting does not work when tree-sitter is enabled. Is there any...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
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
Yep, I think so too. Thanks for working on these issues 😃
@ccordoba12 I’m working on it, I think the logic related to indentation and opening-closing brackets have to be changed (issue #3700 is also related to this, if not the same)