tststs / atom-ternjs

JavaScript code intelligence for atom with tern.js and autocomplete-plus
MIT License
627 stars 76 forks source link

doc_comment unable to get comments when function is async #340

Closed wattry closed 6 years ago

wattry commented 6 years ago

When trying to implement docblocker to get auto complete to work I could not get it to work initially.

I removed the async calls from in front of my functions and it just started working. Is there any way to implement async functions and still get the benefit out of the plugin?

wattry commented 6 years ago

I was able to resolve the issue by setting the ecmaVersion: "8" and doc_comment:true. My doc comments started working.