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 85452a0 commit dd0be4dCopy full SHA for dd0be4d
PostfixCodeCompletion/PluginMain.cs
@@ -201,6 +201,7 @@ static ASResult GetPostfixCompletionExpr()
201
var language = PluginBase.CurrentProject.Language;
202
if (!ASContext.GetLanguageContext(language).IsFileValid || !TemplateUtils.GetHasTemplates(language)) return null;
203
var sci = doc.SciControl;
204
+ if (sci.PositionIsOnComment(sci.CurrentPos)) return null;
205
var currentLine = sci.CurrentLine;
206
var positionFromLine = sci.LineIndentPosition(currentLine);
207
var position = -1;
0 commit comments