mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
Remove non-working feature trigger for f-string-like completion
It didn't report anything because FeatureUsageTracker.triggerFeatureUsed() is intended to be used only with a set of predefined productivity guide features. Registering a dedicated collector is also unnecessary, since it turned out that we report completion contributors of selected lookup items automatically. GitOrigin-RevId: a59c466478f82d4b0bc551c6ad85fcf37eb3e2d1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
98a525848d
commit
7d13e1005d
@@ -35,7 +35,6 @@ import static com.jetbrains.python.psi.PyUtil.as;
|
||||
* </code></pre>
|
||||
*/
|
||||
public class PyFStringLikeCompletionContributor extends CompletionContributor {
|
||||
private static final String FEATURE_ID = "python.completion.fstring.like";
|
||||
|
||||
private static final PsiElementPattern.Capture<PyPlainStringElement> INSIDE_NON_FORMATTED_STRING_ELEMENT =
|
||||
psiElement(PyPlainStringElement.class)
|
||||
@@ -88,8 +87,6 @@ public class PyFStringLikeCompletionContributor extends CompletionContributor {
|
||||
prefixPatchedResultSet.addElement(new LookupElementDecorator<LookupElement>(variant) {
|
||||
@Override
|
||||
public void handleInsert(@NotNull InsertionContext context) {
|
||||
FeatureUsageTracker.getInstance().triggerFeatureUsed(FEATURE_ID);
|
||||
|
||||
super.handleInsert(context);
|
||||
Document document = context.getDocument();
|
||||
CharSequence docChars = document.getCharsSequence();
|
||||
|
||||
Reference in New Issue
Block a user