diff --git a/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee b/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee index 7aca56d9bc..030b2d4abf 100644 --- a/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee +++ b/services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/AutoCompleteManager.coffee @@ -128,6 +128,11 @@ define [ if lineUpToCursor.match(/.*%.*/) return lastCharIsBackslash = lineUpToCursor.slice(-1) == "\\" + lastTwoCharsAreBackslash = lineUpToCursor.slice(-2) == "\\\\" + # Don't offer autocomplete on double-backslash + if lastTwoCharsAreBackslash + @editor?.completer?.detach?() + return commandFragment = getLastCommandFragment(lineUpToCursor) commandName = getCommandNameFromFragment(commandFragment) if commandName in ['begin', 'end']