diff --git a/coder-apps/common/editor/static/js/index.js b/coder-apps/common/editor/static/js/index.js index 71becefe..84cb1675 100644 --- a/coder-apps/common/editor/static/js/index.js +++ b/coder-apps/common/editor/static/js/index.js @@ -272,6 +272,10 @@ var setupEditor = function( panelid, editorid, data, serverid, editmode ) { $("#" + editorid).text( data ); var editor = ace.edit( editorid ); editor.setTheme("ace/theme/coder"); + editor.setOptions({ + enableBasicAutocompletion: true, + enableSnippets: true + }); editor.getSession().setMode(editmode); editor.setBehavioursEnabled( false ); editor.gotoLine(1);