8000 Java: Include annotations in `af` and `aF` textobj · Issue #24 · kana/vim-textobj-function · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Java: Include annotations in af and aF textobj #24
Open
@flwyd

Description

@flwyd

When operating on a whole function it is likely that the user would like to include any annotations. JUnit is a common example:

@Test
public void testGreeter() {
  assertEquals(greeter.greet("world"), "Hello world!");
}

daf or dAF should delete the function and the @Test annotation rather than leaving the latter suddenly attached to the next method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0