mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 20:55:50 +00:00
44 lines
2.7 KiB
Markdown
44 lines
2.7 KiB
Markdown
Adding a tool like Rojo to your Roblox workflow can be daunting, but it comes with some key advantages.
|
|
|
|
[TOC]
|
|
|
|
## Rojo at RDC 2019
|
|
Nathan Riemer (Kampfkarren) gave a talk at RDC 2019 talking about some of the benefits of using a tool like Rojo.
|
|
|
|
<iframe style="margin: 0 auto; max-width: 100%" width="560" height="315" src="https://www.youtube-nocookie.com/embed/czlvzEyhaBc" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
|
|
|
## External Text Editors
|
|
Rojo opens the door to use the absolute best text editors in the world and their rich plugin ecosystems.
|
|
|
|
Some very popular editors include [Visual Studio Code](https://code.visualstudio.com) and [Sublime Text](https://www.sublimetext.com).
|
|
|
|
These advanced text editors have features like multi-cursor editing, goto symbol, multi-file regex find and replace, bookmarks and much more.
|
|
|
|
Many Rojo VS Code users also use extensions like:
|
|
|
|
* [vscode-rbxlua](https://marketplace.visualstudio.com/items?itemName=AmaranthineCodices.vscode-rbxlua)
|
|
* [Roblox Lua Autocompletes](https://marketplace.visualstudio.com/items?itemName=Kampfkarren.roblox-lua-autofills)
|
|
* [TabNine](https://tabnine.com)
|
|
|
|
## Version Control
|
|
By building your game (or just the scripts) as individual files on the filesystem, it becomes easy to start using professional-grade version control tools like [Git](https://git-scm.com) and [GitHub](https://github.com).
|
|
|
|
Hundreds of thousands of companies and individual developers use Git to version their software projects. With Rojo, Roblox developers can take advantage of the best collaboration tool around.
|
|
|
|
Using a repository hosting service like GitHub or GitLab brings powerful features to Roblox developers like code reviews and issue tracking that professional engineers can't live without.
|
|
|
|
## TypeScript
|
|
TypeScript enables static type safety, which helps prevent typos and adds unparalleled autocompletion. It also brings features like arrow functions, object destructuring, functional programming methods, and more!
|
|
|
|
With Rojo, you can use [roblox-ts](https://roblox-ts.github.io) to compile TypeScript to Lua and take advantage of a huge ecosystem of TypeScript tooling.
|
|
|
|
It's also possible to use other languages that compile to Lua like [MoonScript](https://moonscript.org) and [Haxe](https://haxe.org).
|
|
|
|
## Other Tools
|
|
There are decades of excellent tools available that operate on files. With Rojo, it's possible to take advantage of any of them!
|
|
|
|
Popular tools include:
|
|
|
|
* [luacheck](https://github.com/mpeterv/luacheck), a static analysis tool to help you write better Lua
|
|
* [ripgrep](https://github.com/BurntSushi/ripgrep), an extremely fast code search tool
|
|
* [Tokei](https://github.com/XAMPPRocky/tokei), a tool for statistics like lines of code |