Skip to content

Instantly share code, notes, and snippets.

@andy0130tw
Created August 21, 2024 06:54
Show Gist options
  • Save andy0130tw/35776e9a8a401bdabb1b6c82dabdba00 to your computer and use it in GitHub Desktop.
Save andy0130tw/35776e9a8a401bdabb1b6c82dabdba00 to your computer and use it in GitHub Desktop.
Fix JSDoc autocompletion in JavaScript in Sublime Text
// These settings override both User and Default settings for the JavaScript syntax
{
"auto_complete_selector": "meta.tag, comment.block.documentation, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
}
{
{ "keys": ["enter"], "command": "commit_completion", "context":
[
{ "key": "auto_complete_visible", "operator": "equal", "operand": true },
{ "key": "is_javadoc", "operator": "equal", "operand": true, "match_all": true }
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment