Introducing the Mojo IDE
The Mojo IDE now support Lucid!
Download Links Version B1.1.8
New in B1.1.8
- Fixed a bug preventing inout use.
- Fixed some bugs causing crashes.
- Updated library components for new syntax.
- Added External IO example project.
Real Time Error Checking
When writing Lucid, the Mojo IDE will perform real-time checks on your code and let you know if something isn't right.
In the above image, you can see the signal spi_miso was missing the underscore. The Mojo IDE underlines all the errors it finds in red and all the warnings in yellow. By hovering your cursor over it, a tool-tip pops up telling you what is wrong. This means you can easily spot errors without having to attempt to build your project then scroll through tons of text to look for the line number and error message.
One of the best features of the Mojo IDE is the components library. There are lots of times that you need to do the same thing and having a reusable component just makes your life that much easier.
By going to Project->Add Components... you can easily choose the components you want to add to your project. Once you add it to your project, the component's source code can be opened so you can see how everything works.
Having components is great, but sometimes you need to see a full project to see how to do something. For this, we have example projects that you can make a copy of when creating a new project.
Here we will be copying the Hello World! project which sends "Hello World!" over USB every time you send "h".
Once you create your new project from the example, you are free to edit it however you would like.
We will have an example project to accompany every Lucid tutorial so that you can easily compare your project to example if you get stuck, or if you just want to learn by examples.
The component library and example project's versions are independent of the Mojo IDE. This allows us to push updates to the library and example projects between Mojo IDE updates. When you open the Mojo IDE, it checks to see if a new version is available. If there is, it will prompt you to update the IDE, or the library.
When writing Lucid code, the Mojo IDE will give you suggestions for what you are typing.
When you are accessing a module's signal, it will list all the available signals so that you don't have to keep looking back and forth between two files.
The text is matched by searching for words that contain the typed letters in the order they were typed. They don't have to be next to each other. In the following example, " ta" is matched to "tx_data" and "rx_data".
Choose Your Style
We realize that not everyone likes the default dark theme. You can now choose the light or dark side!
You can split the editor window horizontally or vertically to show multiple files at once. Simply right click on an editor and select Split Horizontal or Split Vertical or press Ctrl+H or Ctrl+G respectively. You are free to drag and drop tabs between each open editor.
Have lots of space? We got you covered.