Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

[Bug]: Unwanted auto insertion #1201

@gituser1000000

Description

@gituser1000000

What happened?

Unwanted auto insertion

Example:
-Write:
new View.OnClickListener() {

-A closing curly brace is automatically added, and the cursor is now in between the braces. The auto completion popup also appears.

If we now press ENTER, we would see this:
new View.OnClickListener() {}/*
*
*/

It looks like a "block comment" snippet (which happens to be the first item on the auto completion list) has been added.

What's the expected behavior?

It should show this after pressing ENTER:
new View.OnClickListener() {

}

What version of AndroidIDE you're using?

v2.5.2 (debug builds)

Relevant log output

No response

Duplicate issues

  • This issue has not been reported yet.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions