3 ms·
It's not the most advanced IDE but it's good enough that I almost always use it when writing in Racket. Pretty much everything in the editor is set up so that l
by iamevn 5y ago
It's not the most advanced IDE but it's good enough that I almost always use it when writing in Racket. Pretty much everything in the editor is set up so that languages implemented in Racket automatically get to take advantage of it which is really cool.
The repl is about on par with readline but with fancier output. Stuff like images and what racket calls "snips" are directly displayed in the repl. Snips implement their own rendering and interaction handling so you can do stuff like animation, plot charts, display an interactive map, etc. What I feel like it's missing is a way to collapse output/results like the console in firefox/chrome does and a way to reference the previous results (beyond just hitting the ctrl+up keybind) like in ipython.
There's a solid debugger and a tool to show each step of macro expansion if you need that while writing macros. Package manager is integrated into the editor. Autocomplete, syntax highlighting, auto indent/reinvent are all present and are fine.
It's got a bunch of little nice things like when you mouse over an identifier it draws an arrow to the where it was bound or required from a module. The reverse works too so you mouse over a binding/require and get arrows showing all the occurences. Another little thing is that it will automatically input the correct closing paren depending on context so if you're typing "(foo [bar (baz" and you then type ")" three times it'll input ")])".
- jnxx 5y agoWhat I find very nice with the IDE is that it can directly display images as function results. That's useful for teaching but I think it might also be very handy for data visualization and symbolic representations. Perhaps even for debugging with complex data structures. I think this is a mayor innovation.