atom-community / atom-community/atom-ide-javascript

The base `if` autocomplete suggestion not prioritised (and similar)

Offen
#44 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
17
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi, I'm having a small issue which has become quite an annoyance, being that the suggestions will overtake any snippet commands I have, which results in me needing to type out the full `if (condition) {}` instead of `if` and have it autocomplete for me normally. I'm not sure how I can reorder these suggestions as I still like to see suggestions returned from this package, just not if it overrides a particular suggestion with the same name, and more importantly if it has a snippet.

This package disabled:

![image](https://user-images.githubusercontent.com/9924643/153731598-935b68e5-07a5-4779-9907-0790a391c256.png)

This package enabled:

![image](https://user-images.githubusercontent.com/9924643/153731608-edc647c3-62b0-450a-a6dd-029bc21ece81.png)

Also had a look at this (autocomplete-plus setting) but this wasn't right, it removed the suggestion further down the list I wanted:

![image](https://user-images.githubusercontent.com/9924643/153731787-220094d1-5782-43ee-8a25-ac028be7f6c3.png)

Any guidance would be great. It might just be some particular configuration I need to have.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduce the autocomplete behavior with the package enabled and disabled, then review the referenced autocomplete-plus setting and the package's suggestion handling. Done means determining whether a configuration or change can keep the package's suggestions visible while allowing the matching `if` snippet to remain the prioritized completion.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
developer-experience, tooling
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.