Let's say I have the following Python code:
if conditionOne(): if conditionTwo(): foo = bar foo += 1 bar -= 2
If I delete conditionTwo later, I would highlight three lines of the block so that it looks compatible with all my other code. Usually I just reached =% (my main language is C ++), but this will not work here, so I tried 3== in the first line of the block. This led to the following:
if conditionOne(): foo = bar foo += 1 bar -= 2
This is not what I was looking for. I could go with 3<< and get a better result, but this is not the team that I usually use. I would rather not remember the special indentation commands for Python only. In the spirit of Do not Make Me Think , is there a way to make filters = work with Python code, as I expect?
source share