Skip to content

The code mining does not reset line vertical indentation when editor auto inserts multiple lines of code #3121

@jdneo

Description

@jdneo

Let's make sure issue is not already fixed in latest builds first.

Context

I'm working on Eclipse copilot plugin, the plugin leverage code mining to display the inline completions.

Steps to reproduce

  1. Above a java method, type /**
  2. Code mining appear
  3. Press Enter (At this point the plugin will clear the code mining provider, and request editor to update code mining)
  4. Because it's start with /**, editor will insert multiple lines of code to complete the javadoc template
  5. The line vertical indentation is not reset correctly.
Screen.Recording.2025-07-23.at.10.57.40.mov

Is it because the editor inserts multiple lines, making the code mining resets the indentation at a wrong row index?

Community

  • I understand reporting an issue to this OSS project does not mandate anyone to fix it. Other contributors may consider the issue, or not, at their own convenience. The most efficient way to get it fixed is that I fix it myself and contribute it back as a good quality patch to the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions