Просмотр исходного кода

check current commands against package commands

Nate Stemen 8 лет назад
Родитель
Сommit
68b57f8d95

+ 1 - 0
services/web/public/coffee/ide/editor/directives/aceEditor/auto-complete/CommandManager.coffee

@@ -101,6 +101,7 @@ define [
 			for pkg, snippets of packages
 				for snippet in snippets
 					packageCommands.push snippet
+					commandNames.push snippet.caption.match(/\w+/)[0]
 
 			doc = session.getValue()
 			parser = new Parser(doc, prefix)