You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you nest a struct or array declaration inside another pair of brackets, auto indentation will go to the indentation of the first brackets instead of indenting for the struct/array. This is with auto indent mode set to "Full".
GameMaker-Beta_X0qw9QntLO.mp4
Some additional weird indentation behavior with nested arrays and struct literals:
GameMaker-Beta_GRkvtoEn3j.mp4
Steps To Reproduce
test = function() {
struct = {
//indents to here
}
}
if thing {
struct = {
array : [
//indents to here
]
}
}
struct = {
//correct here
array : [
//no indent for the array brackets here
]
}
Which version of GameMaker are you reporting this issue for?
IDE v2024.1100.0.634 Runtime v2024.1100.0.658
Which operating system(s) are you seeing the problem on?
KormexGit
changed the title
Code Editor 2: Auto indentation goes to the wrong level when nesting a struct or array declaration inside another set of brackets
Code Editor 2: Auto indentation issues when nesting a struct and/or array declarations
Oct 17, 2024
KormexGit
changed the title
Code Editor 2: Auto indentation issues when nesting a struct and/or array declarations
Code Editor 2: Auto indentation issues when nesting struct and/or array declarations
Oct 17, 2024
Description
If you nest a struct or array declaration inside another pair of brackets, auto indentation will go to the indentation of the first brackets instead of indenting for the struct/array. This is with auto indent mode set to "Full".
GameMaker-Beta_X0qw9QntLO.mp4
Some additional weird indentation behavior with nested arrays and struct literals:
GameMaker-Beta_GRkvtoEn3j.mp4
Steps To Reproduce
Which version of GameMaker are you reporting this issue for?
IDE v2024.1100.0.634 Runtime v2024.1100.0.658
Which operating system(s) are you seeing the problem on?
Windows 10.0.22631.0
b50266b9-272e-46eb-b0b0-eeab3ae4f794
The text was updated successfully, but these errors were encountered: