Removes unneeded filler redirection

This commit is contained in:
Henning Dieterichs 2025-10-08 16:17:57 +02:00 committed by Henning Dieterichs
parent 7c2310116c
commit 699cae24be
107 changed files with 104 additions and 117 deletions

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages, editor } from '../fillers/monaco-editor-core';
import { languages, editor } from 'monaco-editor-core';
interface ILang extends languages.ILanguageExtensionPoint {
loader: () => Promise<ILangImpl>;

View file

@ -14,7 +14,7 @@
*
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
// the default separators except `@$`

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
const bounded = (text: string) => `\\b${text}\\b`;

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern:

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern:

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [],

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
// Difficulty: "Black hole!"
/*

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
const EMPTY_ELEMENTS: string[] = [
'area',

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
const EMPTY_ELEMENTS: string[] = [
'area',

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
// the default separators except `@$`

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import { conf as tsConf, language as tsLanguage } from '../typescript/typescript';
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = tsConf;

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
// the default separators except `@$`

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
const EMPTY_ELEMENTS: string[] = [
'area',

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern:

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
// the default separators except `@$`

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern:

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -5,7 +5,7 @@
* Based on the ATS/Postiats lexer by Hongwei Xi.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
// the default separators except `$-`

View file

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
const namedLiterals = ['true', 'false'];

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
const EMPTY_ELEMENTS: string[] = [
'area',

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
/*

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern: /(#?-?\d*\.\d\w*%?)|([@$#!.:]?[\w-?]+%?)|[@#!.]/g,

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -2,7 +2,7 @@
* Copyright (C) David Owens II, owensd.io. All rights reserved.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
brackets: [

View file

@ -6,7 +6,7 @@
import '../monaco.contribution';
import { loadLanguage } from '../_.contribution';
import * as assert from 'assert';
import { editor } from '../../fillers/monaco-editor-core';
import { editor } from 'monaco-editor-core';
export interface IRelaxedToken {
startIndex: number;

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
wordPattern:

View file

@ -1,4 +1,4 @@
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
const bounded = (text: string) => `\\b${text}\\b`;
const notBefore = (regex: string) => `(?!${regex})`;

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { languages } from '../../fillers/monaco-editor-core';
import type { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -1,4 +1,4 @@
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export const conf: languages.LanguageConfiguration = {
comments: {

View file

@ -1,4 +1,4 @@
import { editor } from '../fillers/monaco-editor-core';
import { editor } from 'monaco-editor-core';
function createTrustedTypesPolicy<Options extends TrustedTypePolicyOptions>(
policyName: string,

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { initialize, isWorkerInitialized } from '../common/initialize';
import { initialize, isWorkerInitialized } from '../common/initialize.js';
import * as worker from 'monaco-editor-core/esm/vs/editor/editor.worker.start';
// This is to preserve previous behavior.

View file

@ -1,4 +0,0 @@
declare module 'vs/editor/editor.api' {
const x: any;
export = x;
}

View file

@ -1,6 +0,0 @@
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export * from 'monaco-editor-core';

View file

@ -16,7 +16,7 @@ import {
IDisposable,
MarkerSeverity,
IEvent
} from '../../fillers/monaco-editor-core';
} from 'monaco-editor-core';
export interface WorkerAccessor<T> {
(...more: Uri[]): Promise<T>;

View file

@ -7,7 +7,7 @@ import { WorkerManager } from './workerManager';
import type { CSSWorker } from './cssWorker';
import { LanguageServiceDefaults } from './monaco.contribution';
import * as languageFeatures from '../common/lspLanguageFeatures';
import { Uri, IDisposable, languages } from '../../fillers/monaco-editor-core';
import { Uri, IDisposable, languages } from 'monaco-editor-core';
export function setupMode(defaults: LanguageServiceDefaults): IDisposable {
const disposables: IDisposable[] = [];

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import type { worker } from '../../fillers/monaco-editor-core';
import type { worker } from 'monaco-editor-core';
import * as cssService from 'vscode-css-languageservice';
import { Options } from './monaco.contribution';

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as mode from './cssMode';
import { languages, Emitter, IEvent } from '../../fillers/monaco-editor-core';
import { languages, Emitter, IEvent } from 'monaco-editor-core';
export interface CSSFormatConfiguration {
/** separate selectors with newline (e.g. "a,\nbr" or "a, br"): Default: true */

View file

@ -5,7 +5,7 @@
import { LanguageServiceDefaults } from './monaco.contribution';
import type { CSSWorker } from './cssWorker';
import { editor, IDisposable, Uri } from '../../fillers/monaco-editor-core';
import { editor, IDisposable, Uri } from 'monaco-editor-core';
import { createWebWorker } from '../../common/workers';
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1000; // 2min

View file

@ -7,7 +7,7 @@ import { WorkerManager } from './workerManager';
import type { HTMLWorker } from './htmlWorker';
import { LanguageServiceDefaults } from './monaco.contribution';
import * as languageFeatures from '../common/lspLanguageFeatures';
import { Uri, IDisposable, languages } from '../../fillers/monaco-editor-core';
import { Uri, IDisposable, languages } from 'monaco-editor-core';
class HTMLCompletionAdapter extends languageFeatures.CompletionAdapter<HTMLWorker> {
constructor(worker: languageFeatures.WorkerAccessor<HTMLWorker>) {

View file

@ -3,7 +3,7 @@
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { worker } from '../../fillers/monaco-editor-core';
import { worker } from 'monaco-editor-core';
import * as htmlService from 'vscode-html-languageservice';
import type { Options } from './monaco.contribution';
import { IHTMLDataProvider } from 'vscode-html-languageservice';

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as mode from './htmlMode';
import { languages, Emitter, IEvent, IDisposable } from '../../fillers/monaco-editor-core';
import { languages, Emitter, IEvent, IDisposable } from 'monaco-editor-core';
export interface HTMLFormatConfiguration {
readonly tabSize: number;

View file

@ -5,7 +5,7 @@
import { LanguageServiceDefaults } from './monaco.contribution';
import type { HTMLWorker } from './htmlWorker';
import { Uri, IDisposable, editor } from '../../fillers/monaco-editor-core';
import { Uri, IDisposable, editor } from 'monaco-editor-core';
import { createWebWorker } from '../../common/workers';
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1000; // 2min

View file

@ -8,7 +8,7 @@ import type { JSONWorker } from './jsonWorker';
import { LanguageServiceDefaults } from './monaco.contribution';
import * as languageFeatures from '../common/lspLanguageFeatures';
import { createTokenizationSupport } from './tokenization';
import { Uri, IDisposable, languages, editor } from '../../fillers/monaco-editor-core';
import { Uri, IDisposable, languages, editor } from 'monaco-editor-core';
let worker: languageFeatures.WorkerAccessor<JSONWorker>;

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as jsonService from 'vscode-json-languageservice';
import type { worker } from '../../fillers/monaco-editor-core';
import type { worker } from 'monaco-editor-core';
import { URI } from 'vscode-uri';
import { DiagnosticsOptions } from './monaco.contribution';

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as mode from './jsonMode';
import { Emitter, IEvent, languages, Uri } from '../../fillers/monaco-editor-core';
import { Emitter, IEvent, languages, Uri } from 'monaco-editor-core';
// ---- JSON service types ----
export interface BaseASTNode {

View file

@ -4,7 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import * as json from 'jsonc-parser';
import { languages } from '../../fillers/monaco-editor-core';
import { languages } from 'monaco-editor-core';
export function createTokenizationSupport(supportComments: boolean): languages.TokensProvider {
return {

View file

@ -5,7 +5,7 @@
import { LanguageServiceDefaults } from './monaco.contribution';
import type { JSONWorker } from './jsonWorker';
import { IDisposable, Uri, editor } from '../../fillers/monaco-editor-core';
import { IDisposable, Uri, editor } from 'monaco-editor-core';
import { createWebWorker } from '../../common/workers';
const STOP_WHEN_IDLE_FOR = 2 * 60 * 1000; // 2min

Some files were not shown because too many files have changed in this diff Show more