Welcome to the NVDA Community Add-ons website - Ignore Blanks Indentation Reporting #nvdaaddonsfeed
email@example.com Integration <nvda@...>
This is an NVDA addon that alters the reporting of indentation by disregarding blank lines when deciding whether to report changes in indentation. It is best understood by contrasting with normal behaviour with an example.
Consider this example:
The current behaviour of NVDA is to report indentation changes for any line where the indentation has changed, even if the line is blank. So, the example would be read like:
The disadvantage for this behaviour is that for most programming languages, like python, a blank line has no semantic significance and is just used to visually separate lines of code with no change to the code's meaning. Therefore, by reporting the change of indentation upon entering a blank line and then reporting it again after landing on the next line is just noise that makes it harder to focus on understanding the code.
This addon aims to improve on the behaviour by ignoring blank lines when computing indentation speech, thus the example is read like this instead: