AngularJS-Atom icon indicating copy to clipboard operation
AngularJS-Atom copied to clipboard

Autocompletion box opens everytime

Open tiagomsmagalhaes opened this issue 6 years ago • 18 comments

On javascript file, after every character it appears suggestions from your plugin which is counter productive working like that. Even with a space triggers the box with all the suggestions

tiagomsmagalhaes avatar Dec 07 '17 11:12 tiagomsmagalhaes

I didn't realize that. I have an idea why that happened.I will check it.

outsideris avatar Dec 08 '17 09:12 outsideris

I am getting this too, but mostly with commas. Every time I have a comma it tries to autocomplete and then I end up with a lot of garbage because I'm trying to put in a new line.

Autalyst avatar Dec 20 '17 21:12 Autalyst

Yes, same problem here. Super annoying

FrEaKmAn avatar Jan 02 '18 15:01 FrEaKmAn

Same problem

Sparksx avatar Jan 03 '18 14:01 Sparksx

Same here:

angularjs-atom-bug

Thanks!

gmanriqueUy avatar Jan 03 '18 20:01 gmanriqueUy

I just released v0.5.2. Please check it again.

outsideris avatar Jan 05 '18 14:01 outsideris

Fixed for me in v0.5.2

Thanks @outsideris

Sparksx avatar Jan 05 '18 14:01 Sparksx

@outsideris ~~updated the plugin and still appears everytime~~

EDITED: updated the plugin and still appears everytime as soon I press space

tiagomsmagalhaes avatar Jan 05 '18 15:01 tiagomsmagalhaes

It appears to be resolved for me in v0.5.2

Autalyst avatar Jan 05 '18 15:01 Autalyst

@tiagomsmagalhaes Could you explain more details? Others said it is fixed. OS or Atom versions?

outsideris avatar Jan 05 '18 17:01 outsideris

@tiagomsmagalhaes I got it. Thank you.

outsideris avatar Jan 05 '18 17:01 outsideris

Works fine in v0.5.2. Thanks for this fix! It was an ungodly annoying behavior.

dierol avatar Jan 09 '18 11:01 dierol

@outsideris Updated to 0.5.3 Still happens...

Use cases:

  • Entering space after a semicolon
  • Opening parenthesis with cursor after parenthesis and before any word
  • Entering space After the opening curly bracket (e.g. the bracket opening a function)
  • Entering space after opening square brackets
  • Entering dot everywhere (Not sure when is supposed to show if it's supposed to show)

tiagomsmagalhaes avatar Jan 16 '18 15:01 tiagomsmagalhaes

You should hide it with "non word characters" (look at: atom > preference > editor) by default it's set to: /()"':,.;<>~!@#$%^&*|+=[]{}`?-… suggestion have no sense after these characters, except after dot?

Sparksx avatar Jan 16 '18 15:01 Sparksx

@Sparksx you replied to me or @outsideris?

Either way, I have that default non word characters with the default set. But that only works on html (angular) files. on js files the use cases i listed occurs.

tiagomsmagalhaes avatar Jan 16 '18 15:01 tiagomsmagalhaes

I replied to @outsideris

I've same problem that you @tiagomsmagalhaes

Sparksx avatar Jan 16 '18 15:01 Sparksx

hmm Now I just checking characters but I should determine with context. I will dig it.

outsideris avatar Jan 17 '18 14:01 outsideris