├── .gitignore
├── .npmignore
├── CNAME
├── LICENSE
├── README.md
├── index.html
├── index.js
├── index.min.js
├── package.json
└── src
├── codicon.ttf
├── index.css
├── monaco
├── base
│ ├── browser
│ │ ├── browser.js
│ │ ├── canIUse.js
│ │ ├── contextmenu.js
│ │ ├── dnd.js
│ │ ├── dom.js
│ │ ├── event.js
│ │ ├── fastDomNode.js
│ │ ├── formattedTextRenderer.js
│ │ ├── globalMouseMoveMonitor.js
│ │ ├── history.js
│ │ ├── iframe.js
│ │ ├── keyboardEvent.js
│ │ ├── markdownRenderer.js
│ │ ├── mouseEvent.js
│ │ ├── touch.js
│ │ └── ui
│ │ │ ├── actionbar
│ │ │ ├── actionbar.css
│ │ │ └── actionbar.js
│ │ │ ├── aria
│ │ │ ├── aria.css
│ │ │ └── aria.js
│ │ │ ├── checkbox
│ │ │ ├── checkbox.css
│ │ │ └── checkbox.js
│ │ │ ├── codiconLabel
│ │ │ ├── codicon
│ │ │ │ ├── codicon-animations.css
│ │ │ │ ├── codicon.css
│ │ │ │ └── codicon.ttf
│ │ │ └── codiconLabel.js
│ │ │ ├── contextview
│ │ │ ├── contextview.css
│ │ │ └── contextview.js
│ │ │ ├── countBadge
│ │ │ ├── countBadge.css
│ │ │ └── countBadge.js
│ │ │ ├── findinput
│ │ │ ├── findInput.css
│ │ │ ├── findInput.js
│ │ │ ├── findInputCheckboxes.js
│ │ │ └── replaceInput.js
│ │ │ ├── highlightedlabel
│ │ │ └── highlightedLabel.js
│ │ │ ├── iconLabel
│ │ │ ├── iconLabel.js
│ │ │ └── iconlabel.css
│ │ │ ├── inputbox
│ │ │ ├── inputBox.css
│ │ │ └── inputBox.js
│ │ │ ├── keybindingLabel
│ │ │ ├── keybindingLabel.css
│ │ │ └── keybindingLabel.js
│ │ │ ├── list
│ │ │ ├── list.css
│ │ │ ├── list.js
│ │ │ ├── listPaging.js
│ │ │ ├── listView.js
│ │ │ ├── listWidget.js
│ │ │ ├── rangeMap.js
│ │ │ ├── rowCache.js
│ │ │ └── splice.js
│ │ │ ├── menu
│ │ │ ├── menu.css
│ │ │ └── menu.js
│ │ │ ├── progressbar
│ │ │ ├── progressbar.css
│ │ │ └── progressbar.js
│ │ │ ├── sash
│ │ │ ├── sash.css
│ │ │ └── sash.js
│ │ │ ├── scrollbar
│ │ │ ├── abstractScrollbar.js
│ │ │ ├── horizontalScrollbar.js
│ │ │ ├── media
│ │ │ │ └── scrollbars.css
│ │ │ ├── scrollableElement.js
│ │ │ ├── scrollableElementOptions.js
│ │ │ ├── scrollbarArrow.js
│ │ │ ├── scrollbarState.js
│ │ │ ├── scrollbarVisibilityController.js
│ │ │ └── verticalScrollbar.js
│ │ │ ├── splitview
│ │ │ ├── splitview.css
│ │ │ └── splitview.js
│ │ │ ├── tree
│ │ │ ├── abstractTree.js
│ │ │ ├── asyncDataTree.js
│ │ │ ├── compressedObjectTreeModel.js
│ │ │ ├── dataTree.js
│ │ │ ├── indexTreeModel.js
│ │ │ ├── media
│ │ │ │ └── tree.css
│ │ │ ├── objectTree.js
│ │ │ ├── objectTreeModel.js
│ │ │ └── tree.js
│ │ │ └── widget.js
│ ├── common
│ │ ├── actions.js
│ │ ├── arrays.js
│ │ ├── assert.js
│ │ ├── async.js
│ │ ├── cancellation.js
│ │ ├── charCode.js
│ │ ├── codicons.js
│ │ ├── collections.js
│ │ ├── color.js
│ │ ├── decorators.js
│ │ ├── diff
│ │ │ ├── diff.js
│ │ │ └── diffChange.js
│ │ ├── errors.js
│ │ ├── event.js
│ │ ├── extpath.js
│ │ ├── filters.js
│ │ ├── functional.js
│ │ ├── glob.js
│ │ ├── hash.js
│ │ ├── history.js
│ │ ├── htmlContent.js
│ │ ├── idGenerator.js
│ │ ├── insane
│ │ │ └── insane.js
│ │ ├── iterator.js
│ │ ├── jsonSchema.js
│ │ ├── keyCodes.js
│ │ ├── keybindingLabels.js
│ │ ├── labels.js
│ │ ├── lazy.js
│ │ ├── lifecycle.js
│ │ ├── linkedList.js
│ │ ├── map.js
│ │ ├── marked
│ │ │ └── marked.js
│ │ ├── marshalling.js
│ │ ├── mime.js
│ │ ├── network.js
│ │ ├── numbers.js
│ │ ├── objects.js
│ │ ├── paging.js
│ │ ├── path.js
│ │ ├── platform.js
│ │ ├── process.js
│ │ ├── range.js
│ │ ├── resources.js
│ │ ├── scrollable.js
│ │ ├── search.js
│ │ ├── sequence.js
│ │ ├── severity.js
│ │ ├── stopwatch.js
│ │ ├── strings.js
│ │ ├── styler.js
│ │ ├── types.js
│ │ ├── uint.js
│ │ ├── uri.js
│ │ └── worker
│ │ │ └── simpleWorker.js
│ ├── parts
│ │ ├── quickopen
│ │ │ ├── browser
│ │ │ │ ├── quickOpenModel.js
│ │ │ │ ├── quickOpenViewer.js
│ │ │ │ ├── quickOpenWidget.js
│ │ │ │ └── quickopen.css
│ │ │ └── common
│ │ │ │ └── quickOpen.js
│ │ └── tree
│ │ │ └── browser
│ │ │ ├── tree.css
│ │ │ ├── tree.js
│ │ │ ├── treeDefaults.js
│ │ │ ├── treeDnd.js
│ │ │ ├── treeImpl.js
│ │ │ ├── treeModel.js
│ │ │ ├── treeView.js
│ │ │ └── treeViewModel.js
│ └── worker
│ │ └── defaultWorkerFactory.js
├── basic-languages
│ ├── _.contribution.js
│ ├── abap
│ │ ├── abap.contribution.js
│ │ └── abap.js
│ ├── apex
│ │ ├── apex.contribution.js
│ │ └── apex.js
│ ├── azcli
│ │ ├── azcli.contribution.js
│ │ └── azcli.js
│ ├── bat
│ │ ├── bat.contribution.js
│ │ └── bat.js
│ ├── cameligo
│ │ ├── cameligo.contribution.js
│ │ └── cameligo.js
│ ├── clojure
│ │ ├── clojure.contribution.js
│ │ └── clojure.js
│ ├── coffee
│ │ ├── coffee.contribution.js
│ │ └── coffee.js
│ ├── cpp
│ │ ├── cpp.contribution.js
│ │ └── cpp.js
│ ├── csharp
│ │ ├── csharp.contribution.js
│ │ └── csharp.js
│ ├── csp
│ │ ├── csp.contribution.js
│ │ └── csp.js
│ ├── css
│ │ ├── css.contribution.js
│ │ └── css.js
│ ├── dockerfile
│ │ ├── dockerfile.contribution.js
│ │ └── dockerfile.js
│ ├── fsharp
│ │ ├── fsharp.contribution.js
│ │ └── fsharp.js
│ ├── go
│ │ ├── go.contribution.js
│ │ └── go.js
│ ├── graphql
│ │ ├── graphql.contribution.js
│ │ └── graphql.js
│ ├── handlebars
│ │ ├── handlebars.contribution.js
│ │ └── handlebars.js
│ ├── html
│ │ ├── html.contribution.js
│ │ └── html.js
│ ├── ini
│ │ ├── ini.contribution.js
│ │ └── ini.js
│ ├── java
│ │ ├── java.contribution.js
│ │ └── java.js
│ ├── javascript
│ │ ├── javascript.contribution.js
│ │ └── javascript.js
│ ├── kotlin
│ │ ├── kotlin.contribution.js
│ │ └── kotlin.js
│ ├── less
│ │ ├── less.contribution.js
│ │ └── less.js
│ ├── lua
│ │ ├── lua.contribution.js
│ │ └── lua.js
│ ├── markdown
│ │ ├── markdown.contribution.js
│ │ └── markdown.js
│ ├── mips
│ │ ├── mips.contribution.js
│ │ └── mips.js
│ ├── monaco.contribution.js
│ ├── msdax
│ │ ├── msdax.contribution.js
│ │ └── msdax.js
│ ├── mysql
│ │ ├── mysql.contribution.js
│ │ └── mysql.js
│ ├── objective-c
│ │ ├── objective-c.contribution.js
│ │ └── objective-c.js
│ ├── pascal
│ │ ├── pascal.contribution.js
│ │ └── pascal.js
│ ├── pascaligo
│ │ ├── pascaligo.contribution.js
│ │ └── pascaligo.js
│ ├── perl
│ │ ├── perl.contribution.js
│ │ └── perl.js
│ ├── pgsql
│ │ ├── pgsql.contribution.js
│ │ └── pgsql.js
│ ├── php
│ │ ├── php.contribution.js
│ │ └── php.js
│ ├── postiats
│ │ ├── postiats.contribution.js
│ │ └── postiats.js
│ ├── powerquery
│ │ ├── powerquery.contribution.js
│ │ └── powerquery.js
│ ├── powershell
│ │ ├── powershell.contribution.js
│ │ └── powershell.js
│ ├── pug
│ │ ├── pug.contribution.js
│ │ └── pug.js
│ ├── python
│ │ ├── python.contribution.js
│ │ └── python.js
│ ├── r
│ │ ├── r.contribution.js
│ │ └── r.js
│ ├── razor
│ │ ├── razor.contribution.js
│ │ └── razor.js
│ ├── redis
│ │ ├── redis.contribution.js
│ │ └── redis.js
│ ├── redshift
│ │ ├── redshift.contribution.js
│ │ └── redshift.js
│ ├── restructuredtext
│ │ ├── restructuredtext.contribution.js
│ │ └── restructuredtext.js
│ ├── ruby
│ │ ├── ruby.contribution.js
│ │ └── ruby.js
│ ├── rust
│ │ ├── rust.contribution.js
│ │ └── rust.js
│ ├── sb
│ │ ├── sb.contribution.js
│ │ └── sb.js
│ ├── scheme
│ │ ├── scheme.contribution.js
│ │ └── scheme.js
│ ├── scss
│ │ ├── scss.contribution.js
│ │ └── scss.js
│ ├── shell
│ │ ├── shell.contribution.js
│ │ └── shell.js
│ ├── solidity
│ │ ├── solidity.contribution.js
│ │ └── solidity.js
│ ├── sophia
│ │ ├── sophia.contribution.js
│ │ └── sophia.js
│ ├── sql
│ │ ├── sql.contribution.js
│ │ └── sql.js
│ ├── st
│ │ ├── st.contribution.js
│ │ └── st.js
│ ├── swift
│ │ ├── swift.contribution.js
│ │ └── swift.js
│ ├── tcl
│ │ ├── tcl.contribution.js
│ │ └── tcl.js
│ ├── twig
│ │ ├── twig.contribution.js
│ │ └── twig.js
│ ├── typescript
│ │ ├── typescript.contribution.js
│ │ └── typescript.js
│ ├── vb
│ │ ├── vb.contribution.js
│ │ └── vb.js
│ ├── xml
│ │ ├── xml.contribution.js
│ │ └── xml.js
│ └── yaml
│ │ ├── yaml.contribution.js
│ │ └── yaml.js
├── editor
│ ├── browser
│ │ ├── config
│ │ │ ├── charWidthReader.js
│ │ │ ├── configuration.js
│ │ │ └── elementSizeObserver.js
│ │ ├── controller
│ │ │ ├── coreCommands.js
│ │ │ ├── mouseHandler.js
│ │ │ ├── mouseTarget.js
│ │ │ ├── pointerHandler.js
│ │ │ ├── textAreaHandler.css
│ │ │ ├── textAreaHandler.js
│ │ │ ├── textAreaInput.js
│ │ │ └── textAreaState.js
│ │ ├── core
│ │ │ ├── editorState.js
│ │ │ └── keybindingCancellation.js
│ │ ├── editorBrowser.js
│ │ ├── editorDom.js
│ │ ├── editorExtensions.js
│ │ ├── services
│ │ │ ├── abstractCodeEditorService.js
│ │ │ ├── bulkEditService.js
│ │ │ ├── codeEditorService.js
│ │ │ ├── codeEditorServiceImpl.js
│ │ │ └── openerService.js
│ │ ├── view
│ │ │ ├── domLineBreaksComputer.js
│ │ │ ├── dynamicViewOverlay.js
│ │ │ ├── viewController.js
│ │ │ ├── viewImpl.js
│ │ │ ├── viewLayer.js
│ │ │ ├── viewOutgoingEvents.js
│ │ │ ├── viewOverlays.js
│ │ │ └── viewPart.js
│ │ ├── viewParts
│ │ │ ├── contentWidgets
│ │ │ │ └── contentWidgets.js
│ │ │ ├── currentLineHighlight
│ │ │ │ ├── currentLineHighlight.css
│ │ │ │ └── currentLineHighlight.js
│ │ │ ├── decorations
│ │ │ │ ├── decorations.css
│ │ │ │ └── decorations.js
│ │ │ ├── editorScrollbar
│ │ │ │ └── editorScrollbar.js
│ │ │ ├── glyphMargin
│ │ │ │ ├── glyphMargin.css
│ │ │ │ └── glyphMargin.js
│ │ │ ├── indentGuides
│ │ │ │ ├── indentGuides.css
│ │ │ │ └── indentGuides.js
│ │ │ ├── lineNumbers
│ │ │ │ ├── lineNumbers.css
│ │ │ │ └── lineNumbers.js
│ │ │ ├── lines
│ │ │ │ ├── rangeUtil.js
│ │ │ │ ├── viewLine.js
│ │ │ │ ├── viewLines.css
│ │ │ │ └── viewLines.js
│ │ │ ├── linesDecorations
│ │ │ │ ├── linesDecorations.css
│ │ │ │ └── linesDecorations.js
│ │ │ ├── margin
│ │ │ │ └── margin.js
│ │ │ ├── marginDecorations
│ │ │ │ ├── marginDecorations.css
│ │ │ │ └── marginDecorations.js
│ │ │ ├── minimap
│ │ │ │ ├── minimap.css
│ │ │ │ ├── minimap.js
│ │ │ │ ├── minimapCharRenderer.js
│ │ │ │ ├── minimapCharRendererFactory.js
│ │ │ │ ├── minimapCharSheet.js
│ │ │ │ └── minimapPreBaked.js
│ │ │ ├── overlayWidgets
│ │ │ │ ├── overlayWidgets.css
│ │ │ │ └── overlayWidgets.js
│ │ │ ├── overviewRuler
│ │ │ │ ├── decorationsOverviewRuler.js
│ │ │ │ └── overviewRuler.js
│ │ │ ├── rulers
│ │ │ │ ├── rulers.css
│ │ │ │ └── rulers.js
│ │ │ ├── scrollDecoration
│ │ │ │ ├── scrollDecoration.css
│ │ │ │ └── scrollDecoration.js
│ │ │ ├── selections
│ │ │ │ ├── selections.css
│ │ │ │ └── selections.js
│ │ │ ├── viewCursors
│ │ │ │ ├── viewCursor.js
│ │ │ │ ├── viewCursors.css
│ │ │ │ └── viewCursors.js
│ │ │ └── viewZones
│ │ │ │ └── viewZones.js
│ │ └── widget
│ │ │ ├── codeEditorWidget.js
│ │ │ ├── diffEditorWidget.js
│ │ │ ├── diffNavigator.js
│ │ │ ├── diffReview.js
│ │ │ ├── embeddedCodeEditorWidget.js
│ │ │ ├── inlineDiffMargin.js
│ │ │ └── media
│ │ │ ├── diffEditor.css
│ │ │ ├── diffReview.css
│ │ │ └── editor.css
│ ├── common
│ │ ├── commands
│ │ │ ├── replaceCommand.js
│ │ │ ├── shiftCommand.js
│ │ │ ├── surroundSelectionCommand.js
│ │ │ └── trimTrailingWhitespaceCommand.js
│ │ ├── config
│ │ │ ├── commonEditorConfig.js
│ │ │ ├── editorOptions.js
│ │ │ ├── editorZoom.js
│ │ │ └── fontInfo.js
│ │ ├── controller
│ │ │ ├── cursor.js
│ │ │ ├── cursorCollection.js
│ │ │ ├── cursorColumnSelection.js
│ │ │ ├── cursorCommon.js
│ │ │ ├── cursorDeleteOperations.js
│ │ │ ├── cursorEvents.js
│ │ │ ├── cursorMoveCommands.js
│ │ │ ├── cursorMoveOperations.js
│ │ │ ├── cursorTypeOperations.js
│ │ │ ├── cursorWordOperations.js
│ │ │ ├── oneCursor.js
│ │ │ └── wordCharacterClassifier.js
│ │ ├── core
│ │ │ ├── characterClassifier.js
│ │ │ ├── editOperation.js
│ │ │ ├── lineTokens.js
│ │ │ ├── position.js
│ │ │ ├── range.js
│ │ │ ├── rgba.js
│ │ │ ├── selection.js
│ │ │ ├── stringBuilder.js
│ │ │ └── token.js
│ │ ├── diff
│ │ │ └── diffComputer.js
│ │ ├── editorAction.js
│ │ ├── editorCommon.js
│ │ ├── editorContextKeys.js
│ │ ├── model.js
│ │ ├── model
│ │ │ ├── editStack.js
│ │ │ ├── indentationGuesser.js
│ │ │ ├── intervalTree.js
│ │ │ ├── mirrorTextModel.js
│ │ │ ├── pieceTreeTextBuffer
│ │ │ │ ├── pieceTreeBase.js
│ │ │ │ ├── pieceTreeTextBuffer.js
│ │ │ │ ├── pieceTreeTextBufferBuilder.js
│ │ │ │ └── rbTreeBase.js
│ │ │ ├── textModel.js
│ │ │ ├── textModelEvents.js
│ │ │ ├── textModelSearch.js
│ │ │ ├── textModelTokens.js
│ │ │ ├── tokensStore.js
│ │ │ └── wordHelper.js
│ │ ├── modes.js
│ │ ├── modes
│ │ │ ├── abstractMode.js
│ │ │ ├── languageConfiguration.js
│ │ │ ├── languageConfigurationRegistry.js
│ │ │ ├── languageFeatureRegistry.js
│ │ │ ├── languageSelector.js
│ │ │ ├── linkComputer.js
│ │ │ ├── modesRegistry.js
│ │ │ ├── nullMode.js
│ │ │ ├── supports.js
│ │ │ ├── supports
│ │ │ │ ├── characterPair.js
│ │ │ │ ├── electricCharacter.js
│ │ │ │ ├── indentRules.js
│ │ │ │ ├── inplaceReplaceSupport.js
│ │ │ │ ├── onEnter.js
│ │ │ │ ├── richEditBrackets.js
│ │ │ │ └── tokenization.js
│ │ │ ├── textToHtmlTokenizer.js
│ │ │ └── tokenizationRegistry.js
│ │ ├── services
│ │ │ ├── editorSimpleWorker.js
│ │ │ ├── editorWorkerService.js
│ │ │ ├── editorWorkerServiceImpl.js
│ │ │ ├── getIconClasses.js
│ │ │ ├── languagesRegistry.js
│ │ │ ├── markerDecorationsServiceImpl.js
│ │ │ ├── markersDecorationService.js
│ │ │ ├── modeService.js
│ │ │ ├── modeServiceImpl.js
│ │ │ ├── modelService.js
│ │ │ ├── modelServiceImpl.js
│ │ │ ├── resolverService.js
│ │ │ ├── textResourceConfigurationService.js
│ │ │ └── webWorker.js
│ │ ├── standalone
│ │ │ ├── promise-polyfill
│ │ │ │ └── polyfill.js
│ │ │ ├── standaloneBase.js
│ │ │ └── standaloneEnums.js
│ │ ├── standaloneStrings.js
│ │ ├── view
│ │ │ ├── editorColorRegistry.js
│ │ │ ├── overviewZoneManager.js
│ │ │ ├── renderingContext.js
│ │ │ ├── viewContext.js
│ │ │ ├── viewEventDispatcher.js
│ │ │ └── viewEvents.js
│ │ ├── viewLayout
│ │ │ ├── lineDecorations.js
│ │ │ ├── linesLayout.js
│ │ │ ├── viewLayout.js
│ │ │ ├── viewLineRenderer.js
│ │ │ └── viewLinesViewportData.js
│ │ └── viewModel
│ │ │ ├── minimapTokensColorTracker.js
│ │ │ ├── monospaceLineBreaksComputer.js
│ │ │ ├── prefixSumComputer.js
│ │ │ ├── splitLinesCollection.js
│ │ │ ├── viewEventHandler.js
│ │ │ ├── viewModel.js
│ │ │ ├── viewModelDecorations.js
│ │ │ └── viewModelImpl.js
│ ├── contrib
│ │ ├── bracketMatching
│ │ │ ├── bracketMatching.css
│ │ │ └── bracketMatching.js
│ │ ├── caretOperations
│ │ │ ├── caretOperations.js
│ │ │ ├── moveCaretCommand.js
│ │ │ └── transpose.js
│ │ ├── clipboard
│ │ │ ├── clipboard.css
│ │ │ └── clipboard.js
│ │ ├── codeAction
│ │ │ ├── codeAction.js
│ │ │ ├── codeActionCommands.js
│ │ │ ├── codeActionContributions.js
│ │ │ ├── codeActionMenu.js
│ │ │ ├── codeActionModel.js
│ │ │ ├── codeActionUi.js
│ │ │ ├── lightBulbWidget.css
│ │ │ ├── lightBulbWidget.js
│ │ │ └── types.js
│ │ ├── codelens
│ │ │ ├── codeLensCache.js
│ │ │ ├── codelens.js
│ │ │ ├── codelensController.js
│ │ │ ├── codelensWidget.css
│ │ │ └── codelensWidget.js
│ │ ├── colorPicker
│ │ │ ├── color.js
│ │ │ ├── colorDetector.js
│ │ │ ├── colorPicker.css
│ │ │ ├── colorPickerModel.js
│ │ │ └── colorPickerWidget.js
│ │ ├── comment
│ │ │ ├── blockCommentCommand.js
│ │ │ ├── comment.js
│ │ │ └── lineCommentCommand.js
│ │ ├── contextmenu
│ │ │ └── contextmenu.js
│ │ ├── cursorUndo
│ │ │ └── cursorUndo.js
│ │ ├── dnd
│ │ │ ├── dnd.css
│ │ │ ├── dnd.js
│ │ │ └── dragAndDropCommand.js
│ │ ├── documentSymbols
│ │ │ ├── media
│ │ │ │ ├── outlineTree.css
│ │ │ │ └── symbol-icons.css
│ │ │ ├── outlineModel.js
│ │ │ └── outlineTree.js
│ │ ├── find
│ │ │ ├── findController.js
│ │ │ ├── findDecorations.js
│ │ │ ├── findModel.js
│ │ │ ├── findOptionsWidget.js
│ │ │ ├── findState.js
│ │ │ ├── findWidget.css
│ │ │ ├── findWidget.js
│ │ │ ├── replaceAllCommand.js
│ │ │ └── replacePattern.js
│ │ ├── folding
│ │ │ ├── folding.css
│ │ │ ├── folding.js
│ │ │ ├── foldingDecorations.js
│ │ │ ├── foldingModel.js
│ │ │ ├── foldingRanges.js
│ │ │ ├── hiddenRangeModel.js
│ │ │ ├── indentRangeProvider.js
│ │ │ ├── intializingRangeProvider.js
│ │ │ └── syntaxRangeProvider.js
│ │ ├── fontZoom
│ │ │ └── fontZoom.js
│ │ ├── format
│ │ │ ├── format.js
│ │ │ ├── formatActions.js
│ │ │ └── formattingEdit.js
│ │ ├── gotoError
│ │ │ ├── gotoError.js
│ │ │ ├── gotoErrorWidget.js
│ │ │ └── media
│ │ │ │ └── gotoErrorWidget.css
│ │ ├── gotoSymbol
│ │ │ ├── goToCommands.js
│ │ │ ├── goToSymbol.js
│ │ │ ├── link
│ │ │ │ ├── clickLinkGesture.js
│ │ │ │ ├── goToDefinitionAtPosition.css
│ │ │ │ └── goToDefinitionAtPosition.js
│ │ │ ├── peek
│ │ │ │ ├── referencesController.js
│ │ │ │ ├── referencesTree.js
│ │ │ │ ├── referencesWidget.css
│ │ │ │ └── referencesWidget.js
│ │ │ ├── referencesModel.js
│ │ │ └── symbolNavigation.js
│ │ ├── hover
│ │ │ ├── getHover.js
│ │ │ ├── hover.css
│ │ │ ├── hover.js
│ │ │ ├── hoverOperation.js
│ │ │ ├── hoverWidgets.js
│ │ │ ├── modesContentHover.js
│ │ │ └── modesGlyphHover.js
│ │ ├── inPlaceReplace
│ │ │ ├── inPlaceReplace.js
│ │ │ └── inPlaceReplaceCommand.js
│ │ ├── indentation
│ │ │ └── indentUtils.js
│ │ ├── linesOperations
│ │ │ ├── copyLinesCommand.js
│ │ │ ├── linesOperations.js
│ │ │ ├── moveLinesCommand.js
│ │ │ └── sortLinesCommand.js
│ │ ├── links
│ │ │ ├── getLinks.js
│ │ │ ├── links.css
│ │ │ └── links.js
│ │ ├── markdown
│ │ │ └── markdownRenderer.js
│ │ ├── message
│ │ │ ├── messageController.css
│ │ │ └── messageController.js
│ │ ├── multicursor
│ │ │ └── multicursor.js
│ │ ├── parameterHints
│ │ │ ├── parameterHints.css
│ │ │ ├── parameterHints.js
│ │ │ ├── parameterHintsModel.js
│ │ │ ├── parameterHintsWidget.js
│ │ │ └── provideSignatureHelp.js
│ │ ├── peekView
│ │ │ ├── media
│ │ │ │ └── peekViewWidget.css
│ │ │ └── peekView.js
│ │ ├── quickOpen
│ │ │ └── quickOpen.js
│ │ ├── rename
│ │ │ ├── rename.js
│ │ │ ├── renameInputField.css
│ │ │ └── renameInputField.js
│ │ ├── smartSelect
│ │ │ ├── bracketSelections.js
│ │ │ ├── smartSelect.js
│ │ │ └── wordSelections.js
│ │ ├── snippet
│ │ │ ├── snippetController2.js
│ │ │ ├── snippetParser.js
│ │ │ ├── snippetSession.css
│ │ │ ├── snippetSession.js
│ │ │ └── snippetVariables.js
│ │ ├── suggest
│ │ │ ├── completionModel.js
│ │ │ ├── media
│ │ │ │ ├── suggest.css
│ │ │ │ └── suggestStatusBar.css
│ │ │ ├── suggest.js
│ │ │ ├── suggestAlternatives.js
│ │ │ ├── suggestCommitCharacters.js
│ │ │ ├── suggestController.js
│ │ │ ├── suggestMemory.js
│ │ │ ├── suggestModel.js
│ │ │ ├── suggestRangeHighlighter.js
│ │ │ ├── suggestWidget.js
│ │ │ ├── wordContextKey.js
│ │ │ └── wordDistance.js
│ │ ├── toggleTabFocusMode
│ │ │ └── toggleTabFocusMode.js
│ │ ├── tokenization
│ │ │ └── tokenization.js
│ │ ├── wordHighlighter
│ │ │ └── wordHighlighter.js
│ │ ├── wordOperations
│ │ │ └── wordOperations.js
│ │ ├── wordPartOperations
│ │ │ └── wordPartOperations.js
│ │ └── zoneWidget
│ │ │ ├── zoneWidget.css
│ │ │ └── zoneWidget.js
│ ├── edcore.main.js
│ ├── editor.all.js
│ ├── editor.api.d.ts
│ ├── editor.api.js
│ ├── editor.main.js
│ ├── editor.worker.js
│ └── standalone
│ │ ├── browser
│ │ ├── accessibilityHelp
│ │ │ ├── accessibilityHelp.css
│ │ │ └── accessibilityHelp.js
│ │ ├── colorizer.js
│ │ ├── iPadShowKeyboard
│ │ │ ├── iPadShowKeyboard.css
│ │ │ └── iPadShowKeyboard.js
│ │ ├── inspectTokens
│ │ │ ├── inspectTokens.css
│ │ │ └── inspectTokens.js
│ │ ├── quickOpen
│ │ │ ├── editorQuickOpen.css
│ │ │ ├── editorQuickOpen.js
│ │ │ ├── gotoLine.css
│ │ │ ├── gotoLine.js
│ │ │ ├── quickCommand.js
│ │ │ ├── quickOpenEditorWidget.js
│ │ │ ├── quickOutline.css
│ │ │ └── quickOutline.js
│ │ ├── referenceSearch
│ │ │ └── standaloneReferenceSearch.js
│ │ ├── simpleServices.js
│ │ ├── standalone-tokens.css
│ │ ├── standaloneCodeEditor.js
│ │ ├── standaloneCodeServiceImpl.js
│ │ ├── standaloneEditor.js
│ │ ├── standaloneLanguages.js
│ │ ├── standaloneServices.js
│ │ ├── standaloneThemeServiceImpl.js
│ │ └── toggleHighContrast
│ │ │ └── toggleHighContrast.js
│ │ └── common
│ │ ├── monarch
│ │ ├── monarchCommon.js
│ │ ├── monarchCompile.js
│ │ ├── monarchLexer.js
│ │ └── monarchTypes.js
│ │ ├── standaloneThemeService.js
│ │ └── themes.js
├── language
│ ├── css
│ │ ├── _deps
│ │ │ ├── vscode-css-languageservice
│ │ │ │ ├── _deps
│ │ │ │ │ └── vscode-languageserver-textdocument
│ │ │ │ │ │ └── lib
│ │ │ │ │ │ └── esm
│ │ │ │ │ │ └── main.js
│ │ │ │ ├── cssLanguageService.js
│ │ │ │ ├── cssLanguageTypes.js
│ │ │ │ ├── data
│ │ │ │ │ └── webCustomData.js
│ │ │ │ ├── languageFacts
│ │ │ │ │ ├── builtinData.js
│ │ │ │ │ ├── colors.js
│ │ │ │ │ ├── dataManager.js
│ │ │ │ │ ├── dataProvider.js
│ │ │ │ │ ├── entry.js
│ │ │ │ │ └── facts.js
│ │ │ │ ├── parser
│ │ │ │ │ ├── cssErrors.js
│ │ │ │ │ ├── cssNodes.js
│ │ │ │ │ ├── cssParser.js
│ │ │ │ │ ├── cssScanner.js
│ │ │ │ │ ├── cssSymbolScope.js
│ │ │ │ │ ├── lessParser.js
│ │ │ │ │ ├── lessScanner.js
│ │ │ │ │ ├── scssErrors.js
│ │ │ │ │ ├── scssParser.js
│ │ │ │ │ └── scssScanner.js
│ │ │ │ ├── services
│ │ │ │ │ ├── cssCodeActions.js
│ │ │ │ │ ├── cssCompletion.js
│ │ │ │ │ ├── cssFolding.js
│ │ │ │ │ ├── cssHover.js
│ │ │ │ │ ├── cssNavigation.js
│ │ │ │ │ ├── cssSelectionRange.js
│ │ │ │ │ ├── cssValidation.js
│ │ │ │ │ ├── lessCompletion.js
│ │ │ │ │ ├── lint.js
│ │ │ │ │ ├── lintRules.js
│ │ │ │ │ ├── lintUtil.js
│ │ │ │ │ ├── scssCompletion.js
│ │ │ │ │ ├── scssNavigation.js
│ │ │ │ │ └── selectorPrinting.js
│ │ │ │ └── utils
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── objects.js
│ │ │ │ │ └── strings.js
│ │ │ ├── vscode-languageserver-types
│ │ │ │ └── main.js
│ │ │ └── vscode-uri
│ │ │ │ └── index.js
│ │ ├── css.worker.js
│ │ ├── cssMode.js
│ │ ├── cssWorker.js
│ │ ├── fillers
│ │ │ └── vscode-nls.js
│ │ ├── languageFeatures.js
│ │ ├── monaco.contribution.js
│ │ └── workerManager.js
│ ├── html
│ │ ├── _deps
│ │ │ ├── vscode-html-languageservice
│ │ │ │ ├── _deps
│ │ │ │ │ └── vscode-languageserver-types
│ │ │ │ │ │ └── main.js
│ │ │ │ ├── beautify
│ │ │ │ │ ├── beautify-css.js
│ │ │ │ │ ├── beautify-html.js
│ │ │ │ │ └── beautify.js
│ │ │ │ ├── htmlLanguageService.js
│ │ │ │ ├── htmlLanguageTypes.js
│ │ │ │ ├── languageFacts
│ │ │ │ │ ├── builtinDataProviders.js
│ │ │ │ │ ├── data
│ │ │ │ │ │ └── webCustomData.js
│ │ │ │ │ ├── dataProvider.js
│ │ │ │ │ └── fact.js
│ │ │ │ ├── parser
│ │ │ │ │ ├── htmlEntities.js
│ │ │ │ │ ├── htmlParser.js
│ │ │ │ │ └── htmlScanner.js
│ │ │ │ ├── services
│ │ │ │ │ ├── htmlCompletion.js
│ │ │ │ │ ├── htmlFolding.js
│ │ │ │ │ ├── htmlFormatter.js
│ │ │ │ │ ├── htmlHighlighting.js
│ │ │ │ │ ├── htmlHover.js
│ │ │ │ │ ├── htmlLinks.js
│ │ │ │ │ ├── htmlMatchingTagPosition.js
│ │ │ │ │ ├── htmlRename.js
│ │ │ │ │ ├── htmlSelectionRange.js
│ │ │ │ │ └── htmlSymbolsProvider.js
│ │ │ │ └── utils
│ │ │ │ │ ├── arrays.js
│ │ │ │ │ ├── markup.js
│ │ │ │ │ ├── object.js
│ │ │ │ │ └── strings.js
│ │ │ ├── vscode-languageserver-textdocument
│ │ │ │ └── lib
│ │ │ │ │ └── esm
│ │ │ │ │ └── main.js
│ │ │ └── vscode-uri
│ │ │ │ └── index.js
│ │ ├── fillers
│ │ │ ├── polyfills.js
│ │ │ └── vscode-nls.js
│ │ ├── html.worker.js
│ │ ├── htmlMode.js
│ │ ├── htmlWorker.js
│ │ ├── languageFeatures.js
│ │ ├── monaco.contribution.js
│ │ └── workerManager.js
│ ├── json
│ │ ├── _deps
│ │ │ ├── jsonc-parser
│ │ │ │ ├── impl
│ │ │ │ │ ├── edit.js
│ │ │ │ │ ├── format.js
│ │ │ │ │ ├── parser.js
│ │ │ │ │ └── scanner.js
│ │ │ │ └── main.js
│ │ │ ├── vscode-json-languageservice
│ │ │ │ ├── jsonLanguageService.js
│ │ │ │ ├── jsonLanguageTypes.js
│ │ │ │ ├── parser
│ │ │ │ │ └── jsonParser.js
│ │ │ │ ├── services
│ │ │ │ │ ├── configuration.js
│ │ │ │ │ ├── jsonCompletion.js
│ │ │ │ │ ├── jsonDocumentSymbols.js
│ │ │ │ │ ├── jsonFolding.js
│ │ │ │ │ ├── jsonHover.js
│ │ │ │ │ ├── jsonSchemaService.js
│ │ │ │ │ ├── jsonSelectionRanges.js
│ │ │ │ │ └── jsonValidation.js
│ │ │ │ └── utils
│ │ │ │ │ ├── colors.js
│ │ │ │ │ ├── json.js
│ │ │ │ │ ├── objects.js
│ │ │ │ │ └── strings.js
│ │ │ ├── vscode-languageserver-textdocument
│ │ │ │ └── lib
│ │ │ │ │ └── esm
│ │ │ │ │ └── main.js
│ │ │ ├── vscode-languageserver-types
│ │ │ │ └── main.js
│ │ │ └── vscode-uri
│ │ │ │ └── index.js
│ │ ├── fillers
│ │ │ └── vscode-nls.js
│ │ ├── json.worker.js
│ │ ├── jsonMode.js
│ │ ├── jsonWorker.js
│ │ ├── languageFeatures.js
│ │ ├── monaco.contribution.js
│ │ ├── tokenization.js
│ │ └── workerManager.js
│ └── typescript
│ │ ├── languageFeatures.js
│ │ ├── lib
│ │ ├── lib.js
│ │ ├── typescriptServices.js
│ │ └── typescriptServicesMetadata.js
│ │ ├── monaco.contribution.js
│ │ ├── ts.worker.js
│ │ ├── tsMode.js
│ │ ├── tsWorker.js
│ │ └── workerManager.js
├── nls.js
└── platform
│ ├── accessibility
│ └── common
│ │ ├── accessibility.js
│ │ └── accessibilityService.js
│ ├── actions
│ └── common
│ │ ├── actions.js
│ │ └── menuService.js
│ ├── browser
│ └── contextScopedHistoryWidget.js
│ ├── clipboard
│ └── common
│ │ └── clipboardService.js
│ ├── commands
│ └── common
│ │ └── commands.js
│ ├── configuration
│ └── common
│ │ ├── configuration.js
│ │ ├── configurationModels.js
│ │ └── configurationRegistry.js
│ ├── contextkey
│ ├── browser
│ │ └── contextKeyService.js
│ └── common
│ │ ├── contextkey.js
│ │ └── contextkeys.js
│ ├── contextview
│ └── browser
│ │ ├── contextMenuHandler.css
│ │ ├── contextMenuHandler.js
│ │ ├── contextMenuService.js
│ │ ├── contextView.js
│ │ └── contextViewService.js
│ ├── dialogs
│ └── common
│ │ └── dialogs.js
│ ├── editor
│ └── common
│ │ └── editor.js
│ ├── environment
│ └── common
│ │ └── environment.js
│ ├── extensions
│ └── common
│ │ └── extensions.js
│ ├── files
│ └── common
│ │ └── files.js
│ ├── instantiation
│ └── common
│ │ ├── descriptors.js
│ │ ├── extensions.js
│ │ ├── graph.js
│ │ ├── instantiation.js
│ │ ├── instantiationService.js
│ │ └── serviceCollection.js
│ ├── jsonschemas
│ └── common
│ │ └── jsonContributionRegistry.js
│ ├── keybinding
│ └── common
│ │ ├── abstractKeybindingService.js
│ │ ├── baseResolvedKeybinding.js
│ │ ├── keybinding.js
│ │ ├── keybindingResolver.js
│ │ ├── keybindingsRegistry.js
│ │ ├── resolvedKeybindingItem.js
│ │ └── usLayoutResolvedKeybinding.js
│ ├── label
│ └── common
│ │ └── label.js
│ ├── layout
│ └── browser
│ │ └── layoutService.js
│ ├── list
│ └── browser
│ │ └── listService.js
│ ├── log
│ └── common
│ │ └── log.js
│ ├── markers
│ └── common
│ │ ├── markerService.js
│ │ └── markers.js
│ ├── notification
│ └── common
│ │ └── notification.js
│ ├── opener
│ └── common
│ │ └── opener.js
│ ├── progress
│ └── common
│ │ └── progress.js
│ ├── registry
│ └── common
│ │ └── platform.js
│ ├── severityIcon
│ └── common
│ │ └── severityIcon.js
│ ├── storage
│ └── common
│ │ └── storage.js
│ ├── telemetry
│ └── common
│ │ ├── gdprTypings.js
│ │ └── telemetry.js
│ ├── theme
│ └── common
│ │ ├── colorRegistry.js
│ │ ├── styler.js
│ │ └── themeService.js
│ ├── workspace
│ └── common
│ │ └── workspace.js
│ └── workspaces
│ └── common
│ └── workspaces.js
├── prettier-babel.js
└── prettier.js
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lukejacksonn/monacode/9fa32db5571d2f3c20802cb87444a2e6e63d1be5/.npmignore
--------------------------------------------------------------------------------
/CNAME:
--------------------------------------------------------------------------------
1 | monacode.live
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2020 - present Luke Jackson
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Monacode
7 |
42 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "description": "A thin es-module wrapper around the monaco editor and prettier",
3 | "license": "MIT",
4 | "main": "./index.min.js",
5 | "module": "./index.min.js",
6 | "name": "monacode",
7 | "scripts": {
8 | "build": "esbuild --bundle index.js --outfile=index.min.js --format=esm --minify",
9 | "start": "servor --browse --reload --editor",
10 | "prepublish": "npm run build"
11 | },
12 | "version": "0.3.1",
13 | "devDependencies": {
14 | "esbuild": "0.6.12",
15 | "servor": "4.0.2"
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/codicon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lukejacksonn/monacode/9fa32db5571d2f3c20802cb87444a2e6e63d1be5/src/codicon.ttf
--------------------------------------------------------------------------------
/src/monaco/base/browser/contextmenu.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var __extends = (this && this.__extends) || (function () {
6 | var extendStatics = function (d, b) {
7 | extendStatics = Object.setPrototypeOf ||
8 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10 | return extendStatics(d, b);
11 | };
12 | return function (d, b) {
13 | extendStatics(d, b);
14 | function __() { this.constructor = d; }
15 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16 | };
17 | })();
18 | import { SubmenuAction } from './ui/menu/menu.js';
19 | var ContextSubMenu = /** @class */ (function (_super) {
20 | __extends(ContextSubMenu, _super);
21 | function ContextSubMenu(label, entries) {
22 | var _this = _super.call(this, label, entries, 'contextsubmenu') || this;
23 | _this.entries = entries;
24 | return _this;
25 | }
26 | return ContextSubMenu;
27 | }(SubmenuAction));
28 | export { ContextSubMenu };
29 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/dnd.js:
--------------------------------------------------------------------------------
1 | // Common data transfers
2 | export var DataTransfers = {
3 | /**
4 | * Application specific resource transfer type
5 | */
6 | RESOURCES: 'ResourceURLs',
7 | /**
8 | * Browser specific transfer type to download
9 | */
10 | DOWNLOAD_URL: 'DownloadURL',
11 | /**
12 | * Browser specific transfer type for files
13 | */
14 | FILES: 'Files',
15 | /**
16 | * Typically transfer type for copy/paste transfers.
17 | */
18 | TEXT: 'text/plain'
19 | };
20 | var DragAndDropData = /** @class */ (function () {
21 | function DragAndDropData(data) {
22 | this.data = data;
23 | }
24 | DragAndDropData.prototype.update = function () {
25 | // noop
26 | };
27 | DragAndDropData.prototype.getData = function () {
28 | return this.data;
29 | };
30 | return DragAndDropData;
31 | }());
32 | export { DragAndDropData };
33 | export var StaticDND = {
34 | CurrentDragAndDropData: undefined
35 | };
36 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/event.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | import { Event as BaseEvent, Emitter } from '../common/event.js';
6 | export var domEvent = function (element, type, useCapture) {
7 | var fn = function (e) { return emitter.fire(e); };
8 | var emitter = new Emitter({
9 | onFirstListenerAdd: function () {
10 | element.addEventListener(type, fn, useCapture);
11 | },
12 | onLastListenerRemove: function () {
13 | element.removeEventListener(type, fn, useCapture);
14 | }
15 | });
16 | return emitter.event;
17 | };
18 | export function stop(event) {
19 | return BaseEvent.map(event, function (e) {
20 | e.preventDefault();
21 | e.stopPropagation();
22 | return e;
23 | });
24 | }
25 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/history.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/aria/aria.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-aria-container {
7 | position: absolute; /* try to hide from window but not from screen readers */
8 | left:-999em;
9 | }
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/checkbox/checkbox.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-custom-checkbox {
7 | margin-left: 2px;
8 | float: left;
9 | cursor: pointer;
10 | overflow: hidden;
11 | opacity: 0.7;
12 | width: 20px;
13 | height: 20px;
14 | border: 1px solid transparent;
15 | padding: 1px;
16 | box-sizing: border-box;
17 | user-select: none;
18 | -webkit-user-select: none;
19 | -ms-user-select: none;
20 | }
21 |
22 | .monaco-custom-checkbox:hover,
23 | .monaco-custom-checkbox.checked {
24 | opacity: 1;
25 | }
26 |
27 | .hc-black .monaco-custom-checkbox {
28 | background: none;
29 | }
30 |
31 | .hc-black .monaco-custom-checkbox:hover {
32 | background: none;
33 | }
34 |
35 | .monaco-custom-checkbox.monaco-simple-checkbox {
36 | height: 18px;
37 | width: 18px;
38 | border: 1px solid transparent;
39 | border-radius: 3px;
40 | margin-right: 9px;
41 | margin-left: 0px;
42 | padding: 0px;
43 | opacity: 1;
44 | background-size: 16px !important;
45 | }
46 |
47 | /* hide check when unchecked */
48 | .monaco-custom-checkbox.monaco-simple-checkbox.unchecked:not(.checked)::before {
49 | visibility: hidden;;
50 | }
51 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/codiconLabel/codicon/codicon-animations.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | @keyframes codicon-spin {
7 | 100% {
8 | transform:rotate(360deg);
9 | }
10 | }
11 |
12 | .codicon-animation-spin {
13 | animation: codicon-spin 1.5s linear infinite;
14 | }
15 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/codiconLabel/codicon/codicon.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lukejacksonn/monacode/9fa32db5571d2f3c20802cb87444a2e6e63d1be5/src/monaco/base/browser/ui/codiconLabel/codicon/codicon.ttf
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/codiconLabel/codiconLabel.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | // import './codicon/codicon.css';
6 | // import './codicon/codicon-animations.css';
7 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/contextview/contextview.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .context-view {
7 | position: absolute;
8 | z-index: 2500;
9 | }
10 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/countBadge/countBadge.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-count-badge {
7 | padding: 3px 5px;
8 | border-radius: 11px;
9 | font-size: 11px;
10 | min-width: 18px;
11 | min-height: 18px;
12 | line-height: 11px;
13 | font-weight: normal;
14 | text-align: center;
15 | display: inline-block;
16 | box-sizing: border-box;
17 | }
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/keybindingLabel/keybindingLabel.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-keybinding {
7 | display: flex;
8 | align-items: center;
9 | line-height: 10px;
10 | }
11 |
12 | .monaco-keybinding > .monaco-keybinding-key {
13 | display: inline-block;
14 | border: solid 1px rgba(204, 204, 204, 0.4);
15 | border-bottom-color: rgba(187, 187, 187, 0.4);
16 | border-radius: 3px;
17 | box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);
18 | background-color: rgba(221, 221, 221, 0.4);
19 | vertical-align: middle;
20 | color: #555;
21 | font-size: 11px;
22 | padding: 3px 5px;
23 | margin: 0 2px;
24 | }
25 |
26 | .monaco-keybinding > .monaco-keybinding-key:first-child {
27 | margin-left: 0;
28 | }
29 |
30 | .monaco-keybinding > .monaco-keybinding-key:last-child {
31 | margin-right: 0;
32 | }
33 |
34 | .hc-black .monaco-keybinding > .monaco-keybinding-key,
35 | .vs-dark .monaco-keybinding > .monaco-keybinding-key {
36 | background-color: rgba(128, 128, 128, 0.17);
37 | color: #ccc;
38 | border: solid 1px rgba(51, 51, 51, 0.6);
39 | border-bottom-color: rgba(68, 68, 68, 0.6);
40 | box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);
41 | }
42 |
43 | .monaco-keybinding > .monaco-keybinding-key-separator {
44 | display: inline-block;
45 | }
46 |
47 | .monaco-keybinding > .monaco-keybinding-key-chord-separator {
48 | width: 6px;
49 | }
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/list/list.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var __extends = (this && this.__extends) || (function () {
6 | var extendStatics = function (d, b) {
7 | extendStatics = Object.setPrototypeOf ||
8 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10 | return extendStatics(d, b);
11 | };
12 | return function (d, b) {
13 | extendStatics(d, b);
14 | function __() { this.constructor = d; }
15 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16 | };
17 | })();
18 | export var ListAriaRootRole;
19 | (function (ListAriaRootRole) {
20 | /** default tree structure role */
21 | ListAriaRootRole["TREE"] = "tree";
22 | /** role='tree' can interfere with screenreaders reading nested elements inside the tree row. Use FORM in that case. */
23 | ListAriaRootRole["FORM"] = "form";
24 | })(ListAriaRootRole || (ListAriaRootRole = {}));
25 | var ListError = /** @class */ (function (_super) {
26 | __extends(ListError, _super);
27 | function ListError(user, message) {
28 | return _super.call(this, "ListError [" + user + "] " + message) || this;
29 | }
30 | return ListError;
31 | }(Error));
32 | export { ListError };
33 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/list/splice.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var CombinedSpliceable = /** @class */ (function () {
6 | function CombinedSpliceable(spliceables) {
7 | this.spliceables = spliceables;
8 | }
9 | CombinedSpliceable.prototype.splice = function (start, deleteCount, elements) {
10 | this.spliceables.forEach(function (s) { return s.splice(start, deleteCount, elements); });
11 | };
12 | return CombinedSpliceable;
13 | }());
14 | export { CombinedSpliceable };
15 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/progressbar/progressbar.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-progress-container {
7 | width: 100%;
8 | height: 5px;
9 | overflow: hidden; /* keep progress bit in bounds */
10 | }
11 |
12 | .monaco-progress-container .progress-bit {
13 | width: 2%;
14 | height: 5px;
15 | position: absolute;
16 | left: 0;
17 | display: none;
18 | }
19 |
20 | .monaco-progress-container.active .progress-bit {
21 | display: inherit;
22 | }
23 |
24 | .monaco-progress-container.discrete .progress-bit {
25 | left: 0;
26 | transition: width 100ms linear;
27 | }
28 |
29 | .monaco-progress-container.discrete.done .progress-bit {
30 | width: 100%;
31 | }
32 |
33 | .monaco-progress-container.infinite .progress-bit {
34 | animation-name: progress;
35 | animation-duration: 4s;
36 | animation-iteration-count: infinite;
37 | animation-timing-function: linear;
38 | transform: translate3d(0px, 0px, 0px);
39 | }
40 |
41 | /**
42 | * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of
43 | * that container. Since translateX is relative to the progress bit size, we have to multiple it with
44 | * its relative size to the parent container:
45 | * 50%: 50 * 50 = 2500%
46 | * 100%: 50 * 100 - 50 (do not overflow): 4950%
47 | */
48 | @keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4950%) scaleX(1) } }
49 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/scrollbar/scrollableElementOptions.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/tree/dataTree.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var __extends = (this && this.__extends) || (function () {
6 | var extendStatics = function (d, b) {
7 | extendStatics = Object.setPrototypeOf ||
8 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10 | return extendStatics(d, b);
11 | };
12 | return function (d, b) {
13 | extendStatics(d, b);
14 | function __() { this.constructor = d; }
15 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16 | };
17 | })();
18 | import { AbstractTree } from './abstractTree.js';
19 | import { ObjectTreeModel } from './objectTreeModel.js';
20 | var DataTree = /** @class */ (function (_super) {
21 | __extends(DataTree, _super);
22 | function DataTree(user, container, delegate, renderers, dataSource, options) {
23 | if (options === void 0) { options = {}; }
24 | var _this = _super.call(this, user, container, delegate, renderers, options) || this;
25 | _this.user = user;
26 | _this.dataSource = dataSource;
27 | _this.identityProvider = options.identityProvider;
28 | return _this;
29 | }
30 | DataTree.prototype.createModel = function (user, view, options) {
31 | return new ObjectTreeModel(user, view, options);
32 | };
33 | return DataTree;
34 | }(AbstractTree));
35 | export { DataTree };
36 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/tree/media/tree.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
6 | .monaco-tl-row {
7 | display: flex;
8 | height: 100%;
9 | align-items: center;
10 | position: relative;
11 | }
12 |
13 | .monaco-tl-indent {
14 | height: 100%;
15 | position: absolute;
16 | top: 0;
17 | left: 16px;
18 | pointer-events: none;
19 | }
20 |
21 | .hide-arrows .monaco-tl-indent {
22 | left: 12px;
23 | }
24 |
25 | .monaco-tl-indent > .indent-guide {
26 | display: inline-block;
27 | box-sizing: border-box;
28 | height: 100%;
29 | border-left: 1px solid transparent;
30 | }
31 |
32 | .monaco-tl-indent > .indent-guide {
33 | transition: border-color 0.1s linear;
34 | }
35 |
36 | .monaco-tl-twistie,
37 | .monaco-tl-contents {
38 | height: 100%;
39 | }
40 |
41 | .monaco-tl-twistie {
42 | font-size: 10px;
43 | text-align: right;
44 | padding-right: 6px;
45 | flex-shrink: 0;
46 | width: 16px;
47 | display: flex !important;
48 | align-items: center;
49 | justify-content: center;
50 | color: inherit !important;
51 | transform: translateX(3px);
52 | }
53 |
54 | .monaco-tl-contents {
55 | flex: 1;
56 | overflow: hidden;
57 | }
58 |
59 | .monaco-tl-twistie.collapsed::before {
60 | transform: rotate(-90deg);
61 | }
62 |
63 | .monaco-tl-twistie.codicon-loading::before {
64 | animation: codicon-spin 1.25s linear infinite;
65 | }
66 |
--------------------------------------------------------------------------------
/src/monaco/base/browser/ui/tree/tree.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var __extends = (this && this.__extends) || (function () {
6 | var extendStatics = function (d, b) {
7 | extendStatics = Object.setPrototypeOf ||
8 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
9 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
10 | return extendStatics(d, b);
11 | };
12 | return function (d, b) {
13 | extendStatics(d, b);
14 | function __() { this.constructor = d; }
15 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16 | };
17 | })();
18 | var TreeError = /** @class */ (function (_super) {
19 | __extends(TreeError, _super);
20 | function TreeError(user, message) {
21 | return _super.call(this, "TreeError [" + user + "] " + message) || this;
22 | }
23 | return TreeError;
24 | }(Error));
25 | export { TreeError };
26 | var WeakMapper = /** @class */ (function () {
27 | function WeakMapper(fn) {
28 | this.fn = fn;
29 | this._map = new WeakMap();
30 | }
31 | WeakMapper.prototype.map = function (key) {
32 | var result = this._map.get(key);
33 | if (!result) {
34 | result = this.fn(key);
35 | this._map.set(key, result);
36 | }
37 | return result;
38 | };
39 | return WeakMapper;
40 | }());
41 | export { WeakMapper };
42 |
--------------------------------------------------------------------------------
/src/monaco/base/common/assert.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | /**
6 | * Throws an error with the provided message if the provided value does not evaluate to a true Javascript value.
7 | */
8 | export function ok(value, message) {
9 | if (!value) {
10 | throw new Error(message ? 'Assertion failed (' + message + ')' : 'Assertion Failed');
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/monaco/base/common/charCode.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/common/codicons.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var escapeCodiconsRegex = /(\\)?\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;
6 | export function escapeCodicons(text) {
7 | return text.replace(escapeCodiconsRegex, function (match, escaped) { return escaped ? match : "\\" + match; });
8 | }
9 | var markdownEscapedCodiconsRegex = /\\\$\([a-z0-9\-]+?(?:~[a-z0-9\-]*?)?\)/gi;
10 | export function markdownEscapeEscapedCodicons(text) {
11 | // Need to add an extra \ for escaping in markdown
12 | return text.replace(markdownEscapedCodiconsRegex, function (match) { return "\\" + match; });
13 | }
14 | var renderCodiconsRegex = /(\\)?\$\((([a-z0-9\-]+?)(?:~([a-z0-9\-]*?))?)\)/gi;
15 | export function renderCodicons(text) {
16 | return text.replace(renderCodiconsRegex, function (_, escaped, codicon, name, animation) {
17 | return escaped
18 | ? "$(" + codicon + ")"
19 | : "";
20 | });
21 | }
22 |
--------------------------------------------------------------------------------
/src/monaco/base/common/diff/diffChange.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | /**
6 | * Represents information about a specific difference between two sequences.
7 | */
8 | var DiffChange = /** @class */ (function () {
9 | /**
10 | * Constructs a new DiffChange with the given sequence information
11 | * and content.
12 | */
13 | function DiffChange(originalStart, originalLength, modifiedStart, modifiedLength) {
14 | //Debug.Assert(originalLength > 0 || modifiedLength > 0, "originalLength and modifiedLength cannot both be <= 0");
15 | this.originalStart = originalStart;
16 | this.originalLength = originalLength;
17 | this.modifiedStart = modifiedStart;
18 | this.modifiedLength = modifiedLength;
19 | }
20 | /**
21 | * The end point (exclusive) of the change in the original sequence.
22 | */
23 | DiffChange.prototype.getOriginalEnd = function () {
24 | return this.originalStart + this.originalLength;
25 | };
26 | /**
27 | * The end point (exclusive) of the change in the modified sequence.
28 | */
29 | DiffChange.prototype.getModifiedEnd = function () {
30 | return this.modifiedStart + this.modifiedLength;
31 | };
32 | return DiffChange;
33 | }());
34 | export { DiffChange };
35 |
--------------------------------------------------------------------------------
/src/monaco/base/common/extpath.js:
--------------------------------------------------------------------------------
1 | import { startsWithIgnoreCase } from './strings.js';
2 | import { sep, posix } from './path.js';
3 | /**
4 | * Takes a Windows OS path and changes backward slashes to forward slashes.
5 | * This should only be done for OS paths from Windows (or user provided paths potentially from Windows).
6 | * Using it on a Linux or MaxOS path might change it.
7 | */
8 | export function toSlashes(osPath) {
9 | return osPath.replace(/[\\/]/g, posix.sep);
10 | }
11 | export function isEqualOrParent(path, candidate, ignoreCase, separator) {
12 | if (separator === void 0) { separator = sep; }
13 | if (path === candidate) {
14 | return true;
15 | }
16 | if (!path || !candidate) {
17 | return false;
18 | }
19 | if (candidate.length > path.length) {
20 | return false;
21 | }
22 | if (ignoreCase) {
23 | var beginsWith = startsWithIgnoreCase(path, candidate);
24 | if (!beginsWith) {
25 | return false;
26 | }
27 | if (candidate.length === path.length) {
28 | return true; // same path, different casing
29 | }
30 | var sepOffset = candidate.length;
31 | if (candidate.charAt(candidate.length - 1) === separator) {
32 | sepOffset--; // adjust the expected sep offset in case our candidate already ends in separator character
33 | }
34 | return path.charAt(sepOffset) === separator;
35 | }
36 | if (candidate.charAt(candidate.length - 1) !== separator) {
37 | candidate += separator;
38 | }
39 | return path.indexOf(candidate) === 0;
40 | }
41 | export function isWindowsDriveLetter(char0) {
42 | return char0 >= 65 /* A */ && char0 <= 90 /* Z */ || char0 >= 97 /* a */ && char0 <= 122 /* z */;
43 | }
44 |
--------------------------------------------------------------------------------
/src/monaco/base/common/functional.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | export function once(fn) {
6 | var _this = this;
7 | var didCall = false;
8 | var result;
9 | return function () {
10 | if (didCall) {
11 | return result;
12 | }
13 | didCall = true;
14 | result = fn.apply(_this, arguments);
15 | return result;
16 | };
17 | }
18 |
--------------------------------------------------------------------------------
/src/monaco/base/common/idGenerator.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var IdGenerator = /** @class */ (function () {
6 | function IdGenerator(prefix) {
7 | this._prefix = prefix;
8 | this._lastId = 0;
9 | }
10 | IdGenerator.prototype.nextId = function () {
11 | return this._prefix + (++this._lastId);
12 | };
13 | return IdGenerator;
14 | }());
15 | export { IdGenerator };
16 | export var defaultGenerator = new IdGenerator('id#');
17 |
--------------------------------------------------------------------------------
/src/monaco/base/common/jsonSchema.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/common/lazy.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | var Lazy = /** @class */ (function () {
6 | function Lazy(executor) {
7 | this.executor = executor;
8 | this._didRun = false;
9 | }
10 | /**
11 | * Get the wrapped value.
12 | *
13 | * This will force evaluation of the lazy value if it has not been resolved yet. Lazy values are only
14 | * resolved once. `getValue` will re-throw exceptions that are hit while resolving the value
15 | */
16 | Lazy.prototype.getValue = function () {
17 | if (!this._didRun) {
18 | try {
19 | this._value = this.executor();
20 | }
21 | catch (err) {
22 | this._error = err;
23 | }
24 | finally {
25 | this._didRun = true;
26 | }
27 | }
28 | if (this._error) {
29 | throw this._error;
30 | }
31 | return this._value;
32 | };
33 | Object.defineProperty(Lazy.prototype, "rawValue", {
34 | /**
35 | * Get the wrapped value without forcing evaluation.
36 | */
37 | get: function () { return this._value; },
38 | enumerable: true,
39 | configurable: true
40 | });
41 | return Lazy;
42 | }());
43 | export { Lazy };
44 |
--------------------------------------------------------------------------------
/src/monaco/base/common/marshalling.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | import { URI } from './uri.js';
6 | export function parse(text) {
7 | var data = JSON.parse(text);
8 | data = revive(data);
9 | return data;
10 | }
11 | export function revive(obj, depth) {
12 | if (depth === void 0) { depth = 0; }
13 | if (!obj || depth > 200) {
14 | return obj;
15 | }
16 | if (typeof obj === 'object') {
17 | switch (obj.$mid) {
18 | case 1: return URI.revive(obj);
19 | case 2: return new RegExp(obj.source, obj.flags);
20 | }
21 | // walk object (or array)
22 | for (var key in obj) {
23 | if (Object.hasOwnProperty.call(obj, key)) {
24 | obj[key] = revive(obj[key], depth + 1);
25 | }
26 | }
27 | }
28 | return obj;
29 | }
30 |
--------------------------------------------------------------------------------
/src/monaco/base/common/numbers.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | export function clamp(value, min, max) {
6 | return Math.min(Math.max(value, min), max);
7 | }
8 |
--------------------------------------------------------------------------------
/src/monaco/base/common/paging.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lukejacksonn/monacode/9fa32db5571d2f3c20802cb87444a2e6e63d1be5/src/monaco/base/common/paging.js
--------------------------------------------------------------------------------
/src/monaco/base/common/process.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | import { isWindows, isMacintosh, setImmediate } from './platform.js';
6 | var safeProcess = (typeof process === 'undefined') ? {
7 | cwd: function () { return '/'; },
8 | env: Object.create(null),
9 | get platform() { return isWindows ? 'win32' : isMacintosh ? 'darwin' : 'linux'; },
10 | nextTick: function (callback) { return setImmediate(callback); }
11 | } : process;
12 | export var cwd = safeProcess.cwd;
13 | export var env = safeProcess.env;
14 | export var platform = safeProcess.platform;
15 |
--------------------------------------------------------------------------------
/src/monaco/base/common/range.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | export var Range;
6 | (function (Range) {
7 | /**
8 | * Returns the intersection between two ranges as a range itself.
9 | * Returns `{ start: 0, end: 0 }` if the intersection is empty.
10 | */
11 | function intersect(one, other) {
12 | if (one.start >= other.end || other.start >= one.end) {
13 | return { start: 0, end: 0 };
14 | }
15 | var start = Math.max(one.start, other.start);
16 | var end = Math.min(one.end, other.end);
17 | if (end - start <= 0) {
18 | return { start: 0, end: 0 };
19 | }
20 | return { start: start, end: end };
21 | }
22 | Range.intersect = intersect;
23 | function isEmpty(range) {
24 | return range.end - range.start <= 0;
25 | }
26 | Range.isEmpty = isEmpty;
27 | function intersects(one, other) {
28 | return !isEmpty(intersect(one, other));
29 | }
30 | Range.intersects = intersects;
31 | function relativeComplement(one, other) {
32 | var result = [];
33 | var first = { start: one.start, end: Math.min(other.start, one.end) };
34 | var second = { start: Math.max(other.end, one.start), end: one.end };
35 | if (!isEmpty(first)) {
36 | result.push(first);
37 | }
38 | if (!isEmpty(second)) {
39 | result.push(second);
40 | }
41 | return result;
42 | }
43 | Range.relativeComplement = relativeComplement;
44 | })(Range || (Range = {}));
45 |
--------------------------------------------------------------------------------
/src/monaco/base/common/sequence.js:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/lukejacksonn/monacode/9fa32db5571d2f3c20802cb87444a2e6e63d1be5/src/monaco/base/common/sequence.js
--------------------------------------------------------------------------------
/src/monaco/base/common/stopwatch.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | import { globals } from './platform.js';
6 | var hasPerformanceNow = (globals.performance && typeof globals.performance.now === 'function');
7 | var StopWatch = /** @class */ (function () {
8 | function StopWatch(highResolution) {
9 | this._highResolution = hasPerformanceNow && highResolution;
10 | this._startTime = this._now();
11 | this._stopTime = -1;
12 | }
13 | StopWatch.create = function (highResolution) {
14 | if (highResolution === void 0) { highResolution = true; }
15 | return new StopWatch(highResolution);
16 | };
17 | StopWatch.prototype.stop = function () {
18 | this._stopTime = this._now();
19 | };
20 | StopWatch.prototype.elapsed = function () {
21 | if (this._stopTime !== -1) {
22 | return this._stopTime - this._startTime;
23 | }
24 | return this._now() - this._startTime;
25 | };
26 | StopWatch.prototype._now = function () {
27 | return this._highResolution ? globals.performance.now() : new Date().getTime();
28 | };
29 | return StopWatch;
30 | }());
31 | export { StopWatch };
32 |
--------------------------------------------------------------------------------
/src/monaco/base/common/styler.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/common/uint.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | export function toUint8(v) {
6 | if (v < 0) {
7 | return 0;
8 | }
9 | if (v > 255 /* MAX_UINT_8 */) {
10 | return 255 /* MAX_UINT_8 */;
11 | }
12 | return v | 0;
13 | }
14 | export function toUint32(v) {
15 | if (v < 0) {
16 | return 0;
17 | }
18 | if (v > 4294967295 /* MAX_UINT_32 */) {
19 | return 4294967295 /* MAX_UINT_32 */;
20 | }
21 | return v | 0;
22 | }
23 |
--------------------------------------------------------------------------------
/src/monaco/base/parts/quickopen/common/quickOpen.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 |
--------------------------------------------------------------------------------
/src/monaco/base/parts/tree/browser/tree.css:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | .monaco-tree {
6 | height: 100%;
7 | width: 100%;
8 | white-space: nowrap;
9 | user-select: none;
10 | -webkit-user-select: none;
11 | -ms-user-select: none;
12 | position: relative;
13 | }
14 |
15 | .monaco-tree > .monaco-scrollable-element {
16 | height: 100%;
17 | }
18 |
19 | .monaco-tree > .monaco-scrollable-element > .monaco-tree-wrapper {
20 | height: 100%;
21 | width: 100%;
22 | position: relative;
23 | }
24 |
25 | .monaco-tree .monaco-tree-rows {
26 | position: absolute;
27 | width: 100%;
28 | height: 100%;
29 | }
30 |
31 | .monaco-tree .monaco-tree-rows > .monaco-tree-row {
32 | box-sizing: border-box;
33 | cursor: pointer;
34 | overflow: hidden;
35 | width: 100%;
36 | touch-action: none;
37 | }
38 |
39 | .monaco-tree .monaco-tree-rows > .monaco-tree-row > .content {
40 | position: relative;
41 | height: 100%;
42 | }
43 |
44 | .monaco-tree-drag-image {
45 | display: inline-block;
46 | padding: 1px 7px;
47 | border-radius: 10px;
48 | font-size: 12px;
49 | position: absolute;
50 | }
51 |
52 | /* for OS X ballistic scrolling */
53 | .monaco-tree .monaco-tree-rows > .monaco-tree-row.scrolling {
54 | display: none;
55 | }
56 |
57 | /* Highlighted */
58 |
59 | .monaco-tree.highlighted .monaco-tree-rows > .monaco-tree-row:not(.highlighted) {
60 | opacity: 0.3;
61 | }
62 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/abap/abap.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'abap',
9 | extensions: ['.abap'],
10 | aliases: ['abap', 'ABAP'],
11 | loader: function () { return import('./abap.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/apex/apex.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'apex',
9 | extensions: ['.cls'],
10 | aliases: ['Apex', 'apex'],
11 | mimetypes: ['text/x-apex-source', 'text/x-apex'],
12 | loader: function () { return import('./apex.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/azcli/azcli.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'azcli',
9 | extensions: ['.azcli'],
10 | aliases: ['Azure CLI', 'azcli'],
11 | loader: function () { return import('./azcli.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/bat/bat.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'bat',
9 | extensions: ['.bat', '.cmd'],
10 | aliases: ['Batch', 'bat'],
11 | loader: function () { return import('./bat.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/cameligo/cameligo.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'cameligo',
9 | extensions: ['.mligo'],
10 | aliases: ['Cameligo'],
11 | loader: function () { return import('./cameligo.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/clojure/clojure.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'clojure',
9 | extensions: ['.clj', '.cljs', '.cljc', '.edn'],
10 | aliases: ['clojure', 'Clojure'],
11 | loader: function () { return import('./clojure.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/coffee/coffee.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'coffeescript',
9 | extensions: ['.coffee'],
10 | aliases: ['CoffeeScript', 'coffeescript', 'coffee'],
11 | mimetypes: ['text/x-coffeescript', 'text/coffeescript'],
12 | loader: function () { return import('./coffee.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/cpp/cpp.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'c',
9 | extensions: ['.c', '.h'],
10 | aliases: ['C', 'c'],
11 | loader: function () { return import('./cpp.js'); }
12 | });
13 | registerLanguage({
14 | id: 'cpp',
15 | extensions: ['.cpp', '.cc', '.cxx', '.hpp', '.hh', '.hxx'],
16 | aliases: ['C++', 'Cpp', 'cpp'],
17 | loader: function () { return import('./cpp.js'); }
18 | });
19 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/csharp/csharp.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'csharp',
9 | extensions: ['.cs', '.csx', '.cake'],
10 | aliases: ['C#', 'csharp'],
11 | loader: function () { return import('./csharp.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/csp/csp.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'csp',
9 | extensions: [],
10 | aliases: ['CSP', 'csp'],
11 | loader: function () { return import('./csp.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/css/css.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'css',
9 | extensions: ['.css'],
10 | aliases: ['CSS', 'css'],
11 | mimetypes: ['text/css'],
12 | loader: function () { return import('./css.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/dockerfile/dockerfile.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'dockerfile',
9 | extensions: ['.dockerfile'],
10 | filenames: ['Dockerfile'],
11 | aliases: ['Dockerfile'],
12 | loader: function () { return import('./dockerfile.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/fsharp/fsharp.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'fsharp',
9 | extensions: ['.fs', '.fsi', '.ml', '.mli', '.fsx', '.fsscript'],
10 | aliases: ['F#', 'FSharp', 'fsharp'],
11 | loader: function () { return import('./fsharp.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/go/go.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'go',
9 | extensions: ['.go'],
10 | aliases: ['Go'],
11 | loader: function () { return import('./go.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/graphql/graphql.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'graphql',
9 | extensions: ['.graphql', '.gql'],
10 | aliases: ['GraphQL', 'graphql', 'gql'],
11 | mimetypes: ['application/graphql'],
12 | loader: function () { return import('./graphql.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/handlebars/handlebars.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'handlebars',
9 | extensions: ['.handlebars', '.hbs'],
10 | aliases: ['Handlebars', 'handlebars'],
11 | mimetypes: ['text/x-handlebars-template'],
12 | loader: function () { return import('./handlebars.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/html/html.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'html',
9 | extensions: ['.html', '.htm', '.shtml', '.xhtml', '.mdoc', '.jsp', '.asp', '.aspx', '.jshtm'],
10 | aliases: ['HTML', 'htm', 'html', 'xhtml'],
11 | mimetypes: ['text/html', 'text/x-jshtm', 'text/template', 'text/ng-template'],
12 | loader: function () { return import('./html.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/ini/ini.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'ini',
9 | extensions: ['.ini', '.properties', '.gitconfig'],
10 | filenames: ['config', '.gitattributes', '.gitconfig', '.editorconfig'],
11 | aliases: ['Ini', 'ini'],
12 | loader: function () { return import('./ini.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/java/java.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'java',
9 | extensions: ['.java', '.jav'],
10 | aliases: ['Java', 'java'],
11 | mimetypes: ['text/x-java-source', 'text/x-java'],
12 | loader: function () { return import('./java.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/javascript/javascript.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'javascript',
9 | extensions: ['.js', '.es6', '.jsx'],
10 | firstLine: '^#!.*\\bnode',
11 | filenames: ['jakefile'],
12 | aliases: ['JavaScript', 'javascript', 'js'],
13 | mimetypes: ['text/javascript'],
14 | loader: function () { return import('./javascript.js'); }
15 | });
16 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/javascript/javascript.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { conf as tsConf, language as tsLanguage } from '../typescript/typescript.js';
7 | // Allow for running under nodejs/requirejs in tests
8 | var _monaco = (typeof monaco === 'undefined' ? self.monaco : monaco);
9 | export var conf = tsConf;
10 | export var language = {
11 | // Set defaultToken to invalid to see what you do not tokenize yet
12 | defaultToken: 'invalid',
13 | tokenPostfix: '.js',
14 | keywords: [
15 | 'break', 'case', 'catch', 'class', 'continue', 'const',
16 | 'constructor', 'debugger', 'default', 'delete', 'do', 'else',
17 | 'export', 'extends', 'false', 'finally', 'for', 'from', 'function',
18 | 'get', 'if', 'import', 'in', 'instanceof', 'let', 'new', 'null',
19 | 'return', 'set', 'super', 'switch', 'symbol', 'this', 'throw', 'true',
20 | 'try', 'typeof', 'undefined', 'var', 'void', 'while', 'with', 'yield',
21 | 'async', 'await', 'of'
22 | ],
23 | typeKeywords: [],
24 | operators: tsLanguage.operators,
25 | symbols: tsLanguage.symbols,
26 | escapes: tsLanguage.escapes,
27 | digits: tsLanguage.digits,
28 | octaldigits: tsLanguage.octaldigits,
29 | binarydigits: tsLanguage.binarydigits,
30 | hexdigits: tsLanguage.hexdigits,
31 | regexpctl: tsLanguage.regexpctl,
32 | regexpesc: tsLanguage.regexpesc,
33 | tokenizer: tsLanguage.tokenizer,
34 | };
35 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/kotlin/kotlin.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'kotlin',
9 | extensions: ['.kt'],
10 | aliases: ['Kotlin', 'kotlin'],
11 | mimetypes: ['text/x-kotlin-source', 'text/x-kotlin'],
12 | loader: function () { return import('./kotlin.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/less/less.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'less',
9 | extensions: ['.less'],
10 | aliases: ['Less', 'less'],
11 | mimetypes: ['text/x-less', 'text/less'],
12 | loader: function () { return import('./less.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/lua/lua.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'lua',
9 | extensions: ['.lua'],
10 | aliases: ['Lua', 'lua'],
11 | loader: function () { return import('./lua.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/markdown/markdown.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'markdown',
9 | extensions: ['.md', '.markdown', '.mdown', '.mkdn', '.mkd', '.mdwn', '.mdtxt', '.mdtext'],
10 | aliases: ['Markdown', 'markdown'],
11 | loader: function () { return import('./markdown.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/mips/mips.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'mips',
9 | extensions: ['.s'],
10 | aliases: ['MIPS', 'MIPS-V'],
11 | mimetypes: ['text/x-mips', 'text/mips', 'text/plaintext'],
12 | loader: function () { return import('./mips.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/msdax/msdax.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'msdax',
9 | extensions: ['.dax', '.msdax'],
10 | aliases: ['DAX', 'MSDAX'],
11 | loader: function () { return import('./msdax.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/mysql/mysql.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'mysql',
9 | extensions: [],
10 | aliases: ['MySQL', 'mysql'],
11 | loader: function () { return import('./mysql.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/objective-c/objective-c.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'objective-c',
9 | extensions: ['.m'],
10 | aliases: ['Objective-C'],
11 | loader: function () { return import('./objective-c.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/pascal/pascal.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'pascal',
9 | extensions: ['.pas', '.p', '.pp'],
10 | aliases: ['Pascal', 'pas'],
11 | mimetypes: ['text/x-pascal-source', 'text/x-pascal'],
12 | loader: function () { return import('./pascal.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/pascaligo/pascaligo.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'pascaligo',
9 | extensions: ['.ligo'],
10 | aliases: ['Pascaligo', 'ligo'],
11 | loader: function () { return import('./pascaligo.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/perl/perl.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'perl',
9 | extensions: ['.pl'],
10 | aliases: ['Perl', 'pl'],
11 | loader: function () { return import('./perl.js'); },
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/pgsql/pgsql.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'pgsql',
9 | extensions: [],
10 | aliases: ['PostgreSQL', 'postgres', 'pg', 'postgre'],
11 | loader: function () { return import('./pgsql.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/php/php.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'php',
9 | extensions: ['.php', '.php4', '.php5', '.phtml', '.ctp'],
10 | aliases: ['PHP', 'php'],
11 | mimetypes: ['application/x-php'],
12 | loader: function () { return import('./php.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/postiats/postiats.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'postiats',
9 | extensions: ['.dats', '.sats', '.hats'],
10 | aliases: ['ATS', 'ATS/Postiats'],
11 | loader: function () { return import('./postiats.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/powerquery/powerquery.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'powerquery',
9 | extensions: ['.pq', '.pqm'],
10 | aliases: ['PQ', 'M', 'Power Query', 'Power Query M'],
11 | loader: function () { return import('./powerquery.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/powershell/powershell.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'powershell',
9 | extensions: ['.ps1', '.psm1', '.psd1'],
10 | aliases: ['PowerShell', 'powershell', 'ps', 'ps1'],
11 | loader: function () { return import('./powershell.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/pug/pug.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'pug',
9 | extensions: ['.jade', '.pug'],
10 | aliases: ['Pug', 'Jade', 'jade'],
11 | loader: function () { return import('./pug.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/python/python.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'python',
9 | extensions: ['.py', '.rpy', '.pyw', '.cpy', '.gyp', '.gypi'],
10 | aliases: ['Python', 'py'],
11 | firstLine: '^#!/.*\\bpython[0-9.-]*\\b',
12 | loader: function () { return import('./python.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/r/r.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'r',
9 | extensions: ['.r', '.rhistory', '.rprofile', '.rt'],
10 | aliases: ['R', 'r'],
11 | loader: function () { return import('./r.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/razor/razor.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'razor',
9 | extensions: ['.cshtml'],
10 | aliases: ['Razor', 'razor'],
11 | mimetypes: ['text/x-cshtml'],
12 | loader: function () { return import('./razor.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/redis/redis.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'redis',
9 | extensions: ['.redis'],
10 | aliases: ['redis'],
11 | loader: function () { return import('./redis.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/redshift/redshift.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'redshift',
9 | extensions: [],
10 | aliases: ['Redshift', 'redshift'],
11 | loader: function () { return import('./redshift.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/restructuredtext/restructuredtext.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'restructuredtext',
9 | extensions: ['.rst'],
10 | aliases: ['reStructuredText', 'restructuredtext'],
11 | loader: function () { return import('./restructuredtext.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/ruby/ruby.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'ruby',
9 | extensions: ['.rb', '.rbx', '.rjs', '.gemspec', '.pp'],
10 | filenames: ['rakefile'],
11 | aliases: ['Ruby', 'rb'],
12 | loader: function () { return import('./ruby.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/rust/rust.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'rust',
9 | extensions: ['.rs', '.rlib'],
10 | aliases: ['Rust', 'rust'],
11 | loader: function () { return import('./rust.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/sb/sb.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'sb',
9 | extensions: ['.sb'],
10 | aliases: ['Small Basic', 'sb'],
11 | loader: function () { return import('./sb.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/scheme/scheme.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'scheme',
9 | extensions: ['.scm', '.ss', '.sch', '.rkt'],
10 | aliases: ['scheme', 'Scheme'],
11 | loader: function () { return import('./scheme.js'); },
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/scss/scss.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'scss',
9 | extensions: ['.scss'],
10 | aliases: ['Sass', 'sass', 'scss'],
11 | mimetypes: ['text/x-scss', 'text/scss'],
12 | loader: function () { return import('./scss.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/shell/shell.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'shell',
9 | extensions: ['.sh', '.bash'],
10 | aliases: ['Shell', 'sh'],
11 | loader: function () { return import('./shell.js'); },
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/solidity/solidity.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'sol',
9 | extensions: ['.sol'],
10 | aliases: ['sol', 'solidity', 'Solidity'],
11 | loader: function () { return import('./solidity.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/sophia/sophia.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'aes',
9 | extensions: ['.aes'],
10 | aliases: ['aes', 'sophia', 'Sophia'],
11 | loader: function () { return import('./sophia.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/sql/sql.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'sql',
9 | extensions: ['.sql'],
10 | aliases: ['SQL'],
11 | loader: function () { return import('./sql.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/st/st.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'st',
9 | extensions: ['.st', '.iecst', '.iecplc', '.lc3lib'],
10 | aliases: ['StructuredText', 'scl', 'stl'],
11 | loader: function () { return import('./st.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/swift/swift.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'swift',
9 | aliases: ['Swift', 'swift'],
10 | extensions: ['.swift'],
11 | mimetypes: ['text/swift'],
12 | loader: function () { return import('./swift.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/tcl/tcl.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'tcl',
9 | extensions: ['.tcl'],
10 | aliases: ['tcl', 'Tcl', 'tcltk', 'TclTk', 'tcl/tk', 'Tcl/Tk'],
11 | loader: function () { return import('./tcl.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/twig/twig.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'twig',
9 | extensions: ['.twig'],
10 | aliases: ['Twig', 'twig'],
11 | mimetypes: ['text/x-twig'],
12 | loader: function () { return import('./twig.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/typescript/typescript.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'typescript',
9 | extensions: ['.ts', '.tsx'],
10 | aliases: ['TypeScript', 'ts', 'typescript'],
11 | mimetypes: ['text/typescript'],
12 | loader: function () { return import('./typescript.js'); }
13 | });
14 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/vb/vb.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'vb',
9 | extensions: ['.vb'],
10 | aliases: ['Visual Basic', 'vb'],
11 | loader: function () { return import('./vb.js'); }
12 | });
13 |
--------------------------------------------------------------------------------
/src/monaco/basic-languages/xml/xml.contribution.js:
--------------------------------------------------------------------------------
1 | /*---------------------------------------------------------------------------------------------
2 | * Copyright (c) Microsoft Corporation. All rights reserved.
3 | * Licensed under the MIT License. See License.txt in the project root for license information.
4 | *--------------------------------------------------------------------------------------------*/
5 | 'use strict';
6 | import { registerLanguage } from '../_.contribution.js';
7 | registerLanguage({
8 | id: 'xml',
9 | extensions: ['.xml', '.dtd', '.ascx', '.csproj', '.config', '.wxi', '.wxl', '.wxs', '.xaml', '.svg', '.svgz', '.opf', '.xsl'],
10 | firstLine: '(\\<\\?xml.*)|(\\