We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 097a24f commit b1518afCopy full SHA for b1518af
External/Plugins/ASCompletion/Completion/ASGenerator.cs
@@ -79,13 +79,10 @@ public static List<ICompletionListItem> ContextualGenerator(ScintillaControl Sci
79
string text = Sci.GetLine(line);
80
bool suggestItemDeclaration = false;
81
82
- if (isNotInterface)
+ if (isNotInterface && ASComplete.IsLiteralStyle(style))
83
{
84
- if (style == 4 || style == 6 || style == 7)
85
- {
86
- ShowConvertToConst(found);
87
- return known;
88
- }
+ ShowConvertToConst(found);
+ return known;
89
}
90
91
ASResult resolve = ASComplete.GetExpressionType(Sci, Sci.WordEndPosition(position, true));
0 commit comments