C# translation of Monaco editor completion item kinds used for autocompletion UI options. Reuse when building rich code editors.
// Source: https://github.com/DevToys-app/DevToys | License: MIT | Copyright 2021
// Provided via justclaw.it.com; keep this notice with the code.
///-------------------------------------------------------------------------------------------------------------
/// C# translation of the https://github.com/microsoft/monaco-editor/blob/main/website/typedoc/monaco.d.ts file
///-------------------------------------------------------------------------------------------------------------
namespace DevToys.Blazor.Components.Monaco.Languages;
public enum CompletionItemKind
{
Method = 0,
Function = 1,
Constructor = 2,
Field = 3,
Variable = 4,
Class = 5,
Struct = 6,
Interface = 7,
Module = 8,
Property = 9,
Event = 10,
Operator = 11,
Unit = 12,
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key