Skip to content

uncomment #1023

Closed
Closed

Description

@bonaluo

[provide a description of the issue]
how to uncomment the following code
image

Environment
  • Operating System:
  • JDK version:
  • Visual Studio Code version:
  • Java extension version:
Steps To Reproduce
  1. [step 1]
  2. [step 2]

[attach a sample project reproducing the error]
attach logs

Current Result
Expected Result
Additional Informations

Activity

  1. fbricon commented on Aug 6, 2019

    @fbricon
    Collaborator

    You can comment/uncomment blocks of code with ctrl+/ , but that only adds/removes //. There's no support to comment/uncomment javadoc/comment style comments.
    Your best chance to get rid of those is to use multi-column cursors: https://code.visualstudio.com/docs/getstarted/tips-and-tricks#_multi-cursor-selection

  2. bonaluo commented on Aug 7, 2019

    @bonaluo
    Author

    It works, but it's not that convenient.

  3. akaroml commented on Aug 8, 2019

    @akaroml
    Contributor

    This is actually interesting. Just checked LSP and seems the action of comment/uncomment is not part of it.

  4. robstryker commented on Oct 29, 2026

    @robstryker
    Contributor

    ctrl+/ works as expected.

    The ability to uncomment a multi-line comment or javadoc comment is not planned.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions