formulahendry/vscode-auto-close-tag

New setting proposal: onlyWithinQuotesOnLanguage

开放

#37 创建于 2017年4月24日

 (5 条评论) (5 个反应) (0 位负责人)TypeScript (52 个派生)github user discovery
enhancementhelp wanted

仓库指标

星标
 (180 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Working in a language like typescript causes false tag closes when coding generics. A new setting that restricts closes to only when typing in a quoted string would allow users to keep this feature enabled with far less false closes. Coding angular inline templates is an example of where this might be used.

"auto-close-tag.onlyWithinQuotesOnLanguage": [
    "typescript"
]

Edit: I'm not sure what information the extension environment provides. Maybe there is a better way, such as knowing you're in a generic - or something similar.

贡献者指南