[beta] A web-based version and type system improvements
GMEdit » Devlog
Additions
- There is now a web-based version of GMEdit!
This can be handy for viewing/editing GameMaker projects without having/being able to install software on the device.
Improvements
- Anton has further refined font and sprite editors!
- There is now a linter flag to allow implicit nullable->non-nullable (T? to T) casts.
This can be convenient if you set your values toundefined
a lot. - I added options for specifying default window size and/or native window border.
(native window border can be good on Mac if you are slightly annoyed by right-aligned Windows-style control buttons on GMEdit’s window)
Type system
- Functions can now be implicitly cast to
script
type. - You can now use
either<A;B>
instead of(A|B)
(because GMS2 IDE has a hard time handling parentheses in argument names/types) - You can now do
globalvar a, b, c; /// @is {type}
to mark all of them as the same type
(note: declarations must be on the same line) method(value, function(){...})
is now handled as a special case so thatself
inside function will be the type ofvalue
.- Linter now warns about missing fields when accessing anonymous struct literals (
{...}
). real
can now be used as an alias tonumber
.- Assigning
undefined
to a variable no longer sets its type toundefined
with inference enabled - Trying to
cast
a value to the same type that it is now shows a warning. - Fixed wrong return types in a few more functions.
Fixes
- Fixed 2.2 rename failing if you have a tab without a path open (e.g. search)
- Fixed a few cases where words/numbers were highlighted incorrectly when next to a
:
or inside?:
- Fixed warning line markers not playing well with code folding.
- Added a warning when trying to use GMEdit with an incompatible Electron version.
- Fixed “No idea how to open -psn#” on Mac for real this time.
- Fixed
new X();
not being allowed by linter. - Fixed
try{}catch(e)
not addinge
to local variables. - Fixed GML files inside GMS2 extensions sometimes getting indexed multiple times.
- Fixed projects sometimes not indexing right when opening a ZIP/YYZ.
Files
GMEdit-Beta-Windows.zip 98 MB
Version Mar 20, 2021 Mar 20, 2021
GMEdit-Beta-Mac.zip 90 MB
Version Mar 20, 2021 Mar 20, 2021
GMEdit-Beta-Linux.zip 92 MB
Version Mar 20, 2021 Mar 20, 2021
GMEdit-Beta-App-Only.zip 11 MB
Version Mar 20, 2021 Mar 20, 2021
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
- [beta, stable] Small things and fixes14 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
- [beta] Arrow functions!Jun 10, 2022
Leave a comment
Log in with itch.io to leave a comment.