/winui.monaco-editor

The Monaco Editor for WinUI 3

Primary LanguageJavaScriptMIT LicenseMIT

WinUI.Monaco-Editor

WinUI.Monaco-Editor

.NET Version License Downloads NuGet

buy me a coffe

Introduction

The Monaco Editor (Visual Studio Code) as UI Control for WinUI 3.0

Notice: As part of a project restructuring, the NuGet name of the library was changed from winui.monaco-editor to WinUI.Monaco.

Install Monaco in a WinUI 3.0 Project

dotnet add package WinUI.Monaco

WinUI.Monaco Version

The library version is composed as follows:

  • the current project version
  • the used Monaco Editor version
  • the GitHub RunNumber of the build

1.1.${{ env.MONACO_VERSION }}.${{ github.run_number }} (example: 1.1.44.13)

Contributors

Contributors

Development

Update the Monaco Version

The monaco project is stored in the C#-Project Monaco under the folder MonacoEditorSource.

To update the monaco version follow these steps:

  1. download the latest version from Microsoft Monaco Project
  2. extract the archive file
  3. delete all files except for index.html from the folder MonacoEditorSource. The index.html is required for the project
  4. copy all new files from the extracted archive to the folder MonacoEditorSource