Fixed dot suffix

This commit is contained in:
sunarya-thito 2021-09-14 19:11:15 +07:00
parent d82206480e
commit 870720313c

View File

@ -32,10 +32,6 @@ public class KeyCompletionProvider extends CompletionProvider<CompletionParamete
String path = result.getPrefixMatcher().getPrefix(); String path = result.getPrefixMatcher().getPrefix();
if (path.endsWith(".")) {
path = path.substring(0, path.length() - 1);
}
DataStore instance = DataStore.getInstance(project); DataStore instance = DataStore.getInstance(project);
Map<String, String> map = new HashMap<>(); Map<String, String> map = new HashMap<>();
collect(map, instance.getTranslations().getNodes(), null, previewLocale, prefix); collect(map, instance.getTranslations().getNodes(), null, previewLocale, prefix);