Gitlab hero border pattern left svg Gitlab hero border pattern right svg

Source Editor Direction

Source Editor

Content last reviewed on 2021-11-24

Thanks for visiting the direction page for the Source Editor, a code editor maintained by the Editor group. While not a singular feature or official category in itself, the Source Editor is a critical component and cornerstone of the Editor group's strategy. More information about the Editor group's priorities and direction can be found on the Editor group direction page and additional questions can be directed to Eric Schurter (E-Mail).

What is the Source Editor?

The Source Editor is a thin wrapper around the open source code editor, Monaco. In early development, you may have seen it referred to as "Editor Lite." It's primary function is to provide an interface on which we can extend the functionality of the code editor and provide a consistent code editing experience across GitLab.

Who is it for?

Anyone writing code within the GitLab UI.

Where can I use it?

The Source Editor is currently being used as the editing component that powers Snippets, Web IDE, the Web Editor (also known as the "Single File Editor"), the Pipeline Editor, and in a few other places across GitLab.

What's next?

Since the primary benefit of the Source Editor is realized through its extensions, our focus right now is iterating on the extension architecture and laying the foundation for new extension types (like Toolbar Items and Panel Widgets) that will unlock new ways in which we can deliver new value and integrate with features across GitLab.

Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license