To customize template with code editor & intelligent code completion:
- Navigate to the page with Live Visualizer module
- Go to Manage > Visualizers > click on edit icon of your visualizer
- Go to Editors tab > Templates > Edit Master template by clicking on the edit icon