Documentation question - code editor feature

can you tell me a bit about the code editor

  • I think it’s the same one as in VS code?

also - what do you call the PANEL / AREA of the application window where the code editor, or web viewer appear?

  • the consol / inpsector / file explorere are the other parts of the dscreen, but I’m not sure what to call the ’north’ panel of the application window, where the output / editing takes place .

thanks .. matt ..

Sure, this diagram lists the names of the main UI areas and controls.

The text editor in Celbridge is powered by the open source Monaco Editor, which is the same text editor used in Visual Studio Code. Monaco is a Javascript library that we run in a locally hosted web page displayed in a WebView2. All communication between Monaco Editor and the main Celbridge application is performed via the Web Message API.

Out of the box, Monaco supports basic IntelliSense, Validation and Syntax Colorization for a wide range of text formats (e.g. JSON, Python, Markdown). It supports typical text editor features such as find and replace, cut, copy and paste and a wide range of coding-specific features, such as multi-cursors, that can be accessed via the Command Palette (accessed via the context menu or pressing F1).

We are planning to integrate Monaco more tightly into Celbridge, particularly using Language Server Protocol to support code completion, syntax checking and type hinting, and also to expose the most common text editor features via a toolbar or other UI.

thanks

I’ve just updated the docs website with a new look and bunch of new pages:

it’s strongly based on the Godot-docs model (I think I’ve now removed/replaceds all the Godot bits…)

have a read through - and raise issues / commit corrections etc.

there’s more I want to do, but I think we’re getting towards a good foundation of docs, so people can see what the application is all about from reading the pages now…

.. matt ..

Looks great Matt, thanks a mill! Will take a look through the content properly during the week.

Chris