JavaScript-Completions icon indicating copy to clipboard operation
JavaScript-Completions copied to clipboard

auto completes not work.

Open kvmaker opened this issue 7 years ago • 20 comments

I Just install JavaScript-Completions on OSX, but the completion function not work. Uploading image.png…

kvmaker avatar Nov 27 '16 04:11 kvmaker

  • OS: OSX 10.11.6
  • Sublime Text 3: Build 3126

Same here! While typing the function keyword doesn't prompt anything.

redeemefy avatar Dec 14 '16 06:12 redeemefy

Try updating Sublime Text.

jscheel avatar Dec 15 '16 17:12 jscheel

I have it installed for the Sublime Text 3 on Windows and cannot get the completions to pop-up at all. I have confirmed that the package is installed and I have some of the Javascript Completion Tools available, just the pop-ups aren't working.

I have saved the file as a ".js" file just to make sure it wasn't file specific, but it still isn't working.

For example the following code isn't showing an auto-complete menu. Even starting to type "document" doesn't pop-up a menu. var element = document.

BrandonSM avatar Jan 05 '17 15:01 BrandonSM

I was actually able to get this to start working. I enabled auto-complete for AngularJS and Nativescript, restarted the program and then the menu started showing up. Disabled AngularJS/Nativescript autocompletions again as I'm not using them right now but it seems to have done the trick.

BrandonSM avatar Jan 05 '17 19:01 BrandonSM

I don't have AngularJS/Nativescript in the default JavaScript-Completions.subime-settings file.

Update...

I found out that...

var myArray = [1,2,3,4,5,6];
myArray.

no popup shows but if I do ctl+spacebar the popup window shows up. It is any setting I need to change to automate the popup window?

redeemefy avatar Jan 29 '17 00:01 redeemefy

Not working here either. Example: document.cre... doens't suggest anything.

Sublime 3 (3126) macOS 10.11.6

franciscolourenco avatar Feb 20 '17 22:02 franciscolourenco

Could you post the logs from Sublime text's console please?

pichillilorenzo avatar Mar 05 '17 13:03 pichillilorenzo

I had to restart Sublime Text 3 before mine started showing up.

GameKyuubi avatar Mar 07 '17 07:03 GameKyuubi

Hm actually it seems like sometimes it just doesn't show up in some documents? 2 files with the same extension in the same directory but one shows completions and the other I have to push ctrl+space??

edit: Closing and reopening the document (not ST3 itself) fixed this.

GameKyuubi avatar Mar 07 '17 08:03 GameKyuubi

@diazgilberto my plugin can't recognize from something like:

var myArray = [1,2,3,4,5,6];
myArray.

if you want that the popup shows up, you must write something after the dot, like this:

var myArray = [1,2,3,4,5,6];
myArray.pu //now popup must shows up

This is a limitation of this plugin!

However i'm developing a Beta version where i use Flow ( a static type checker from Facebook ) to implements new features and better autocomplete! I will post it on github, under another branch, so all of you can download it and test it!

@GameKyuubi can you post the logs from the sublime text's console please?

pichillilorenzo avatar Mar 07 '17 08:03 pichillilorenzo

Fear enough. Thank you!

redeemefy avatar Mar 07 '17 15:03 redeemefy

@pichillilorenzo Sorry, it's not happening any more :/

GameKyuubi avatar Mar 08 '17 09:03 GameKyuubi

@GameKyuubi ok! Let me know if it happens again! Thanks

pichillilorenzo avatar Mar 08 '17 11:03 pichillilorenzo

@kvmaker any news with the new version??

pichillilorenzo avatar Mar 30 '17 19:03 pichillilorenzo

I know this is an old issue, but like @GameKyuubi said, in my case "Closing and reopening the document (not ST3 itself) fixed this". tnx

7h3m4dS0u1 avatar Nov 17 '17 16:11 7h3m4dS0u1

I still can't make it work this is the log from the console: (many errors like that, just posted a single one) File "/home/wajdi/.config/sublime-text-3/Packages/JavaScript Completions/_generated_2018_02_11_at_20_21_24.py", line 571, in run region = get_start_end_code_highlights_eval()

WajdiMakhlouf avatar Aug 31 '18 10:08 WajdiMakhlouf

Mine is not working too

Adebayo27 avatar Apr 29 '19 20:04 Adebayo27

autocompletion is not working

iamrs77 avatar Nov 17 '19 07:11 iamrs77

install this plugin first https://packagecontrol.io/packages/SublimeCodeIntel

fcrezza avatar Feb 21 '20 12:02 fcrezza

Not working !!

abdes-zakari avatar Feb 26 '20 13:02 abdes-zakari