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.
2 parents ea1500f + b1518af commit 8023cd3Copy full SHA for 8023cd3
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