Change behavior of jt/ts jsdoc completions
Changes how jsdoc completion works to reduce typing delays and hopefully avoid showing it for fewer false positives. Main changes - Only show the completion item if typescript's docCommentTemplate returns something. This means that you won't see the completion item in cases like: `/** |a */` or `/**|` anymore. However in the case of `/**|`, pressing return will still complete to the empty comment as expected - Get the snippet for the completion early so there is no flash when accepting it
Showing
想要评论请 注册 或 登录