You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it will be useful if there is a way to move to the last one of the same indentation before blank line.
I want to skip import lines and jump directly to the start of code, in a file like this
import something from "some"
import "bob" from "bob"
import "alice" from "alice"
const hello = () =>{
console.log("hello")
}
I can jump to } at the last as it's the last of the same indentation, but not the last import line.
Especially useful when there is a lot more imports, and many languages including python have you write many imports.
The text was updated successfully, but these errors were encountered:
Specifically for skipping python imports you can try commands like control+NumPad2 and control+NumPad8 - these will take you to the next line skipping clutter. Where clutter is defined as a regular expression, and by default it does include python imports.
Are there any other use cases for your proposal? It definitely falls into the general theme of structural code navigation. I'll need to think more about it to see if there are more good use cases.
Another thought: in one of recent NVDA versions I remember they introduced customized paragraph navigation, where IIRC a paragraph can be defined as chunk of text surrounded by blank lines. So maybe you can try these commands? LMK if that doesn't work for your use case.
I think it will be useful if there is a way to move to the last one of the same indentation before blank line.
I want to skip import lines and jump directly to the start of code, in a file like this
I can jump to
}
at the last as it's the last of the same indentation, but not the last import line.Especially useful when there is a lot more imports, and many languages including python have you write many imports.
The text was updated successfully, but these errors were encountered: