Bringing the power of the Monaco Editor to nteract

sharonxu

Sharon

The Python team is excited to announce the introduction of our popular Monaco Editor in nteract, the open-source organization that builds SDKs, applications, and libraries to make the most of interactive notebooks. Over the past few months, we have been working with the help of the nteract community to bring this editor to your notebook.

Our team at Microsoft has actively embraced nteract in our notebook experiences. Ware looking to contribute our tools back to the community, and the Monaco Editor is our first contribution towards this goal. In doing sowe hope to provide you with a seamless notebook experience and powerful new editing features. 

Image Main

Monaco Release Features

This initial release introduces several robust editor functionalities to improve your coding experience.

Theming

The Monaco Editor supports the light and dark themes currently provided by nteract.

Image Theming

Completions

Powered by the Jupyter kernel, you can now use suggested completions to speed up typing.

Image Completions

Change All Occurrences

The right-click menu exposes the Change All Occurrences feature, which allows you to easily rename all instances of a variable within a cell at once.

Image Change All Occurrences

Getting Started

To take advantage of this new editor, simply navigate to the Preferences tab in the top toolbar in the latest nteract version and select “Monaco Editor” under Editor Type.

Image Switch to Monaco

If you want to test out the Monaco Editor component and integrate it within your own application, you can download the package using:

$ npm install @nteract/monaco-editor

For those looking for the flexibility of a new editor in nteract, try installing the Monaco Editor package and give these new features a try. If you have any problems or suggestions, feel free to file an issue on the nteract Monaco Editor Github page. We want to continue contributing to nteract, so stay tuned for upcoming releases as we look to bring in more Monaco and notebooks features!

2 comments

Leave a comment