The CreatorCon Call for Content is officially open! Get started here.

Code Completion in Polaris Script editor

Michael Dobner
Tera Guru

Hi,

 

the new Script editor behaves differently when using autocomplete. Is there any way to change this?

 

1. Old Editor: glide.ui.syntax_editor.polaris = false

var gr = new GlideRecord("incident");
gr.addE

-> Press CTRL+Space, then hit enter or select "addEncodedQuery"

var gr = new GlideRecord("incident");
gr.addEncodedQuery() // Selector is withing "()" so you can type " and then paste your query

 

2. New Editor: glide.ui.syntax_editor.polaris = true

var gr = new GlideRecord("incident");
gr.addE

-> Press CTRL+Space, then hit enter or select "addEncodedQuery"

var gr = new GlideRecord("incident");
gr.addEncodedQuery // Selector is behind the y, you need to type "(" in order to have the same behavior. 
 
This might sound minor, but this interferes with a decade of muscle memory for me.
0 REPLIES 0