Les versions Beta ne sont pas autant testées que les versions Stables

Les versions Beta ne sont pas autant testées que les versions Stables

New code editor; bug fixes

25 February, 2025 ()

Envoyez-moi un courriel lors de nouvelles parutions

Don't miss out on the latest and greatest new features in Construct Animate

Notes

Over the past few weeks we've been working on a major update to Construct's text and code editor, and in this week's beta release we're ready to share our work with you! Previously Construct's code editor was based on the decent but ageing CodeMirror 5, and we've now updated it to use Monaco, the same code editor as used by VS Code. This provides lots of new code editing features, including a code minimap, scrollbar annotations, sticky scroll headers, 'Go to definition', find references, renaming symbols, and more. While a great update in its own right, using Monaco in Construct should also makesit possible to support TypeScript coding within Construct itself - we'll be exploring that in future, but for now we're focusing on support for the existing JavaScript coding features.

While we didn't have to develop Monaco itself, intergating it with Construct is still a complex job, so please be on the lookout for any issues with it and as ever report them to us following all the guidelines so we can investigate. For now you can also revert back to the legacy CodeMirror editor in Settings. This is mainly intended as a backup in case a serious problem with Monaco prevents you being able to work on your project, but as maintaining two code editors is much more complicated than just having one, we plan on removing the legacy CodeMirror editor soon.

As ever this release has some bug fixes and some further changes detailed in the changelog below. Happy testing!

Vous aimez cette parution ?

Faites-le nous savoir avec un pouce haut !

UpvoteUpvote 12 DownvoteDownvote
Exécuter r428

Changelog iconNouvelles fonctionnalités

Not favoritedFavorited Favorited 2 favoris
New Monaco code editor

Changelog iconNouveaux ajouts

Not favoritedFavorited Favorited 1 favoris
Settings: new section for Text / Code editor settings

Changelog iconChangements

Not favoritedFavorited Favorited 1 favoris
Scripts in event sheets now saved by line for better diffs with source control
Not favoritedFavorited Favorited 0 favoris
Allow project to handle mouse/touch move input over HTML elements
Not favoritedFavorited Favorited 0 favoris
Example Browser: rename 'Scene graph' tag to 'Hierarchy'

Changelog iconCorrections de bug

Not favoritedFavorited Favorited 0 favoris
Possible crash updating scripts from external source (regression r427)
Not favoritedFavorited Favorited 0 favoris
Recent projects not updating (regression r426)
Not favoritedFavorited Favorited 0 favoris
Hierarchies: fix unexpected results when loading complex hierarchies from JSON
Not favoritedFavorited Favorited 0 favoris
Adjust HSL effect hue description referred to incorrect range

Changelog iconAmélioration des performances

Not favoritedFavorited Favorited 1 favoris
Use low priority for editor offline caching requests to try to avoid it delaying editor responsiveness

Partager Construct Animate la parution r428 maintenant

  • 0 Comments

Want to leave a comment? Login or Register an account!