`??` and various improvements
GMEdit » Devlog
Additions
- [beta] Added null-conditional operators!
These allow you to do things likeinstance_nearest(x, y, obj_enemy)?.cur_health ?? 0
instead of assigning result of instance_nearest into a temporary variable, checking that it’s notnoone
, grabbingcur_health
from it, or returning0
otherwise.
Improvements
- Added
#mfunc
to auto-completion list. - Outline View is now better at displaying 2.3 top-level functions.
- Outline View can now display static functions inside constructors.
- Added more settings to Outline View.
- Added a separate keyboard shortcut for folding only
#regions
(default: Ctrl+Shift+M) - When the cursor is on JSDoc immediately before a global function, the function will now be highlighted instead of the previous one.
- GMEdit now handles
@func
JSDoc in GMS2.3 projects.
I also take a moment to remind you that you should not use@func
for hinting methods inside constructors as it adds auto-completion and highlighting items into global scope.
Fixes
- Fixed
function name()
in Create events not being added to object variable list. - Fixed
var a:Enum = fn() ++a.field
(note the missing;
) not using the correct accessor. - Fixed newly added GMS2.2 resources having their fields inside YYP out of order.
(didn’t break anything, but IDE would eventually reformat these) - Fixed freshly created 2.3 objects not being possible to use as a parent until reloading a project.
Misc
- Current theme name is now stored in html[data-theme].
This allows to set theme-specific rules in project-specific CSS. - Keyboard shortcuts menu now supports descriptions (shown as mouseover text).
- Updated the GMLive.js build to handle editing-related logic on GMEdit side of code.
(hopefully nothing should be different)
Stable channel has everything up until null-conditional operators.
Files
GMEdit-Beta-Windows.zip 98 MB
Version Dec 19, 2020 Dec 18, 2020
GMEdit-Beta-Mac.zip 90 MB
Version Dec 19, 2020 Dec 18, 2020
GMEdit-Beta-Linux.zip 92 MB
Version Dec 19, 2020 Dec 18, 2020
GMEdit-Beta-App-Only.zip 11 MB
Version Dec 19, 2020 Dec 18, 2020
Get GMEdit
Download NowName your own price
GMEdit
A high-end code editor for all things GameMaker
Status | Released |
Category | Tool |
Author | YellowAfterlife |
Tags | GameMaker |
More posts
- [stable] Compatibility tweaks and fixes1 day ago
- [beta, stable] Small things and fixes54 days ago
- [stable, beta] Some fixesMay 25, 2024
- [stable, beta] "Navigate to method" and various tweaksMay 10, 2024
- [stable, beta] A few things and GM updatesFeb 26, 2024
- [stable, beta] Small fixes and Return Of CoroutinesSep 06, 2023
- [stable, beta] GM2023.4 and multi-level tabsJun 08, 2023
- [stable, beta] GM2023.1 support and small thingsMar 12, 2023
- [stable, beta] GM updatesDec 24, 2022
- [stable, beta] Arrow functions and various improvementsOct 19, 2022
Leave a comment
Log in with itch.io to leave a comment.