Skip to content

Java: Include annotations in af and aF textobj #24

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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