Previous/next method start/end (`[m`, `]m`, `[M`, `]M`) don't work
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Bindings for jumping to method start/end don't work.
[m Previous method start
[M Previous method end
]m Next method start
]M Next method end
To Reproduce
Steps to reproduce the behavior:
- Go to top of file with methods in it
- Type
] - Type
m - Nothing happens
Expected behavior
Should jump to start of first method.
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.0.8
- VSCode version: 1.31.0
- OS: macOS 10.14.3
Additional context
Not sure if this is something being broken or something being missing. Would be willing to work on a PR if someone could point me at a good example for adding this type of behavior.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the keybinding handling for [m, ]m, [M, and ]M in the VSCodeVim TypeScript extension, then compare it with a working motion. Reproduce the issue with a file containing methods and verify that each binding moves to the expected method start or end.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100