Skip to content

Completion of float values in settings is broken #147

@deathaxe

Description

@deathaxe

Something broke the float value completions. The algorithm to detect the prefix 1. does no longer work which results in wrong completions being added and the completion panel not being displayed automatically.

Steps to reproduce

  1. Enter the following key
    "dpi_scale": 1.
  2. Completion overlay suggesting 1.25 1.5 ... is not displayed automatically
  3. Completing the value with ctrl+space results in something like
    "dpi_scale": 1.1.25

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions