mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Add Systemverilog language support
Co-authored-by: cinnamontoastmafia <brianna.k.loomis@gmail.com> Co-authored-by: Cinnamontoastmafia <cinnamontoastmafia@users.noreply.github.com> Co-authored-by: elakkiap <elakkiap@users.noreply.github.com> Co-authored-by: Fred Chu <freddychu222@users.noreply.github.com> Co-authored-by: Freddychu222 <43318067+Freddychu222@users.noreply.github.com> Co-authored-by: NeilW2020 <neil.j.wen@gmail.com> Co-authored-by: root <xadegunt@users.noreply.github.com> Co-authored-by: sabalkaw <68864756+sabalkaw@users.noreply.github.com> Co-authored-by: sago5993 <sago5993@users.noreply.github.com> Co-authored-by: Vivian Cheng <vccheng@andrew.cmu.edu> Co-authored-by: xadegunt <62346806+xadegunt@users.noreply.github.com>
This commit is contained in:
parent
618f2cff2d
commit
c77b1099da
4 changed files with 1370 additions and 0 deletions
23
src/systemverilog/systemverilog.contribution.ts
Normal file
23
src/systemverilog/systemverilog.contribution.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
'use strict';
|
||||
|
||||
import { registerLanguage } from '../_.contribution';
|
||||
|
||||
registerLanguage({
|
||||
id: 'systemverilog',
|
||||
extensions: ['.sv', '.svh'],
|
||||
aliases: ['SV', 'sv', 'SystemVerilog', 'systemverilog'],
|
||||
loader: () => import('./systemverilog')
|
||||
});
|
||||
|
||||
|
||||
registerLanguage({
|
||||
id: 'verilog',
|
||||
extensions: ['.v', '.vh'],
|
||||
aliases: ['V', 'v', 'Verilog', 'verilog'],
|
||||
loader: () => import('./systemverilog')
|
||||
});
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue