Skip to content

php editor : infinte semicolon while autocomplet on "return" #3805

@eglic

Description

@eglic

Apache NetBeans version

Apache NetBeans 13

What happened

from version 12.6 to 13.0:

  1. create or open any php file
  2. input "ret" anywhere
  3. wait autocomplete menu popuped
  4. press "Enter" to select only option "return ... Language Construct"
  5. netbeans insert "return ;;;;;;;;"
  6. the character ";" will auto append infinity until press any key

How to reproduce

  1. create or open any php file
  2. input "ret" anywhere
  3. wait autocomplete menu popuped
  4. press "Enter" to select only option "return ... Language Construct"
  5. netbeans insert "return ;;;;;;;;"
  6. the character ";" will auto append infinity until press any key

Did this work correctly in an earlier version?

Apache NetBeans 12.6

Operating System

microsoft windows 11

JDK

jdk-17.0.2 -x64

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

No response

Are you willing to submit a pull request?

No

Code of Conduct

Yes

Metadata

Metadata

Assignees

Labels

EditorPHP[ci] enable extra PHP tests (php/php.editor)kind:bugBug report or fix

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions