Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Remove parenthesis from autocompletion of values #40

Open
@dcalhoun

Description

@dcalhoun

Currently, autocomplete includes parenthesis (and closing semicolons) to values that require parenthesis (e.g. – translate()). In theory this sounds nice, but in practice it just requires a user to move their cursor backwards into the parenthesis.

Autocompleting the "translate" value is an example:

.some-selector {
  transform: translate();[CURSOR]
}

Given that placing the cursor within the parenthesis is not within the scope of autocomplete and should be handled by a snippet, I propose it's better to not autocomplete values like this with parenthesis and semicolons.

.some-selector {
  transform: translate[CURSOR]
}

There are plenty of values that fall into this, translate is just one example.

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