Blacklist typescript.useCodeSnippetsOnMethodSuggest in certain contexts (#16415)
Issue #2092 **bug** With typescript.useCodeSnippetsOnMethodSuggest enabled, we will automatically complete function calls inside some contexts where they should not be completed. For example, destructing assigment. **fix** Add a quickinfo check on the position before attempting to insert a function call. Create a blacklist of invalid contexts. Otherwise, assume that we want to complete the function call.
Showing
想要评论请 注册 或 登录