Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete Plus Issues #30

Open
JamesCoyle opened this issue May 11, 2018 · 4 comments
Open

Autocomplete Plus Issues #30

JamesCoyle opened this issue May 11, 2018 · 4 comments

Comments

@JamesCoyle
Copy link

JamesCoyle commented May 11, 2018

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

  • Version used: 0.4.2
  • Environment name and version (e.g. Chrome 39, node.js 5.4):
    • ares: "1.10.1-DEV"
    • atom-shell: "1.7.11"
    • chrome: "58.0.3029.110"
    • electron: "1.7.11"
    • http_parser: "2.7.0"
    • modules: "54"
    • node: "7.9.0"
    • openssl: "1.0.2k"
    • uv: "1.11.0"
    • v8: "5.8.283.38"
    • zlib: "1.2.11"
  • Operating System and version (desktop or mobile): Windows 7
@liuderchi
Copy link
Owner

@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
Copy link
Author

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
Copy link
Owner

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

Are there any personal configs for core packages ---

  • autocomplete-plus
  • autocomplete-html

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

  • disabledPackages section if it's disabled
  • autocomplete-html, autocomplete-plus section if defaults overwritten

@ghost
Copy link

ghost commented Nov 10, 2018

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

Are there any personal configs for core packages ---

  • autocomplete-plus
  • autocomplete-html

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants