I don't want comments to be auto-indented
Asked by
Boris Kheyfets
Suppose I have a code:
for i in range(1,4):
print i
for ...
If I'll try to add a comment before the second 'for' cycle - python-mode would move to:
for i in range(1,4):
print i
# IT GETS HERE!
for ...
while I don't need this, I want, that on pressing # python mode would leave it at the beginning of the line - since I want to explain the purpose of the next 'for' cycle:
for i in range(1,4):
print i
# I WANT IT HERE!
for ...
Is there a way to control this behaviour in python-mode?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was reopened
To post a message you must log in.