Skip to content

Code Editor 2: Template strings have auto-insert behavior for things like apostrophes and parenthesis #12997

@KormexGit

Description

@KormexGit

Description

While it makes sense for template strings to auto-insert matching curly brackets, they also auto-insert for other paired symbols, like apostrophes or parenthesis. This is in particular a problem for apostrophes, since you type those when writing normal words. Regular strings do not have this happen.

Similar to #5311, but with template strings instead of comments.

GameMaker_hQ6wD1MthL.mp4

Steps To Reproduce

var onlyTypesOne = " "
var typesAPair = $" "

Type ' and ( and inside the quotes

Which version of GameMaker are you reporting this issue for?

IDE v2024.14.1.210 Runtime v2024.14.1.253

Which operating system(s) are you seeing the problem on?

Windows 10.0.26100.0

a4e63284-8270-4026-9dd4-1aa060cc98e7

Metadata

Metadata

Assignees

Labels

projectThis issue has a sample project attached
No fields configured for IDE Bug.

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions