Hacker News new | ask | show | jobs
by abalos 2783 days ago
I wonder if it would be helpful to describe the indentation level you are on:

e.g:

  def method_here(value): # Indentation level 0
    x = 10 # Level 1
    y = 5  # Level 1
    if x == value # Level 1
      print 'x!' # Level 2
    elif y == value # Level 1
      print 'y!' # Level 2
You could maybe even throw in a block number so it's clearer.
1 comments

Check out how this actually works:

https://github.com/derekriemer/nvda-indentone

That's awesome, thanks for sharing that!