VSCodeVim / VSCodeVim/Vim

support more text-objects

Open
#8,894 3 comments 12 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

VsCodeVim currently supports text objects such as text-object-entire and text-object-arguments. Would it be possible to extend the support to include additional text objects, similar to those provided by this Vim plugin:

https://github.com/jeetsukumaran/vim-pythonsense

These additional text objects include class objects, function objects, and docstring objects. The inclusion of these text objects would greatly enhance the usability, especially when users need to delete extensive blocks of code within a class or function.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names existing text-object-entire and text-object-arguments support and links the vim-pythonsense plugin as a reference. No file or test is identified, so first locate the existing text-object implementation and compare its behavior with the requested class, function, and docstring objects; done means those additional objects work for the relevant code blocks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.