Hi,
A custom file can open in theia with a text editor. If I create a custom open handler for this custom file, theia will open it with my custom editor
1.default text editor
2. now I want to create a custom editor which contains the default text editor. As you can see in the following image when I click the script tab I can edit the file text when I click the property tab I can change to another view in my custom editor
you should be able to reuse our own MonacoEditor. It accepts a HTMLElement as a container, where it will render itself into. That should behave just as the normal monaco editor from the normal editor widget.
Hi,
I look at the output widget which wraps MonacoEditor and write myself. code as follow
export const RobotFileEditorOptions = Symbol(‘RobotFileEditorOptions’);
export interface RobotFileEditorOptions {
uri: string;
}
everything is ok except that, the editor width and height are only 100px, I look at the code and do not find the place, and I did not see any setting in the output widget