liuderchi / ide-css

:atom: Atom-IDE for CSS, LESS and SCSS language
https://atom.io/packages/ide-css
16 stars 1 forks source link

Autocomplete for class names causes second period #37

Open jbrew138 opened 5 years ago

jbrew138 commented 5 years ago

Issue:

When using the autocomplete and typing out an existing class name with a period in front of it the auto complete adds a second period after.

Expected behavior:

Autocomplete consumes or ignores the original period typed.

Example:

With an existing class .item-list, typing out the partial class .item- and pressing Tab or Enter causes the autocomplete to return ..item-list

Versions:

ide-css 0.3.2 Atom 1.35.1 atom-ide-ui 0.13.0

mavalentin commented 4 years ago

this issue also exists with colon-preceded identifiers, such as :nth-of-type and all others.