WEB-12534 Code completion overriding emmet

- recalculate completion on prefix changing if there are no template and empty
prefix
- allow css-emmet templates in the start of style-attribute value
This commit is contained in:
Alexander Zolotov
2014-08-14 20:47:36 +04:00
parent caa30f046c
commit c2e3ee51aa
@@ -548,6 +548,9 @@ public class ZenCodingTemplate extends CustomLiveTemplateBase {
}
}
}
else if(result.getPrefixMatcher().getPrefix().isEmpty()) {
result.restartCompletionOnPrefixChange(StandardPatterns.string().longerThan(0));
}
}
}
}