pichillilorenzo / JavaScript-Completions

JavaScript Completions for sublime text. It helps you to write your scripts more quickly with hints and completions.
MIT License
356 stars 77 forks source link

auto completes not work. #23

Open kvmaker opened 7 years ago

kvmaker commented 7 years ago

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

redeemefy commented 7 years ago

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

jscheel commented 7 years ago

Try updating Sublime Text.

BrandonSM commented 7 years ago

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 commented 7 years ago

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.

redeemefy commented 7 years ago

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?

franciscolourenco commented 7 years ago

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

Sublime 3 (3126) macOS 10.11.6

pichillilorenzo commented 7 years ago

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

GameKyuubi commented 7 years ago

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

GameKyuubi commented 7 years ago

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.

pichillilorenzo commented 7 years ago

@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?

redeemefy commented 7 years ago

Fear enough. Thank you!

GameKyuubi commented 7 years ago

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

pichillilorenzo commented 7 years ago

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

pichillilorenzo commented 7 years ago

@kvmaker any news with the new version??

7h3m4dS0u1 commented 6 years ago

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

WajdiMakhlouf commented 6 years ago

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()

Adebayo27 commented 5 years ago

Mine is not working too

iamrs77 commented 4 years ago

autocompletion is not working

fcrezza commented 4 years ago

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

abdes-zakari commented 4 years ago

Not working !!