{"id":8069,"date":"2020-10-09T09:00:32","date_gmt":"2020-10-09T17:00:32","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/python\/?p=8069"},"modified":"2020-10-09T12:28:17","modified_gmt":"2020-10-09T20:28:17","slug":"bringing-the-power-of-the-monaco-editor-to-nteract","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/python\/bringing-the-power-of-the-monaco-editor-to-nteract\/","title":{"rendered":"Bringing the power of the Monaco Editor to nteract"},"content":{"rendered":"<p style=\"text-align: left;\"><span data-contrast=\"none\">The Python team is excited to announce the introduction of\u00a0<\/span><span data-contrast=\"none\">our\u00a0<\/span><span data-contrast=\"none\">popular\u00a0<\/span><span data-contrast=\"none\">Monaco\u00a0<\/span><span data-contrast=\"none\">E<\/span><span data-contrast=\"none\">ditor in\u00a0<\/span><a href=\"https:\/\/nteract.io\/\"><span data-contrast=\"none\">n<\/span><span data-contrast=\"none\">teract<\/span><\/a>, the open-source organization that builds SDKs, applications, and libraries to make the most of interactive notebooks.<span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">Over the past few months, we have been working with the help of the nteract <\/span><span data-contrast=\"none\">community to bring this editor to your <\/span><span data-contrast=\"none\">notebook.<\/span><\/p>\n<p><span data-contrast=\"none\">Our team\u00a0<\/span><span data-contrast=\"none\">at Microsoft has actively<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">embraced\u00a0<\/span><span data-contrast=\"none\">nteract<\/span><span data-contrast=\"none\">\u00a0in\u00a0<\/span><span data-contrast=\"none\">our\u00a0<\/span><span data-contrast=\"none\">notebook experiences<\/span><span data-contrast=\"none\">. W<\/span><span data-contrast=\"none\">e\u00a0<\/span><span data-contrast=\"none\">a<\/span><span data-contrast=\"none\">re<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">looking\u00a0<\/span><span data-contrast=\"none\">to<\/span><span data-contrast=\"none\">\u00a0contribute\u00a0<\/span><span data-contrast=\"none\">our tools\u00a0<\/span><span data-contrast=\"none\">back to the communit<\/span><span data-contrast=\"none\">y<\/span><span data-contrast=\"none\">, and\u00a0<\/span><span data-contrast=\"none\">t<\/span><span data-contrast=\"none\">he Monaco Editor is our first\u00a0contribution\u00a0<\/span><span data-contrast=\"none\">towards<\/span><span data-contrast=\"none\">\u00a0this goal.\u00a0<\/span><span data-contrast=\"none\">In<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">doing so<\/span><span data-contrast=\"none\">,\u00a0<\/span><span data-contrast=\"none\">we hope to provide<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">you with<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">a seamless<\/span><span data-contrast=\"none\">\u00a0<\/span><span data-contrast=\"none\">notebook<\/span><span data-contrast=\"none\">\u00a0experience<\/span><span data-contrast=\"none\">\u00a0and<\/span><span data-contrast=\"none\">\u00a0powerful new editing features.<\/span><span data-ccp-props=\"{&quot;134233117&quot;:true,&quot;134233118&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:240}\">\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main.png\"><img decoding=\"async\" class=\"wp-image-8070 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main.png\" alt=\"Image Main\" width=\"819\" height=\"422\" srcset=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main.png 1710w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main-300x155.png 300w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main-1024x528.png 1024w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main-768x396.png 768w, https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Main-1536x791.png 1536w\" sizes=\"(max-width: 819px) 100vw, 819px\" \/><\/a><\/p>\n<h2>Monaco Release Features<\/h2>\n<p>This initial release introduces several robust editor functionalities to improve your coding experience.<\/p>\n<h4><strong>Theming<\/strong><\/h4>\n<p>The Monaco Editor supports the light and dark themes currently provided by nteract.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Theming-1.gif\"><img decoding=\"async\" class=\"wp-image-8082 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Theming-1.gif\" alt=\"Image Theming\" width=\"710\" height=\"390\" \/><\/a><\/p>\n<h4><strong>Completions<\/strong><\/h4>\n<p>Powered by the Jupyter kernel, you can now use suggested completions to speed up typing.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Completions.gif\"><img decoding=\"async\" class=\"wp-image-8073 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Completions.gif\" alt=\"Image Completions\" width=\"708\" height=\"389\" \/><\/a><\/p>\n<h4><strong>Change All Occurrences<\/strong><\/h4>\n<p>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.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Change-All-Occurrences.gif\"><img decoding=\"async\" class=\" wp-image-8075 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Change-All-Occurrences.gif\" alt=\"Image Change All Occurrences\" width=\"710\" height=\"390\" \/><\/a><\/p>\n<h2><\/h2>\n<h2>Getting Started<\/h2>\n<p>To take advantage of this new editor, simply navigate to the Preferences tab in the top toolbar in the <a href=\"https:\/\/github.com\/nteract\/nteract\/releases#:~:text=You%20can%20find%20the%20release%20notes%20for%20this,our%20work%2C%20please%20consider%20making%20a%20recurring%20donation.\">latest nteract version<\/a> and select \u201cMonaco Editor\u201d under Editor Type.<\/p>\n<p><a href=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Switch-to-Monaco.gif\"><img decoding=\"async\" class=\"wp-image-8078 aligncenter\" src=\"https:\/\/devblogs.microsoft.com\/python\/wp-content\/uploads\/sites\/12\/2020\/10\/Switch-to-Monaco.gif\" alt=\"Image Switch to Monaco\" width=\"710\" height=\"390\" \/><\/a><\/p>\n<p>If you want to test out the Monaco Editor component and integrate it within your own application, you can download the package using:<\/p>\n<p style=\"padding-left: 40px;\"><code>$ npm install @nteract\/monaco-editor<\/code><\/p>\n<p>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 <a href=\"https:\/\/github.com\/nteract\/nteract\">nteract Monaco Editor Github page<\/a>. We want to continue contributing to nteract, so stay tuned for upcoming releases as we look to bring in more Monaco and notebooks features!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Monaco Editor is the popular code editor that powers VS Code, bringing you features like IntelliSense, theming, and simple refactoring. The Python team has partnered with the nteract community to bring these powerful editing features to your nteract notebook.<\/p>\n","protected":false},"author":39999,"featured_media":10119,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-8069","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python"],"acf":[],"blog_post_summary":"<p>The Monaco Editor is the popular code editor that powers VS Code, bringing you features like IntelliSense, theming, and simple refactoring. The Python team has partnered with the nteract community to bring these powerful editing features to your nteract notebook.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/8069","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/users\/39999"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/comments?post=8069"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/posts\/8069\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media\/10119"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/media?parent=8069"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/categories?post=8069"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/python\/wp-json\/wp\/v2\/tags?post=8069"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}