monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

Missing __m512/__m512i/__m512d types

Open phuclv90 opened this issue 3 years ago • 0 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Code

monaco.editor.create(document.getElementById('container'), {
	value: "int hello() {\n\t__m128i x;\n\t__m256d y;\n\t__m512 z;\n\t__m512i t;\n}",
	language: 'c'
});

Reproduction Steps

Type the keywords

Actual (Problematic) Behavior

__m512/__m512i/__m512d won't be highlighted like __m128/__m256i/__m256d and the 128-bit counterparts

Expected Behavior

Same highlighting

Additional Context

I see the list of keywords here https://github.com/microsoft/monaco-editor/blob/35eb0efbc039827432002ccc17b120eb0874d70f/src/basic-languages/cpp/cpp.ts#L194-L200 and it's missing the 512-bit ones

phuclv90 avatar Sep 02 '22 03:09 phuclv90