Change script editor keybind

There is a disadvantage to setting the script editor keybind to the backtick key. The backtick key is used in JavaScript to write template literals.

Example of a template literal:

`(${this.x}, ${this.y})`
//same as "(" + this.x + ", " + this.y + ")"

So when I tried writing a template literal it would close the window. I tried changing the keybind to shift+~ in the settings but it didn’t change anything since pressing ` would still close the window. I had to copy and paste the backtick character.

3 Likes

Maybe change it to control + `

2 Likes

Oh wow, never realized this occurs here. ctrl + ` is probably the best bet.

1 Like