Repository navigation
🎉 Hexagram v0.1.0: a first preview of the Blaise IDE #1
graemeg
announced in
Announcements
Replies: 1 comment
|
Awesome! Nice layout and a good set of features for an initial release! I liked the ability to load the pasbuild project.xml as well! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone,
I'm delighted to share the first preview of Hexagram, an IDE for Blaise and PasBuild projects. It's written in Blaise, on the new BlaiseUI toolkit (released today too), and it follows IntelliJ IDEA's way of working: search everywhere, precise navigation, tool windows and keyboard first.
🎯 What this preview focuses on
This early release concentrates on three things: a solid basic IDE, code navigation and debugging. There's lots more planned for future releases, starting with code insight and refactoring.
✏️ The IDE
Tabs and sessions, find and replace, Find in Files, syntax highlighting for Pascal, XML, Markdown and AsciiDoc, syntax errors as you type, compiler diagnostics on save, folding and
begin/endmatching. PasBuild builds show their problems linked to the source, run configurations run your programs, and the test runner streamsblaise.testingresults as they arrive. Light and dark themes, and both IntelliJ IDEA and Hexagram keymaps.🧭 Code navigation
Search Everywhere, Go to File, Class and Symbol, Go to Declaration (right into the Blaise stdlib and RTL), Go to Implementation and Super Method, Find Usages, Type and Call Hierarchy, Recent Locations, Back and Forward, and breadcrumbs. Name resolution agrees with the compiler on every name in BlaiseUI and Hexagram itself, and the project index lives on disk, so reopening a project is quick.
🐞 Debugging
Breakpoints (with conditions), stepping, Run to Cursor, pause, the call stack, variables and watches, and values shown inline and on hover. Hexagram drives
pdr-dap, the debugger that ships in the Blaise 0.16.0 archives for macOS, Linux and FreeBSD.🔭 What's next
Code insight and refactoring come next, then quick documentation, quick fixes and Git integration. The plan has the whole roadmap.
📦 Get it
Binaries for macOS (Apple silicon) and Linux x86_64 are on the release page. Unpack one and run
hexagram path/to/project.xml. Hexagram uses your own toolchain, so put Blaise 0.16.0 and PasBuild 1.11.0 or later on yourPATH.Hexagram opens existing PasBuild projects, but it can't create one yet. To start a new project, let PasBuild make an empty one, then open it:
With Blaise as your compiler,
pasbuild initwrites a Blaise project: aMain.pas, aTestRunner.pasusingblaise.testing, and aproject.xmlthat is ready to build, run and test. To debug it, add adebugprofile toproject.xml. Hexagram's Debug builds with that profile, and--debug-opdfgivespdr-dapthe debug information it needs (on macOS it also lets the debugger attach):Creating projects from within Hexagram, with all of this set up for you, will come in a future release.
macOS is where Hexagram is developed and tested most; Linux has had less testing, so please do report anything odd. A Windows binary was planned too, but last-minute testing turned up two compiler bugs on x86-64, so it will follow later, after more testing. Hexagram works around both for now, and a Blaise bug-fix release is on its way.
On macOS the binaries are ad-hoc signed, not notarised. If macOS won't run a copy downloaded with a browser, run
xattr -dr com.apple.quarantine .once in the unpacked folder.🙏 Thank you
Thank you for trying it. Hexagram is a preview, so your feedback really shapes what comes next. Please share it here in the Discussions.
A special thank you, too, to my Patreon sponsors. Your support gives me the time to build all of this, and I'm truly grateful for it.
Happy coding! 🙌
Built with ❤ for the Pascal community.
All reactions