提交 430272b0 编写于 作者: M Matt Bierner

Use / as a trigger character for jsx

上级 12323264
......@@ -469,7 +469,7 @@ export default class TypeScriptCompletionItemProvider implements vscode.Completi
}
}
if (context.triggerCharacter === '@') {
if (context.triggerCharacter === '@' && !this.client.apiVersion.has290Features()) {
// make sure we are in something that looks like the start of a jsdoc comment
const pre = line.text.slice(0, position.character);
if (!pre.match(/^\s*\*[ ]?@/) && !pre.match(/\/\*\*+[ ]?@/)) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册