liuderchi / ide-html

:atom: Atom-IDE for HTML, Go Template, Mustache and other Templates
https://atom.io/packages/ide-html
MIT License
20 stars 5 forks source link

Autocomplete Plus Issues #30

Open JamesCoyle opened 6 years ago

JamesCoyle commented 6 years ago

Description

I'm having issues with the autocomplete entries that are provided by this package. If I select an item in the autocomplete UI and trigger the autocomplete-plus:confim command from either the hotkeys defined or the command palette, the autocomplete UI disappears but the value does not get inserted. Other autocomplete options from different packages appear to work correctly.

Expected Behavior

I hit tab and the autocomplete value gets inserted.

Actual Behavior

The autocomplete UI is dismissed but no value is inserted.

Steps to Reproduce

  1. Start typing code.
  2. Select autocomplete option.
  3. Press tab/enter.

Your Environment

liuderchi commented 6 years ago

@JamesCoyle what is you atom version?

I'm using 1.26 and the command autocomplete-plus:confirm is actually dispatched by hitting enter rather than tab

You may toggle key binding resolver by command key-binding-resolver:toggle to inspect commands dispatching.

JamesCoyle commented 6 years ago

Atom version: 1.26.1

The command is configurable in the autocomplete settings. It doesn't matter if I use the keybindings or the command directly from the command palette though: neither option works. I've checked the keybinding resolver and it is triggering correctly but is just not inserting the text.

liuderchi commented 6 years ago

@JamesCoyle I cannot reproduce on my environment even with ide-html removed.

Are there any personal configs for core packages ---

on your environment? (Usually it is recorded in application:open-you-config)

ghost commented 5 years ago

I have this same issue... Gif image attached.

Are there any personal configs for core packages ---

on your environment? (Usually it is recorded in application:open-you-config) ---------------- No

I found something similar to this once where linter was the issue for someone. Never found out anything more than that.

UPDATE: This issue also happens for me on scss ide for many things. So it seems to be related to Atom-ide-ui and some other package, I will test and find out.

UPDATE: I disabled all other packages ( except core packages )except atom-ide-ui and ide-html and still have this issue.

I also uninstalled the default autocomplete-html package to see if it was interfering. But was not the cause.

Let me know what else I can do to help you reproduce this. Would love to see this fixed :-)

NOTE: I have tried everything I could think of to find the issue here. The only other time that I had a similar issue was when I had "activate-power-mode" installed, and it caused this exact same issue with the default autocomplete.. So maybe something could be found there.

5ddxqkhoys