1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update to monaco 0.28.1

This commit is contained in:
Nick O'Leary 2021-09-29 17:17:34 +01:00
parent b427eca21f
commit d4fc6feeba
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
64 changed files with 16034 additions and 391 deletions

View File

@ -1,5 +1,5 @@
/* NOTE: Do not edit directly! This file is generated using \`npm run update-types\` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
interface NodeMessage {

View File

@ -1,5 +1,5 @@
/* NOTE: Do not edit directly! This file is generated using \`npm run update-types\` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
/*

View File

@ -0,0 +1,127 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'assert' {
/** An alias of `assert.ok()`. */
function assert(value: any, message?: string | Error): asserts value;
namespace assert {
class AssertionError extends Error {
actual: any;
expected: any;
operator: string;
generatedMessage: boolean;
code: 'ERR_ASSERTION';
constructor(options?: {
/** If provided, the error message is set to this value. */
message?: string | undefined;
/** The `actual` property on the error instance. */
actual?: any;
/** The `expected` property on the error instance. */
expected?: any;
/** The `operator` property on the error instance. */
operator?: string | undefined;
/** If provided, the generated stack trace omits frames before this function. */
// tslint:disable-next-line:ban-types
stackStartFn?: Function | undefined;
});
}
class CallTracker {
calls(exact?: number): () => void;
calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
report(): CallTrackerReportInformation[];
verify(): void;
}
interface CallTrackerReportInformation {
message: string;
/** The actual number of times the function was called. */
actual: number;
/** The number of times the function was expected to be called. */
expected: number;
/** The name of the function that is wrapped. */
operator: string;
/** A stack trace of the function. */
stack: object;
}
type AssertPredicate = RegExp | (new () => object) | ((thrown: any) => boolean) | object | Error;
function fail(message?: string | Error): never;
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
function fail(
actual: any,
expected: any,
message?: string | Error,
operator?: string,
// tslint:disable-next-line:ban-types
stackStartFn?: Function,
): never;
function ok(value: any, message?: string | Error): asserts value;
/** @deprecated since v9.9.0 - use strictEqual() instead. */
function equal(actual: any, expected: any, message?: string | Error): void;
/** @deprecated since v9.9.0 - use notStrictEqual() instead. */
function notEqual(actual: any, expected: any, message?: string | Error): void;
/** @deprecated since v9.9.0 - use deepStrictEqual() instead. */
function deepEqual(actual: any, expected: any, message?: string | Error): void;
/** @deprecated since v9.9.0 - use notDeepStrictEqual() instead. */
function notDeepEqual(actual: any, expected: any, message?: string | Error): void;
function strictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
function notStrictEqual(actual: any, expected: any, message?: string | Error): void;
function deepStrictEqual<T>(actual: any, expected: T, message?: string | Error): asserts actual is T;
function notDeepStrictEqual(actual: any, expected: any, message?: string | Error): void;
function throws(block: () => any, message?: string | Error): void;
function throws(block: () => any, error: AssertPredicate, message?: string | Error): void;
function doesNotThrow(block: () => any, message?: string | Error): void;
function doesNotThrow(block: () => any, error: AssertPredicate, message?: string | Error): void;
function ifError(value: any): asserts value is null | undefined;
function rejects(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
function rejects(
block: (() => Promise<any>) | Promise<any>,
error: AssertPredicate,
message?: string | Error,
): Promise<void>;
function doesNotReject(block: (() => Promise<any>) | Promise<any>, message?: string | Error): Promise<void>;
function doesNotReject(
block: (() => Promise<any>) | Promise<any>,
error: AssertPredicate,
message?: string | Error,
): Promise<void>;
function match(value: string, regExp: RegExp, message?: string | Error): void;
function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
const strict: Omit<
typeof assert,
| 'equal'
| 'notEqual'
| 'deepEqual'
| 'notDeepEqual'
| 'ok'
| 'strictEqual'
| 'deepStrictEqual'
| 'ifError'
| 'strict'
> & {
(value: any, message?: string | Error): asserts value;
equal: typeof strictEqual;
notEqual: typeof notStrictEqual;
deepEqual: typeof deepStrictEqual;
notDeepEqual: typeof notDeepStrictEqual;
// Mapped types and assertion functions are incompatible?
// TS2775: Assertions require every name in the call target
// to be declared with an explicit type annotation.
ok: typeof ok;
strictEqual: typeof strictEqual;
deepStrictEqual: typeof deepStrictEqual;
ifError: typeof ifError;
strict: typeof strict;
};
}
export = assert;
}

View File

@ -0,0 +1,229 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
/**
* Async Hooks module: https://nodejs.org/api/async_hooks.html
*/
declare module 'async_hooks' {
/**
* Returns the asyncId of the current execution context.
*/
function executionAsyncId(): number;
/**
* The resource representing the current execution.
* Useful to store data within the resource.
*
* Resource objects returned by `executionAsyncResource()` are most often internal
* Node.js handle objects with undocumented APIs. Using any functions or properties
* on the object is likely to crash your application and should be avoided.
*
* Using `executionAsyncResource()` in the top-level execution context will
* return an empty object as there is no handle or request object to use,
* but having an object representing the top-level can be helpful.
*/
function executionAsyncResource(): object;
/**
* Returns the ID of the resource responsible for calling the callback that is currently being executed.
*/
function triggerAsyncId(): number;
interface HookCallbacks {
/**
* Called when a class is constructed that has the possibility to emit an asynchronous event.
* @param asyncId a unique ID for the async resource
* @param type the type of the async resource
* @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created
* @param resource reference to the resource representing the async operation, needs to be released during destroy
*/
init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
/**
* When an asynchronous operation is initiated or completes a callback is called to notify the user.
* The before callback is called just before said callback is executed.
* @param asyncId the unique identifier assigned to the resource about to execute the callback.
*/
before?(asyncId: number): void;
/**
* Called immediately after the callback specified in before is completed.
* @param asyncId the unique identifier assigned to the resource which has executed the callback.
*/
after?(asyncId: number): void;
/**
* Called when a promise has resolve() called. This may not be in the same execution id
* as the promise itself.
* @param asyncId the unique id for the promise that was resolve()d.
*/
promiseResolve?(asyncId: number): void;
/**
* Called after the resource corresponding to asyncId is destroyed
* @param asyncId a unique ID for the async resource
*/
destroy?(asyncId: number): void;
}
interface AsyncHook {
/**
* Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop.
*/
enable(): this;
/**
* Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.
*/
disable(): this;
}
/**
* Registers functions to be called for different lifetime events of each async operation.
* @param options the callbacks to register
* @return an AsyncHooks instance used for disabling and enabling hooks
*/
function createHook(options: HookCallbacks): AsyncHook;
interface AsyncResourceOptions {
/**
* The ID of the execution context that created this async event.
* @default executionAsyncId()
*/
triggerAsyncId?: number | undefined;
/**
* Disables automatic `emitDestroy` when the object is garbage collected.
* This usually does not need to be set (even if `emitDestroy` is called
* manually), unless the resource's `asyncId` is retrieved and the
* sensitive API's `emitDestroy` is called with it.
* @default false
*/
requireManualDestroy?: boolean | undefined;
}
/**
* The class AsyncResource was designed to be extended by the embedder's async resources.
* Using this users can easily trigger the lifetime events of their own resources.
*/
class AsyncResource {
/**
* AsyncResource() is meant to be extended. Instantiating a
* new AsyncResource() also triggers init. If triggerAsyncId is omitted then
* async_hook.executionAsyncId() is used.
* @param type The type of async event.
* @param triggerAsyncId The ID of the execution context that created
* this async event (default: `executionAsyncId()`), or an
* AsyncResourceOptions object (since 9.3)
*/
constructor(type: string, triggerAsyncId?: number|AsyncResourceOptions);
/**
* Binds the given function to the current execution context.
* @param fn The function to bind to the current execution context.
* @param type An optional name to associate with the underlying `AsyncResource`.
*/
static bind<Func extends (...args: any[]) => any>(fn: Func, type?: string): Func & { asyncResource: AsyncResource };
/**
* Binds the given function to execute to this `AsyncResource`'s scope.
* @param fn The function to bind to the current `AsyncResource`.
*/
bind<Func extends (...args: any[]) => any>(fn: Func): Func & { asyncResource: AsyncResource };
/**
* Call the provided function with the provided arguments in the
* execution context of the async resource. This will establish the
* context, trigger the AsyncHooks before callbacks, call the function,
* trigger the AsyncHooks after callbacks, and then restore the original
* execution context.
* @param fn The function to call in the execution context of this
* async resource.
* @param thisArg The receiver to be used for the function call.
* @param args Optional arguments to pass to the function.
*/
runInAsyncScope<This, Result>(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result;
/**
* Call AsyncHooks destroy callbacks.
*/
emitDestroy(): this;
/**
* @return the unique ID assigned to this AsyncResource instance.
*/
asyncId(): number;
/**
* @return the trigger ID for this AsyncResource instance.
*/
triggerAsyncId(): number;
}
/**
* When having multiple instances of `AsyncLocalStorage`, they are independent
* from each other. It is safe to instantiate this class multiple times.
*/
class AsyncLocalStorage<T> {
/**
* This method disables the instance of `AsyncLocalStorage`. All subsequent calls
* to `asyncLocalStorage.getStore()` will return `undefined` until
* `asyncLocalStorage.run()` is called again.
*
* When calling `asyncLocalStorage.disable()`, all current contexts linked to the
* instance will be exited.
*
* Calling `asyncLocalStorage.disable()` is required before the
* `asyncLocalStorage` can be garbage collected. This does not apply to stores
* provided by the `asyncLocalStorage`, as those objects are garbage collected
* along with the corresponding async resources.
*
* This method is to be used when the `asyncLocalStorage` is not in use anymore
* in the current process.
*/
disable(): void;
/**
* This method returns the current store. If this method is called outside of an
* asynchronous context initialized by calling `asyncLocalStorage.run`, it will
* return `undefined`.
*/
getStore(): T | undefined;
/**
* This methods runs a function synchronously within a context and return its
* return value. The store is not accessible outside of the callback function or
* the asynchronous operations created within the callback.
*
* Optionally, arguments can be passed to the function. They will be passed to the
* callback function.
*
* I the callback function throws an error, it will be thrown by `run` too. The
* stacktrace will not be impacted by this call and the context will be exited.
*/
// TODO: Apply generic vararg once available
run<R>(store: T, callback: (...args: any[]) => R, ...args: any[]): R;
/**
* This methods runs a function synchronously outside of a context and return its
* return value. The store is not accessible within the callback function or the
* asynchronous operations created within the callback.
*
* Optionally, arguments can be passed to the function. They will be passed to the
* callback function.
*
* If the callback function throws an error, it will be thrown by `exit` too. The
* stacktrace will not be impacted by this call and the context will be
* re-entered.
*/
// TODO: Apply generic vararg once available
exit<R>(callback: (...args: any[]) => R, ...args: any[]): R;
/**
* Calling `asyncLocalStorage.enterWith(store)` will transition into the context
* for the remainder of the current synchronous execution and will persist
* through any following asynchronous calls.
*/
enterWith(store: T): void;
}
}

View File

@ -1 +1,25 @@
declare module'node:buffer'{export*from'buffer';}declare module'buffer'{export const INSPECT_MAX_BYTES:number;export const kMaxLength:number;export const kStringMaxLength:number;export const constants:{MAX_LENGTH:number;MAX_STRING_LENGTH:number;};const BuffType:typeof Buffer;export type TranscodeEncoding="ascii"|"utf8"|"utf16le"|"ucs2"|"latin1"|"binary";export function transcode(source:Uint8Array,fromEnc:TranscodeEncoding,toEnc:TranscodeEncoding):Buffer;export const SlowBuffer:{new(size:number):Buffer;prototype:Buffer;};export{BuffType as Buffer};}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'buffer' {
export const INSPECT_MAX_BYTES: number;
export const kMaxLength: number;
export const kStringMaxLength: number;
export const constants: {
MAX_LENGTH: number;
MAX_STRING_LENGTH: number;
};
const BuffType: typeof Buffer;
export type TranscodeEncoding = "ascii" | "utf8" | "utf16le" | "ucs2" | "latin1" | "binary";
export function transcode(source: Uint8Array, fromEnc: TranscodeEncoding, toEnc: TranscodeEncoding): Buffer;
export const SlowBuffer: {
/** @deprecated since v6.0.0, use `Buffer.allocUnsafeSlow()` */
new(size: number): Buffer;
prototype: Buffer;
};
export { BuffType as Buffer };
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,265 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'cluster' {
import * as child from 'child_process';
import EventEmitter = require('events');
import * as net from 'net';
// interfaces
interface ClusterSettings {
execArgv?: string[] | undefined; // default: process.execArgv
exec?: string | undefined;
args?: string[] | undefined;
silent?: boolean | undefined;
stdio?: any[] | undefined;
uid?: number | undefined;
gid?: number | undefined;
inspectPort?: number | (() => number) | undefined;
}
interface Address {
address: string;
port: number;
addressType: number | "udp4" | "udp6"; // 4, 6, -1, "udp4", "udp6"
}
class Worker extends EventEmitter {
id: number;
process: child.ChildProcess;
send(message: child.Serializable, sendHandle?: child.SendHandle, callback?: (error: Error | null) => void): boolean;
kill(signal?: string): void;
destroy(signal?: string): void;
disconnect(): void;
isConnected(): boolean;
isDead(): boolean;
exitedAfterDisconnect: boolean;
/**
* events.EventEmitter
* 1. disconnect
* 2. error
* 3. exit
* 4. listening
* 5. message
* 6. online
*/
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "disconnect", listener: () => void): this;
addListener(event: "error", listener: (error: Error) => void): this;
addListener(event: "exit", listener: (code: number, signal: string) => void): this;
addListener(event: "listening", listener: (address: Address) => void): this;
addListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
addListener(event: "online", listener: () => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "disconnect"): boolean;
emit(event: "error", error: Error): boolean;
emit(event: "exit", code: number, signal: string): boolean;
emit(event: "listening", address: Address): boolean;
emit(event: "message", message: any, handle: net.Socket | net.Server): boolean;
emit(event: "online"): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "disconnect", listener: () => void): this;
on(event: "error", listener: (error: Error) => void): this;
on(event: "exit", listener: (code: number, signal: string) => void): this;
on(event: "listening", listener: (address: Address) => void): this;
on(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
on(event: "online", listener: () => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "disconnect", listener: () => void): this;
once(event: "error", listener: (error: Error) => void): this;
once(event: "exit", listener: (code: number, signal: string) => void): this;
once(event: "listening", listener: (address: Address) => void): this;
once(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
once(event: "online", listener: () => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "disconnect", listener: () => void): this;
prependListener(event: "error", listener: (error: Error) => void): this;
prependListener(event: "exit", listener: (code: number, signal: string) => void): this;
prependListener(event: "listening", listener: (address: Address) => void): this;
prependListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
prependListener(event: "online", listener: () => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "disconnect", listener: () => void): this;
prependOnceListener(event: "error", listener: (error: Error) => void): this;
prependOnceListener(event: "exit", listener: (code: number, signal: string) => void): this;
prependOnceListener(event: "listening", listener: (address: Address) => void): this;
prependOnceListener(event: "message", listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
prependOnceListener(event: "online", listener: () => void): this;
}
interface Cluster extends EventEmitter {
Worker: Worker;
disconnect(callback?: () => void): void;
fork(env?: any): Worker;
isMaster: boolean;
isWorker: boolean;
schedulingPolicy: number;
settings: ClusterSettings;
setupMaster(settings?: ClusterSettings): void;
worker?: Worker | undefined;
workers?: NodeJS.Dict<Worker> | undefined;
readonly SCHED_NONE: number;
readonly SCHED_RR: number;
/**
* events.EventEmitter
* 1. disconnect
* 2. exit
* 3. fork
* 4. listening
* 5. message
* 6. online
* 7. setup
*/
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "disconnect", listener: (worker: Worker) => void): this;
addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
addListener(event: "fork", listener: (worker: Worker) => void): this;
addListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
addListener(event: "online", listener: (worker: Worker) => void): this;
addListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "disconnect", worker: Worker): boolean;
emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
emit(event: "fork", worker: Worker): boolean;
emit(event: "listening", worker: Worker, address: Address): boolean;
emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
emit(event: "online", worker: Worker): boolean;
emit(event: "setup", settings: ClusterSettings): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "disconnect", listener: (worker: Worker) => void): this;
on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
on(event: "fork", listener: (worker: Worker) => void): this;
on(event: "listening", listener: (worker: Worker, address: Address) => void): this;
on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
on(event: "online", listener: (worker: Worker) => void): this;
on(event: "setup", listener: (settings: ClusterSettings) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "disconnect", listener: (worker: Worker) => void): this;
once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
once(event: "fork", listener: (worker: Worker) => void): this;
once(event: "listening", listener: (worker: Worker, address: Address) => void): this;
once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
once(event: "online", listener: (worker: Worker) => void): this;
once(event: "setup", listener: (settings: ClusterSettings) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "disconnect", listener: (worker: Worker) => void): this;
prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
prependListener(event: "fork", listener: (worker: Worker) => void): this;
prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
prependListener(event: "online", listener: (worker: Worker) => void): this;
prependListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): this;
prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): this;
prependOnceListener(event: "fork", listener: (worker: Worker) => void): this;
prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): this;
// the handle is a net.Socket or net.Server object, or undefined.
prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;
prependOnceListener(event: "online", listener: (worker: Worker) => void): this;
prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): this;
}
const SCHED_NONE: number;
const SCHED_RR: number;
function disconnect(callback?: () => void): void;
function fork(env?: any): Worker;
const isMaster: boolean;
const isWorker: boolean;
let schedulingPolicy: number;
const settings: ClusterSettings;
function setupMaster(settings?: ClusterSettings): void;
const worker: Worker;
const workers: NodeJS.Dict<Worker>;
/**
* events.EventEmitter
* 1. disconnect
* 2. exit
* 3. fork
* 4. listening
* 5. message
* 6. online
* 7. setup
*/
function addListener(event: string, listener: (...args: any[]) => void): Cluster;
function addListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
function addListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
function addListener(event: "fork", listener: (worker: Worker) => void): Cluster;
function addListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
// the handle is a net.Socket or net.Server object, or undefined.
function addListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
function addListener(event: "online", listener: (worker: Worker) => void): Cluster;
function addListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
function emit(event: string | symbol, ...args: any[]): boolean;
function emit(event: "disconnect", worker: Worker): boolean;
function emit(event: "exit", worker: Worker, code: number, signal: string): boolean;
function emit(event: "fork", worker: Worker): boolean;
function emit(event: "listening", worker: Worker, address: Address): boolean;
function emit(event: "message", worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
function emit(event: "online", worker: Worker): boolean;
function emit(event: "setup", settings: ClusterSettings): boolean;
function on(event: string, listener: (...args: any[]) => void): Cluster;
function on(event: "disconnect", listener: (worker: Worker) => void): Cluster;
function on(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
function on(event: "fork", listener: (worker: Worker) => void): Cluster;
function on(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
function on(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined.
function on(event: "online", listener: (worker: Worker) => void): Cluster;
function on(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
function once(event: string, listener: (...args: any[]) => void): Cluster;
function once(event: "disconnect", listener: (worker: Worker) => void): Cluster;
function once(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
function once(event: "fork", listener: (worker: Worker) => void): Cluster;
function once(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
function once(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster; // the handle is a net.Socket or net.Server object, or undefined.
function once(event: "online", listener: (worker: Worker) => void): Cluster;
function once(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
function removeListener(event: string, listener: (...args: any[]) => void): Cluster;
function removeAllListeners(event?: string): Cluster;
function setMaxListeners(n: number): Cluster;
function getMaxListeners(): number;
function listeners(event: string): Function[];
function listenerCount(type: string): number;
function prependListener(event: string, listener: (...args: any[]) => void): Cluster;
function prependListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
function prependListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
function prependListener(event: "fork", listener: (worker: Worker) => void): Cluster;
function prependListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
// the handle is a net.Socket or net.Server object, or undefined.
function prependListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
function prependListener(event: "online", listener: (worker: Worker) => void): Cluster;
function prependListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
function prependOnceListener(event: string, listener: (...args: any[]) => void): Cluster;
function prependOnceListener(event: "disconnect", listener: (worker: Worker) => void): Cluster;
function prependOnceListener(event: "exit", listener: (worker: Worker, code: number, signal: string) => void): Cluster;
function prependOnceListener(event: "fork", listener: (worker: Worker) => void): Cluster;
function prependOnceListener(event: "listening", listener: (worker: Worker, address: Address) => void): Cluster;
// the handle is a net.Socket or net.Server object, or undefined.
function prependOnceListener(event: "message", listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): Cluster;
function prependOnceListener(event: "online", listener: (worker: Worker) => void): Cluster;
function prependOnceListener(event: "setup", listener: (settings: ClusterSettings) => void): Cluster;
function eventNames(): string[];
}

View File

@ -1 +1,136 @@
declare module'node:console'{export=console;}declare module'console'{import{InspectOptions}from'node:util';global{interface Console{Console:NodeJS.ConsoleConstructor;assert(value:any,message?:string,...optionalParams:any[]):void;clear():void;count(label?:string):void;countReset(label?:string):void;debug(message?:any,...optionalParams:any[]):void;dir(obj:any,options?:InspectOptions):void;dirxml(...data:any[]):void;error(message?:any,...optionalParams:any[]):void;group(...label:any[]):void;groupCollapsed(...label:any[]):void;groupEnd():void;info(message?:any,...optionalParams:any[]):void;log(message?:any,...optionalParams:any[]):void;table(tabularData:any,properties?:ReadonlyArray<string>):void;time(label?:string):void;timeEnd(label?:string):void;timeLog(label?:string,...data:any[]):void;trace(message?:any,...optionalParams:any[]):void;warn(message?:any,...optionalParams:any[]):void;profile(label?:string):void;profileEnd(label?:string):void;timeStamp(label?:string):void;}var console:Console;namespace NodeJS{interface ConsoleConstructorOptions{stdout:WritableStream;stderr?:WritableStream;ignoreErrors?:boolean;colorMode?:boolean|'auto';inspectOptions?:InspectOptions;}interface ConsoleConstructor{prototype:Console;new(stdout:WritableStream,stderr?:WritableStream,ignoreErrors?:boolean):Console;new(options:ConsoleConstructorOptions):Console;}interface Global{console:typeof console;}}}export=console;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'console' {
import { InspectOptions } from 'util';
global {
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
interface Console {
Console: NodeJS.ConsoleConstructor;
/**
* A simple assertion test that verifies whether `value` is truthy.
* If it is not, an `AssertionError` is thrown.
* If provided, the error `message` is formatted using `util.format()` and used as the error message.
*/
assert(value: any, message?: string, ...optionalParams: any[]): void;
/**
* When `stdout` is a TTY, calling `console.clear()` will attempt to clear the TTY.
* When `stdout` is not a TTY, this method does nothing.
*/
clear(): void;
/**
* Maintains an internal counter specific to `label` and outputs to `stdout` the number of times `console.count()` has been called with the given `label`.
*/
count(label?: string): void;
/**
* Resets the internal counter specific to `label`.
*/
countReset(label?: string): void;
/**
* The `console.debug()` function is an alias for {@link console.log}.
*/
debug(message?: any, ...optionalParams: any[]): void;
/**
* Uses {@link util.inspect} on `obj` and prints the resulting string to `stdout`.
* This function bypasses any custom `inspect()` function defined on `obj`.
*/
dir(obj: any, options?: InspectOptions): void;
/**
* This method calls {@link console.log} passing it the arguments received. Please note that this method does not produce any XML formatting
*/
dirxml(...data: any[]): void;
/**
* Prints to `stderr` with newline.
*/
error(message?: any, ...optionalParams: any[]): void;
/**
* Increases indentation of subsequent lines by two spaces.
* If one or more `label`s are provided, those are printed first without the additional indentation.
*/
group(...label: any[]): void;
/**
* The `console.groupCollapsed()` function is an alias for {@link console.group}.
*/
groupCollapsed(...label: any[]): void;
/**
* Decreases indentation of subsequent lines by two spaces.
*/
groupEnd(): void;
/**
* The {@link console.info} function is an alias for {@link console.log}.
*/
info(message?: any, ...optionalParams: any[]): void;
/**
* Prints to `stdout` with newline.
*/
log(message?: any, ...optionalParams: any[]): void;
/**
* This method does not display anything unless used in the inspector.
* Prints to `stdout` the array `array` formatted as a table.
*/
table(tabularData: any, properties?: ReadonlyArray<string>): void;
/**
* Starts a timer that can be used to compute the duration of an operation. Timers are identified by a unique `label`.
*/
time(label?: string): void;
/**
* Stops a timer that was previously started by calling {@link console.time} and prints the result to `stdout`.
*/
timeEnd(label?: string): void;
/**
* For a timer that was previously started by calling {@link console.time}, prints the elapsed time and other `data` arguments to `stdout`.
*/
timeLog(label?: string, ...data: any[]): void;
/**
* Prints to `stderr` the string 'Trace :', followed by the {@link util.format} formatted message and stack trace to the current position in the code.
*/
trace(message?: any, ...optionalParams: any[]): void;
/**
* The {@link console.warn} function is an alias for {@link console.error}.
*/
warn(message?: any, ...optionalParams: any[]): void;
// --- Inspector mode only ---
/**
* This method does not display anything unless used in the inspector.
* Starts a JavaScript CPU profile with an optional label.
*/
profile(label?: string): void;
/**
* This method does not display anything unless used in the inspector.
* Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector.
*/
profileEnd(label?: string): void;
/**
* This method does not display anything unless used in the inspector.
* Adds an event with the label `label` to the Timeline panel of the inspector.
*/
timeStamp(label?: string): void;
}
var console: Console;
namespace NodeJS {
interface ConsoleConstructorOptions {
stdout: WritableStream;
stderr?: WritableStream | undefined;
ignoreErrors?: boolean | undefined;
colorMode?: boolean | 'auto' | undefined;
inspectOptions?: InspectOptions | undefined;
}
interface ConsoleConstructor {
prototype: Console;
new(stdout: WritableStream, stderr?: WritableStream, ignoreErrors?: boolean): Console;
new(options: ConsoleConstructorOptions): Console;
}
interface Global {
console: typeof console;
}
}
}
export = console;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,144 @@
declare module'node:dgram'{export*from'dgram';}declare module'dgram'{import{AddressInfo}from'node:net';import*as dns from'node:dns';import EventEmitter=require('node:events');interface RemoteInfo{address:string;family:'IPv4'|'IPv6';port:number;size:number;}interface BindOptions{port?:number;address?:string;exclusive?:boolean;fd?:number;}type SocketType="udp4"|"udp6";interface SocketOptions{type:SocketType;reuseAddr?:boolean;ipv6Only?:boolean;recvBufferSize?:number;sendBufferSize?:number;lookup?:(hostname:string,options:dns.LookupOneOptions,callback:(err:NodeJS.ErrnoException|null,address:string,family:number)=>void)=>void;}function createSocket(type:SocketType,callback?:(msg:Buffer,rinfo:RemoteInfo)=>void):Socket;function createSocket(options:SocketOptions,callback?:(msg:Buffer,rinfo:RemoteInfo)=>void):Socket;class Socket extends EventEmitter{addMembership(multicastAddress:string,multicastInterface?:string):void;address():AddressInfo;bind(port?:number,address?:string,callback?:()=>void):void;bind(port?:number,callback?:()=>void):void;bind(callback?:()=>void):void;bind(options:BindOptions,callback?:()=>void):void;close(callback?:()=>void):void;connect(port:number,address?:string,callback?:()=>void):void;connect(port:number,callback:()=>void):void;disconnect():void;dropMembership(multicastAddress:string,multicastInterface?:string):void;getRecvBufferSize():number;getSendBufferSize():number;ref():this;remoteAddress():AddressInfo;send(msg:string|Uint8Array|ReadonlyArray<any>,port?:number,address?:string,callback?:(error:Error|null,bytes:number)=>void):void;send(msg:string|Uint8Array|ReadonlyArray<any>,port?:number,callback?:(error:Error|null,bytes:number)=>void):void;send(msg:string|Uint8Array|ReadonlyArray<any>,callback?:(error:Error|null,bytes:number)=>void):void;send(msg:string|Uint8Array,offset:number,length:number,port?:number,address?:string,callback?:(error:Error|null,bytes:number)=>void):void;send(msg:string|Uint8Array,offset:number,length:number,port?:number,callback?:(error:Error|null,bytes:number)=>void):void;send(msg:string|Uint8Array,offset:number,length:number,callback?:(error:Error|null,bytes:number)=>void):void;setBroadcast(flag:boolean):void;setMulticastInterface(multicastInterface:string):void;setMulticastLoopback(flag:boolean):void;setMulticastTTL(ttl:number):void;setRecvBufferSize(size:number):void;setSendBufferSize(size:number):void;setTTL(ttl:number):void;unref():this;addSourceSpecificMembership(sourceAddress:string,groupAddress:string,multicastInterface?:string):void;dropSourceSpecificMembership(sourceAddress:string,groupAddress:string,multicastInterface?:string):void;addListener(event:string,listener:(...args:any[])=>void):this;addListener(event:"close",listener:()=>void):this;addListener(event:"connect",listener:()=>void):this;addListener(event:"error",listener:(err:Error)=>void):this;addListener(event:"listening",listener:()=>void):this;addListener(event:"message",listener:(msg:Buffer,rinfo:RemoteInfo)=>void):this;emit(event:string|symbol,...args:any[]):boolean;emit(event:"close"):boolean;emit(event:"connect"):boolean;emit(event:"error",err:Error):boolean;emit(event:"listening"):boolean;emit(event:"message",msg:Buffer,rinfo:RemoteInfo):boolean;on(event:string,listener:(...args:any[])=>void):this;on(event:"close",listener:()=>void):this;on(event:"connect",listener:()=>void):this;on(event:"error",listener:(err:Error)=>void):this;on(event:"listening",listener:()=>void):this;on(event:"message",listener:(msg:Buffer,rinfo:RemoteInfo)=>void):this;once(event:string,listener:(...args:any[])=>void):this;once(event:"close",listener:()=>void):this;once(event:"connect",listener:()=>void):this;once(event:"error",listener:(err:Error)=>void):this;once(event:"listening",listener:()=>void):this;once(event:"message",listener:(msg:Buffer,rinfo:RemoteInfo)=>void):this;prependListener(event:string,listener:(...args:any[])=>void):this;prependListener(event:"close",listener:()=>void):this;prependListener(event:"connect",listener:()=>void):this;prependListener(event:"error",listener:(err:Error)=>void):this;prependListener(event:"listening",listener:()=>void):this;prependListener(event:"message",listener:(msg:Buffer,rinfo:RemoteInfo)=>void):this;prependOnceListener(event:string,listener:(...args:any[])=>void):this;prependOnceListener(event:"close",listener:()=>void):this;prependOnceListener(event:"connect",listener:()=>void):this;prependOnceListener(event:"error",listener:(err:Error)=>void):this;prependOnceListener(event:"listening",listener:()=>void):this;prependOnceListener(event:"message",listener:(msg:Buffer,rinfo:RemoteInfo)=>void):this;}}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'dgram' {
import { AddressInfo } from 'net';
import * as dns from 'dns';
import EventEmitter = require('events');
interface RemoteInfo {
address: string;
family: 'IPv4' | 'IPv6';
port: number;
size: number;
}
interface BindOptions {
port?: number | undefined;
address?: string | undefined;
exclusive?: boolean | undefined;
fd?: number | undefined;
}
type SocketType = "udp4" | "udp6";
interface SocketOptions {
type: SocketType;
reuseAddr?: boolean | undefined;
/**
* @default false
*/
ipv6Only?: boolean | undefined;
recvBufferSize?: number | undefined;
sendBufferSize?: number | undefined;
lookup?: ((hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void) | undefined;
}
function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
class Socket extends EventEmitter {
addMembership(multicastAddress: string, multicastInterface?: string): void;
address(): AddressInfo;
bind(port?: number, address?: string, callback?: () => void): void;
bind(port?: number, callback?: () => void): void;
bind(callback?: () => void): void;
bind(options: BindOptions, callback?: () => void): void;
close(callback?: () => void): void;
connect(port: number, address?: string, callback?: () => void): void;
connect(port: number, callback: () => void): void;
disconnect(): void;
dropMembership(multicastAddress: string, multicastInterface?: string): void;
getRecvBufferSize(): number;
getSendBufferSize(): number;
ref(): this;
remoteAddress(): AddressInfo;
send(msg: string | Uint8Array | ReadonlyArray<any>, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
send(msg: string | Uint8Array | ReadonlyArray<any>, port?: number, callback?: (error: Error | null, bytes: number) => void): void;
send(msg: string | Uint8Array | ReadonlyArray<any>, callback?: (error: Error | null, bytes: number) => void): void;
send(msg: string | Uint8Array, offset: number, length: number, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
send(msg: string | Uint8Array, offset: number, length: number, port?: number, callback?: (error: Error | null, bytes: number) => void): void;
send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void;
setBroadcast(flag: boolean): void;
setMulticastInterface(multicastInterface: string): void;
setMulticastLoopback(flag: boolean): void;
setMulticastTTL(ttl: number): void;
setRecvBufferSize(size: number): void;
setSendBufferSize(size: number): void;
setTTL(ttl: number): void;
unref(): this;
/**
* Tells the kernel to join a source-specific multicast channel at the given
* `sourceAddress` and `groupAddress`, using the `multicastInterface` with the
* `IP_ADD_SOURCE_MEMBERSHIP` socket option.
* If the `multicastInterface` argument
* is not specified, the operating system will choose one interface and will add
* membership to it.
* To add membership to every available interface, call
* `socket.addSourceSpecificMembership()` multiple times, once per interface.
*/
addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
/**
* Instructs the kernel to leave a source-specific multicast channel at the given
* `sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`
* socket option. This method is automatically called by the kernel when the
* socket is closed or the process terminates, so most apps will never have
* reason to call this.
*
* If `multicastInterface` is not specified, the operating system will attempt to
* drop membership on all valid interfaces.
*/
dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
/**
* events.EventEmitter
* 1. close
* 2. connect
* 3. error
* 4. listening
* 5. message
*/
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "close", listener: () => void): this;
addListener(event: "connect", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "listening", listener: () => void): this;
addListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "close"): boolean;
emit(event: "connect"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "listening"): boolean;
emit(event: "message", msg: Buffer, rinfo: RemoteInfo): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "close", listener: () => void): this;
on(event: "connect", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "listening", listener: () => void): this;
on(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "connect", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "listening", listener: () => void): this;
once(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "connect", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "listening", listener: () => void): this;
prependListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "connect", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "listening", listener: () => void): this;
prependOnceListener(event: "message", listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
}
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,27 @@
declare module'node:domain'{export*from'domain';}declare module'domain'{import EventEmitter=require('node:events');global{namespace NodeJS{interface Domain extends EventEmitter{run<T>(fn:(...args:any[])=>T,...args:any[]):T;add(emitter:EventEmitter|Timer):void;remove(emitter:EventEmitter|Timer):void;bind<T extends Function>(cb:T):T;intercept<T extends Function>(cb:T):T;}}}interface Domain extends NodeJS.Domain{}class Domain extends EventEmitter{members:Array<EventEmitter|NodeJS.Timer>;enter():void;exit():void;}function create():Domain;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'domain' {
import EventEmitter = require('events');
global {
namespace NodeJS {
interface Domain extends EventEmitter {
run<T>(fn: (...args: any[]) => T, ...args: any[]): T;
add(emitter: EventEmitter | Timer): void;
remove(emitter: EventEmitter | Timer): void;
bind<T extends Function>(cb: T): T;
intercept<T extends Function>(cb: T): T;
}
}
}
interface Domain extends NodeJS.Domain {}
class Domain extends EventEmitter {
members: Array<EventEmitter | NodeJS.Timer>;
enter(): void;
exit(): void;
}
function create(): Domain;
}

View File

@ -1 +1,81 @@
declare module'node:events'{import EventEmitter=require('events');export=EventEmitter;}declare module'events'{interface EventEmitterOptions{captureRejections?:boolean;}interface NodeEventTarget{once(event:string|symbol,listener:(...args:any[])=>void):this;}interface DOMEventTarget{addEventListener(event:string,listener:(...args:any[])=>void,opts?:{once:boolean}):any;}interface EventEmitter extends NodeJS.EventEmitter{}class EventEmitter{constructor(options?:EventEmitterOptions);static once(emitter:NodeEventTarget,event:string|symbol):Promise<any[]>;static once(emitter:DOMEventTarget,event:string):Promise<any[]>;static on(emitter:NodeJS.EventEmitter,event:string):AsyncIterableIterator<any>;static listenerCount(emitter:NodeJS.EventEmitter,event:string|symbol):number;static readonly errorMonitor:unique symbol;static readonly captureRejectionSymbol:unique symbol;static captureRejections:boolean;static defaultMaxListeners:number;}import internal=require('events');namespace EventEmitter{export{internal as EventEmitter};}global{namespace NodeJS{interface EventEmitter{addListener(event:string|symbol,listener:(...args:any[])=>void):this;on(event:string|symbol,listener:(...args:any[])=>void):this;once(event:string|symbol,listener:(...args:any[])=>void):this;removeListener(event:string|symbol,listener:(...args:any[])=>void):this;off(event:string|symbol,listener:(...args:any[])=>void):this;removeAllListeners(event?:string|symbol):this;setMaxListeners(n:number):this;getMaxListeners():number;listeners(event:string|symbol):Function[];rawListeners(event:string|symbol):Function[];emit(event:string|symbol,...args:any[]):boolean;listenerCount(event:string|symbol):number;prependListener(event:string|symbol,listener:(...args:any[])=>void):this;prependOnceListener(event:string|symbol,listener:(...args:any[])=>void):this;eventNames():Array<string|symbol>;}}}export=EventEmitter;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'events' {
interface EventEmitterOptions {
/**
* Enables automatic capturing of promise rejection.
*/
captureRejections?: boolean | undefined;
}
interface NodeEventTarget {
once(event: string | symbol, listener: (...args: any[]) => void): this;
}
interface DOMEventTarget {
addEventListener(event: string, listener: (...args: any[]) => void, opts?: { once: boolean }): any;
}
interface EventEmitter extends NodeJS.EventEmitter {}
class EventEmitter {
constructor(options?: EventEmitterOptions);
static once(emitter: NodeEventTarget, event: string | symbol): Promise<any[]>;
static once(emitter: DOMEventTarget, event: string): Promise<any[]>;
static on(emitter: NodeJS.EventEmitter, event: string): AsyncIterableIterator<any>;
/** @deprecated since v4.0.0 */
static listenerCount(emitter: NodeJS.EventEmitter, event: string | symbol): number;
/**
* This symbol shall be used to install a listener for only monitoring `'error'`
* events. Listeners installed using this symbol are called before the regular
* `'error'` listeners are called.
*
* Installing a listener using this symbol does not change the behavior once an
* `'error'` event is emitted, therefore the process will still crash if no
* regular `'error'` listener is installed.
*/
static readonly errorMonitor: unique symbol;
static readonly captureRejectionSymbol: unique symbol;
/**
* Sets or gets the default captureRejection value for all emitters.
*/
// TODO: These should be described using static getter/setter pairs:
static captureRejections: boolean;
static defaultMaxListeners: number;
}
import internal = require('events');
namespace EventEmitter {
// Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4
export { internal as EventEmitter };
}
global {
namespace NodeJS {
interface EventEmitter {
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
off(event: string | symbol, listener: (...args: any[]) => void): this;
removeAllListeners(event?: string | symbol): this;
setMaxListeners(n: number): this;
getMaxListeners(): number;
listeners(event: string | symbol): Function[];
rawListeners(event: string | symbol): Function[];
emit(event: string | symbol, ...args: any[]): boolean;
listenerCount(event: string | symbol): number;
// Added in Node 6...
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
eventNames(): Array<string | symbol>;
}
}
}
export = EventEmitter;
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,568 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'fs/promises' {
import {
Stats,
BigIntStats,
StatOptions,
WriteVResult,
ReadVResult,
PathLike,
RmDirOptions,
RmOptions,
MakeDirectoryOptions,
Dirent,
OpenDirOptions,
Dir,
BaseEncodingOptions,
BufferEncodingOption,
OpenMode,
Mode,
} from 'fs';
interface FileHandle {
/**
* Gets the file descriptor for this file handle.
*/
readonly fd: number;
/**
* Asynchronously append data to a file, creating the file if it does not exist. The underlying file will _not_ be closed automatically.
* The `FileHandle` must have been opened for appending.
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
* If `encoding` is not supplied, the default of `'utf8'` is used.
* If `mode` is not supplied, the default of `0o666` is used.
* If `mode` is a string, it is parsed as an octal integer.
* If `flag` is not supplied, the default of `'a'` is used.
*/
appendFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null): Promise<void>;
/**
* Asynchronous fchown(2) - Change ownership of a file.
*/
chown(uid: number, gid: number): Promise<void>;
/**
* Asynchronous fchmod(2) - Change permissions of a file.
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
*/
chmod(mode: Mode): Promise<void>;
/**
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
*/
datasync(): Promise<void>;
/**
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
*/
sync(): Promise<void>;
/**
* Asynchronously reads data from the file.
* The `FileHandle` must have been opened for reading.
* @param buffer The buffer that the data will be written to.
* @param offset The offset in the buffer at which to start writing.
* @param length The number of bytes to read.
* @param position The offset from the beginning of the file from which data should be read. If `null`, data will be read from the current position.
*/
read<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesRead: number, buffer: TBuffer }>;
/**
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
* The `FileHandle` must have been opened for reading.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
readFile(options?: { encoding?: null | undefined, flag?: OpenMode | undefined } | null): Promise<Buffer>;
/**
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
* The `FileHandle` must have been opened for reading.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
readFile(options: { encoding: BufferEncoding, flag?: OpenMode | undefined } | BufferEncoding): Promise<string>;
/**
* Asynchronously reads the entire contents of a file. The underlying file will _not_ be closed automatically.
* The `FileHandle` must have been opened for reading.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
readFile(options?: BaseEncodingOptions & { flag?: OpenMode | undefined } | BufferEncoding | null): Promise<string | Buffer>;
/**
* Asynchronous fstat(2) - Get file status.
*/
stat(opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
stat(opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
stat(opts?: StatOptions): Promise<Stats | BigIntStats>;
/**
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
* @param len If not specified, defaults to `0`.
*/
truncate(len?: number): Promise<void>;
/**
* Asynchronously change file timestamps of the file.
* @param atime The last access time. If a string is provided, it will be coerced to number.
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
*/
utimes(atime: string | number | Date, mtime: string | number | Date): Promise<void>;
/**
* Asynchronously writes `buffer` to the file.
* The `FileHandle` must have been opened for writing.
* @param buffer The buffer that the data will be written to.
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
*/
write<TBuffer extends Uint8Array>(buffer: TBuffer, offset?: number | null, length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
/**
* Asynchronously writes `string` to the file.
* The `FileHandle` must have been opened for writing.
* It is unsafe to call `write()` multiple times on the same file without waiting for the `Promise`
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
* @param string A string to write.
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
* @param encoding The expected string encoding.
*/
write(data: string | Uint8Array, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>;
/**
* Asynchronously writes data to a file, replacing the file if it already exists. The underlying file will _not_ be closed automatically.
* The `FileHandle` must have been opened for writing.
* It is unsafe to call `writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
* If `encoding` is not supplied, the default of `'utf8'` is used.
* If `mode` is not supplied, the default of `0o666` is used.
* If `mode` is a string, it is parsed as an octal integer.
* If `flag` is not supplied, the default of `'w'` is used.
*/
writeFile(data: string | Uint8Array, options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null): Promise<void>;
/**
* See `fs.writev` promisified version.
*/
writev(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<WriteVResult>;
/**
* See `fs.readv` promisified version.
*/
readv(buffers: ReadonlyArray<NodeJS.ArrayBufferView>, position?: number): Promise<ReadVResult>;
/**
* Asynchronous close(2) - close a `FileHandle`.
*/
close(): Promise<void>;
}
/**
* Asynchronously tests a user's permissions for the file specified by path.
* @param path A path to a file or directory. If a URL is provided, it must use the `file:` protocol.
* URL support is _experimental_.
*/
function access(path: PathLike, mode?: number): Promise<void>;
/**
* Asynchronously copies `src` to `dest`. By default, `dest` is overwritten if it already exists.
* Node.js makes no guarantees about the atomicity of the copy operation.
* If an error occurs after the destination file has been opened for writing, Node.js will attempt
* to remove the destination.
* @param src A path to the source file.
* @param dest A path to the destination file.
* @param flags An optional integer that specifies the behavior of the copy operation. The only
* supported flag is `fs.constants.COPYFILE_EXCL`, which causes the copy operation to fail if
* `dest` already exists.
*/
function copyFile(src: PathLike, dest: PathLike, flags?: number): Promise<void>;
/**
* Asynchronous open(2) - open and possibly create a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param mode A file mode. If a string is passed, it is parsed as an octal integer. If not
* supplied, defaults to `0o666`.
*/
function open(path: PathLike, flags: string | number, mode?: Mode): Promise<FileHandle>;
/**
* Asynchronously reads data from the file referenced by the supplied `FileHandle`.
* @param handle A `FileHandle`.
* @param buffer The buffer that the data will be written to.
* @param offset The offset in the buffer at which to start writing.
* @param length The number of bytes to read.
* @param position The offset from the beginning of the file from which data should be read. If
* `null`, data will be read from the current position.
*/
function read<TBuffer extends Uint8Array>(
handle: FileHandle,
buffer: TBuffer,
offset?: number | null,
length?: number | null,
position?: number | null,
): Promise<{ bytesRead: number, buffer: TBuffer }>;
/**
* Asynchronously writes `buffer` to the file referenced by the supplied `FileHandle`.
* It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
* @param handle A `FileHandle`.
* @param buffer The buffer that the data will be written to.
* @param offset The part of the buffer to be written. If not supplied, defaults to `0`.
* @param length The number of bytes to write. If not supplied, defaults to `buffer.length - offset`.
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
*/
function write<TBuffer extends Uint8Array>(
handle: FileHandle,
buffer: TBuffer,
offset?: number | null,
length?: number | null, position?: number | null): Promise<{ bytesWritten: number, buffer: TBuffer }>;
/**
* Asynchronously writes `string` to the file referenced by the supplied `FileHandle`.
* It is unsafe to call `fsPromises.write()` multiple times on the same file without waiting for the `Promise`
* to be resolved (or rejected). For this scenario, `fs.createWriteStream` is strongly recommended.
* @param handle A `FileHandle`.
* @param string A string to write.
* @param position The offset from the beginning of the file where this data should be written. If not supplied, defaults to the current position.
* @param encoding The expected string encoding.
*/
function write(handle: FileHandle, string: string, position?: number | null, encoding?: BufferEncoding | null): Promise<{ bytesWritten: number, buffer: string }>;
/**
* Asynchronous rename(2) - Change the name or location of a file or directory.
* @param oldPath A path to a file. If a URL is provided, it must use the `file:` protocol.
* URL support is _experimental_.
* @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
* URL support is _experimental_.
*/
function rename(oldPath: PathLike, newPath: PathLike): Promise<void>;
/**
* Asynchronous truncate(2) - Truncate a file to a specified length.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param len If not specified, defaults to `0`.
*/
function truncate(path: PathLike, len?: number): Promise<void>;
/**
* Asynchronous ftruncate(2) - Truncate a file to a specified length.
* @param handle A `FileHandle`.
* @param len If not specified, defaults to `0`.
*/
function ftruncate(handle: FileHandle, len?: number): Promise<void>;
/**
* Asynchronous rmdir(2) - delete a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function rmdir(path: PathLike, options?: RmDirOptions): Promise<void>;
/**
* Asynchronously removes files and directories (modeled on the standard POSIX `rm` utility).
*/
function rm(path: PathLike, options?: RmOptions): Promise<void>;
/**
* Asynchronous fdatasync(2) - synchronize a file's in-core state with storage device.
* @param handle A `FileHandle`.
*/
function fdatasync(handle: FileHandle): Promise<void>;
/**
* Asynchronous fsync(2) - synchronize a file's in-core state with the underlying storage device.
* @param handle A `FileHandle`.
*/
function fsync(handle: FileHandle): Promise<void>;
/**
* Asynchronous mkdir(2) - create a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
*/
function mkdir(path: PathLike, options: MakeDirectoryOptions & { recursive: true; }): Promise<string | undefined>;
/**
* Asynchronous mkdir(2) - create a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
*/
function mkdir(path: PathLike, options?: Mode | (MakeDirectoryOptions & { recursive?: false | undefined; }) | null): Promise<void>;
/**
* Asynchronous mkdir(2) - create a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options Either the file mode, or an object optionally specifying the file mode and whether parent folders
* should be created. If a string is passed, it is parsed as an octal integer. If not specified, defaults to `0o777`.
*/
function mkdir(path: PathLike, options?: Mode | MakeDirectoryOptions | null): Promise<string | undefined>;
/**
* Asynchronous readdir(3) - read a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[]>;
/**
* Asynchronous readdir(3) - read a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readdir(path: PathLike, options: { encoding: "buffer"; withFileTypes?: false | undefined } | "buffer"): Promise<Buffer[]>;
/**
* Asynchronous readdir(3) - read a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readdir(path: PathLike, options?: BaseEncodingOptions & { withFileTypes?: false | undefined } | BufferEncoding | null): Promise<string[] | Buffer[]>;
/**
* Asynchronous readdir(3) - read a directory.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options If called with `withFileTypes: true` the result data will be an array of Dirent.
*/
function readdir(path: PathLike, options: BaseEncodingOptions & { withFileTypes: true }): Promise<Dirent[]>;
/**
* Asynchronous readlink(2) - read value of a symbolic link.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readlink(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
/**
* Asynchronous readlink(2) - read value of a symbolic link.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readlink(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
/**
* Asynchronous readlink(2) - read value of a symbolic link.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function readlink(path: PathLike, options?: BaseEncodingOptions | string | null): Promise<string | Buffer>;
/**
* Asynchronous symlink(2) - Create a new symbolic link to an existing file.
* @param target A path to an existing file. If a URL is provided, it must use the `file:` protocol.
* @param path A path to the new symlink. If a URL is provided, it must use the `file:` protocol.
* @param type May be set to `'dir'`, `'file'`, or `'junction'` (default is `'file'`) and is only available on Windows (ignored on other platforms).
* When using `'junction'`, the `target` argument will automatically be normalized to an absolute path.
*/
function symlink(target: PathLike, path: PathLike, type?: string | null): Promise<void>;
/**
* Asynchronous lstat(2) - Get file status. Does not dereference symbolic links.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function lstat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
function lstat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
function lstat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
/**
* Asynchronous stat(2) - Get file status.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function stat(path: PathLike, opts?: StatOptions & { bigint?: false | undefined }): Promise<Stats>;
function stat(path: PathLike, opts: StatOptions & { bigint: true }): Promise<BigIntStats>;
function stat(path: PathLike, opts?: StatOptions): Promise<Stats | BigIntStats>;
/**
* Asynchronous link(2) - Create a new link (also known as a hard link) to an existing file.
* @param existingPath A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param newPath A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function link(existingPath: PathLike, newPath: PathLike): Promise<void>;
/**
* Asynchronous unlink(2) - delete a name and possibly the file it refers to.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function unlink(path: PathLike): Promise<void>;
/**
* Asynchronous fchmod(2) - Change permissions of a file.
* @param handle A `FileHandle`.
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
*/
function fchmod(handle: FileHandle, mode: Mode): Promise<void>;
/**
* Asynchronous chmod(2) - Change permissions of a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
*/
function chmod(path: PathLike, mode: Mode): Promise<void>;
/**
* Asynchronous lchmod(2) - Change permissions of a file. Does not dereference symbolic links.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param mode A file mode. If a string is passed, it is parsed as an octal integer.
*/
function lchmod(path: PathLike, mode: Mode): Promise<void>;
/**
* Asynchronous lchown(2) - Change ownership of a file. Does not dereference symbolic links.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function lchown(path: PathLike, uid: number, gid: number): Promise<void>;
/**
* Changes the access and modification times of a file in the same way as `fsPromises.utimes()`,
* with the difference that if the path refers to a symbolic link, then the link is not
* dereferenced: instead, the timestamps of the symbolic link itself are changed.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param atime The last access time. If a string is provided, it will be coerced to number.
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
*/
function lutimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
/**
* Asynchronous fchown(2) - Change ownership of a file.
* @param handle A `FileHandle`.
*/
function fchown(handle: FileHandle, uid: number, gid: number): Promise<void>;
/**
* Asynchronous chown(2) - Change ownership of a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
*/
function chown(path: PathLike, uid: number, gid: number): Promise<void>;
/**
* Asynchronously change file timestamps of the file referenced by the supplied path.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param atime The last access time. If a string is provided, it will be coerced to number.
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
*/
function utimes(path: PathLike, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
/**
* Asynchronously change file timestamps of the file referenced by the supplied `FileHandle`.
* @param handle A `FileHandle`.
* @param atime The last access time. If a string is provided, it will be coerced to number.
* @param mtime The last modified time. If a string is provided, it will be coerced to number.
*/
function futimes(handle: FileHandle, atime: string | number | Date, mtime: string | number | Date): Promise<void>;
/**
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
/**
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function realpath(path: PathLike, options: BufferEncodingOption): Promise<Buffer>;
/**
* Asynchronous realpath(3) - return the canonicalized absolute pathname.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function realpath(path: PathLike, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
/**
* Asynchronously creates a unique temporary directory.
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string>;
/**
* Asynchronously creates a unique temporary directory.
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function mkdtemp(prefix: string, options: BufferEncodingOption): Promise<Buffer>;
/**
* Asynchronously creates a unique temporary directory.
* Generates six random characters to be appended behind a required `prefix` to create a unique temporary directory.
* @param options The encoding (or an object specifying the encoding), used as the encoding of the result. If not provided, `'utf8'` is used.
*/
function mkdtemp(prefix: string, options?: BaseEncodingOptions | BufferEncoding | null): Promise<string | Buffer>;
/**
* Asynchronously writes data to a file, replacing the file if it already exists.
* It is unsafe to call `fsPromises.writeFile()` multiple times on the same file without waiting for the `Promise` to be resolved (or rejected).
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* URL support is _experimental_.
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
* If `encoding` is not supplied, the default of `'utf8'` is used.
* If `mode` is not supplied, the default of `0o666` is used.
* If `mode` is a string, it is parsed as an octal integer.
* If `flag` is not supplied, the default of `'w'` is used.
*/
function writeFile(
path: PathLike | FileHandle,
data: string | Uint8Array,
options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null
): Promise<void>;
/**
* Asynchronously append data to a file, creating the file if it does not exist.
* @param file A path to a file. If a URL is provided, it must use the `file:` protocol.
* URL support is _experimental_.
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
* @param data The data to write. If something other than a `Buffer` or `Uint8Array` is provided, the value is coerced to a string.
* @param options Either the encoding for the file, or an object optionally specifying the encoding, file mode, and flag.
* If `encoding` is not supplied, the default of `'utf8'` is used.
* If `mode` is not supplied, the default of `0o666` is used.
* If `mode` is a string, it is parsed as an octal integer.
* If `flag` is not supplied, the default of `'a'` is used.
*/
function appendFile(
path: PathLike | FileHandle,
data: string | Uint8Array,
options?: BaseEncodingOptions & { mode?: Mode | undefined, flag?: OpenMode | undefined } | BufferEncoding | null
): Promise<void>;
/**
* Asynchronously reads the entire contents of a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
function readFile(path: PathLike | FileHandle, options?: { encoding?: null | undefined, flag?: OpenMode | undefined } | null): Promise<Buffer>;
/**
* Asynchronously reads the entire contents of a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
function readFile(path: PathLike | FileHandle, options: { encoding: BufferEncoding, flag?: OpenMode | undefined } | BufferEncoding): Promise<string>;
/**
* Asynchronously reads the entire contents of a file.
* @param path A path to a file. If a URL is provided, it must use the `file:` protocol.
* If a `FileHandle` is provided, the underlying file will _not_ be closed automatically.
* @param options An object that may contain an optional flag.
* If a flag is not provided, it defaults to `'r'`.
*/
function readFile(path: PathLike | FileHandle, options?: BaseEncodingOptions & { flag?: OpenMode | undefined } | BufferEncoding | null): Promise<string | Buffer>;
function opendir(path: string, options?: OpenDirOptions): Promise<Dir>;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,961 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'http2' {
import EventEmitter = require('events');
import * as fs from 'fs';
import * as net from 'net';
import * as stream from 'stream';
import * as tls from 'tls';
import * as url from 'url';
import {
IncomingHttpHeaders as Http1IncomingHttpHeaders,
OutgoingHttpHeaders,
IncomingMessage,
ServerResponse,
} from 'http';
export { OutgoingHttpHeaders } from 'http';
export interface IncomingHttpStatusHeader {
":status"?: number | undefined;
}
export interface IncomingHttpHeaders extends Http1IncomingHttpHeaders {
":path"?: string | undefined;
":method"?: string | undefined;
":authority"?: string | undefined;
":scheme"?: string | undefined;
}
// Http2Stream
export interface StreamPriorityOptions {
exclusive?: boolean | undefined;
parent?: number | undefined;
weight?: number | undefined;
silent?: boolean | undefined;
}
export interface StreamState {
localWindowSize?: number | undefined;
state?: number | undefined;
localClose?: number | undefined;
remoteClose?: number | undefined;
sumDependencyWeight?: number | undefined;
weight?: number | undefined;
}
export interface ServerStreamResponseOptions {
endStream?: boolean | undefined;
waitForTrailers?: boolean | undefined;
}
export interface StatOptions {
offset: number;
length: number;
}
export interface ServerStreamFileResponseOptions {
statCheck?(stats: fs.Stats, headers: OutgoingHttpHeaders, statOptions: StatOptions): void | boolean;
waitForTrailers?: boolean | undefined;
offset?: number | undefined;
length?: number | undefined;
}
export interface ServerStreamFileResponseOptionsWithError extends ServerStreamFileResponseOptions {
onError?(err: NodeJS.ErrnoException): void;
}
export interface Http2Stream extends stream.Duplex {
readonly aborted: boolean;
readonly bufferSize: number;
readonly closed: boolean;
readonly destroyed: boolean;
/**
* Set the true if the END_STREAM flag was set in the request or response HEADERS frame received,
* indicating that no additional data should be received and the readable side of the Http2Stream will be closed.
*/
readonly endAfterHeaders: boolean;
readonly id?: number | undefined;
readonly pending: boolean;
readonly rstCode: number;
readonly sentHeaders: OutgoingHttpHeaders;
readonly sentInfoHeaders?: OutgoingHttpHeaders[] | undefined;
readonly sentTrailers?: OutgoingHttpHeaders | undefined;
readonly session: Http2Session;
readonly state: StreamState;
close(code?: number, callback?: () => void): void;
priority(options: StreamPriorityOptions): void;
setTimeout(msecs: number, callback?: () => void): void;
sendTrailers(headers: OutgoingHttpHeaders): void;
addListener(event: "aborted", listener: () => void): this;
addListener(event: "close", listener: () => void): this;
addListener(event: "data", listener: (chunk: Buffer | string) => void): this;
addListener(event: "drain", listener: () => void): this;
addListener(event: "end", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "finish", listener: () => void): this;
addListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
addListener(event: "streamClosed", listener: (code: number) => void): this;
addListener(event: "timeout", listener: () => void): this;
addListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
addListener(event: "wantTrailers", listener: () => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "aborted"): boolean;
emit(event: "close"): boolean;
emit(event: "data", chunk: Buffer | string): boolean;
emit(event: "drain"): boolean;
emit(event: "end"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "finish"): boolean;
emit(event: "frameError", frameType: number, errorCode: number): boolean;
emit(event: "pipe", src: stream.Readable): boolean;
emit(event: "unpipe", src: stream.Readable): boolean;
emit(event: "streamClosed", code: number): boolean;
emit(event: "timeout"): boolean;
emit(event: "trailers", trailers: IncomingHttpHeaders, flags: number): boolean;
emit(event: "wantTrailers"): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "aborted", listener: () => void): this;
on(event: "close", listener: () => void): this;
on(event: "data", listener: (chunk: Buffer | string) => void): this;
on(event: "drain", listener: () => void): this;
on(event: "end", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "finish", listener: () => void): this;
on(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
on(event: "pipe", listener: (src: stream.Readable) => void): this;
on(event: "unpipe", listener: (src: stream.Readable) => void): this;
on(event: "streamClosed", listener: (code: number) => void): this;
on(event: "timeout", listener: () => void): this;
on(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
on(event: "wantTrailers", listener: () => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "aborted", listener: () => void): this;
once(event: "close", listener: () => void): this;
once(event: "data", listener: (chunk: Buffer | string) => void): this;
once(event: "drain", listener: () => void): this;
once(event: "end", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "finish", listener: () => void): this;
once(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
once(event: "pipe", listener: (src: stream.Readable) => void): this;
once(event: "unpipe", listener: (src: stream.Readable) => void): this;
once(event: "streamClosed", listener: (code: number) => void): this;
once(event: "timeout", listener: () => void): this;
once(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
once(event: "wantTrailers", listener: () => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "aborted", listener: () => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
prependListener(event: "drain", listener: () => void): this;
prependListener(event: "end", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "finish", listener: () => void): this;
prependListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
prependListener(event: "streamClosed", listener: (code: number) => void): this;
prependListener(event: "timeout", listener: () => void): this;
prependListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
prependListener(event: "wantTrailers", listener: () => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "aborted", listener: () => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
prependOnceListener(event: "drain", listener: () => void): this;
prependOnceListener(event: "end", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "finish", listener: () => void): this;
prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number) => void): this;
prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
prependOnceListener(event: "streamClosed", listener: (code: number) => void): this;
prependOnceListener(event: "timeout", listener: () => void): this;
prependOnceListener(event: "trailers", listener: (trailers: IncomingHttpHeaders, flags: number) => void): this;
prependOnceListener(event: "wantTrailers", listener: () => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
export interface ClientHttp2Stream extends Http2Stream {
addListener(event: "continue", listener: () => {}): this;
addListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
addListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
addListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "continue"): boolean;
emit(event: "headers", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
emit(event: "push", headers: IncomingHttpHeaders, flags: number): boolean;
emit(event: "response", headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "continue", listener: () => {}): this;
on(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
on(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
on(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "continue", listener: () => {}): this;
once(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
once(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
once(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "continue", listener: () => {}): this;
prependListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
prependListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "continue", listener: () => {}): this;
prependOnceListener(event: "headers", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependOnceListener(event: "push", listener: (headers: IncomingHttpHeaders, flags: number) => void): this;
prependOnceListener(event: "response", listener: (headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
export interface ServerHttp2Stream extends Http2Stream {
readonly headersSent: boolean;
readonly pushAllowed: boolean;
additionalHeaders(headers: OutgoingHttpHeaders): void;
pushStream(headers: OutgoingHttpHeaders, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
pushStream(headers: OutgoingHttpHeaders, options?: StreamPriorityOptions, callback?: (err: Error | null, pushStream: ServerHttp2Stream, headers: OutgoingHttpHeaders) => void): void;
respond(headers?: OutgoingHttpHeaders, options?: ServerStreamResponseOptions): void;
respondWithFD(fd: number | fs.promises.FileHandle, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptions): void;
respondWithFile(path: string, headers?: OutgoingHttpHeaders, options?: ServerStreamFileResponseOptionsWithError): void;
}
// Http2Session
export interface Settings {
headerTableSize?: number | undefined;
enablePush?: boolean | undefined;
initialWindowSize?: number | undefined;
maxFrameSize?: number | undefined;
maxConcurrentStreams?: number | undefined;
maxHeaderListSize?: number | undefined;
enableConnectProtocol?: boolean | undefined;
}
export interface ClientSessionRequestOptions {
endStream?: boolean | undefined;
exclusive?: boolean | undefined;
parent?: number | undefined;
weight?: number | undefined;
waitForTrailers?: boolean | undefined;
}
export interface SessionState {
effectiveLocalWindowSize?: number | undefined;
effectiveRecvDataLength?: number | undefined;
nextStreamID?: number | undefined;
localWindowSize?: number | undefined;
lastProcStreamID?: number | undefined;
remoteWindowSize?: number | undefined;
outboundQueueSize?: number | undefined;
deflateDynamicTableSize?: number | undefined;
inflateDynamicTableSize?: number | undefined;
}
export interface Http2Session extends EventEmitter {
readonly alpnProtocol?: string | undefined;
readonly closed: boolean;
readonly connecting: boolean;
readonly destroyed: boolean;
readonly encrypted?: boolean | undefined;
readonly localSettings: Settings;
readonly originSet?: string[] | undefined;
readonly pendingSettingsAck: boolean;
readonly remoteSettings: Settings;
readonly socket: net.Socket | tls.TLSSocket;
readonly state: SessionState;
readonly type: number;
close(callback?: () => void): void;
destroy(error?: Error, code?: number): void;
goaway(code?: number, lastStreamID?: number, opaqueData?: NodeJS.ArrayBufferView): void;
ping(callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
ping(payload: NodeJS.ArrayBufferView, callback: (err: Error | null, duration: number, payload: Buffer) => void): boolean;
ref(): void;
setLocalWindowSize(windowSize: number): void;
setTimeout(msecs: number, callback?: () => void): void;
settings(settings: Settings): void;
unref(): void;
addListener(event: "close", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
addListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
addListener(event: "localSettings", listener: (settings: Settings) => void): this;
addListener(event: "ping", listener: () => void): this;
addListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
addListener(event: "timeout", listener: () => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "close"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "frameError", frameType: number, errorCode: number, streamID: number): boolean;
emit(event: "goaway", errorCode: number, lastStreamID: number, opaqueData: Buffer): boolean;
emit(event: "localSettings", settings: Settings): boolean;
emit(event: "ping"): boolean;
emit(event: "remoteSettings", settings: Settings): boolean;
emit(event: "timeout"): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "close", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
on(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
on(event: "localSettings", listener: (settings: Settings) => void): this;
on(event: "ping", listener: () => void): this;
on(event: "remoteSettings", listener: (settings: Settings) => void): this;
on(event: "timeout", listener: () => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
once(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
once(event: "localSettings", listener: (settings: Settings) => void): this;
once(event: "ping", listener: () => void): this;
once(event: "remoteSettings", listener: (settings: Settings) => void): this;
once(event: "timeout", listener: () => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
prependListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
prependListener(event: "localSettings", listener: (settings: Settings) => void): this;
prependListener(event: "ping", listener: () => void): this;
prependListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
prependListener(event: "timeout", listener: () => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "frameError", listener: (frameType: number, errorCode: number, streamID: number) => void): this;
prependOnceListener(event: "goaway", listener: (errorCode: number, lastStreamID: number, opaqueData: Buffer) => void): this;
prependOnceListener(event: "localSettings", listener: (settings: Settings) => void): this;
prependOnceListener(event: "ping", listener: () => void): this;
prependOnceListener(event: "remoteSettings", listener: (settings: Settings) => void): this;
prependOnceListener(event: "timeout", listener: () => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
export interface ClientHttp2Session extends Http2Session {
request(headers?: OutgoingHttpHeaders, options?: ClientSessionRequestOptions): ClientHttp2Stream;
addListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
addListener(event: "origin", listener: (origins: string[]) => void): this;
addListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
addListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "altsvc", alt: string, origin: string, stream: number): boolean;
emit(event: "origin", origins: ReadonlyArray<string>): boolean;
emit(event: "connect", session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
emit(event: "stream", stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
on(event: "origin", listener: (origins: string[]) => void): this;
on(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
on(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
once(event: "origin", listener: (origins: string[]) => void): this;
once(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
once(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
prependListener(event: "origin", listener: (origins: string[]) => void): this;
prependListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
prependListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "altsvc", listener: (alt: string, origin: string, stream: number) => void): this;
prependOnceListener(event: "origin", listener: (origins: string[]) => void): this;
prependOnceListener(event: "connect", listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
prependOnceListener(event: "stream", listener: (stream: ClientHttp2Stream, headers: IncomingHttpHeaders & IncomingHttpStatusHeader, flags: number) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
export interface AlternativeServiceOptions {
origin: number | string | url.URL;
}
export interface ServerHttp2Session extends Http2Session {
readonly server: Http2Server | Http2SecureServer;
altsvc(alt: string, originOrStream: number | string | url.URL | AlternativeServiceOptions): void;
origin(...args: Array<string | url.URL | { origin: string }>): void;
addListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "connect", session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket): boolean;
emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "connect", listener: (session: ServerHttp2Session, socket: net.Socket | tls.TLSSocket) => void): this;
prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
// Http2Server
export interface SessionOptions {
maxDeflateDynamicTableSize?: number | undefined;
maxSessionMemory?: number | undefined;
maxHeaderListPairs?: number | undefined;
maxOutstandingPings?: number | undefined;
maxSendHeaderBlockLength?: number | undefined;
paddingStrategy?: number | undefined;
peerMaxConcurrentStreams?: number | undefined;
settings?: Settings | undefined;
selectPadding?(frameLen: number, maxFrameLen: number): number;
createConnection?(authority: url.URL, option: SessionOptions): stream.Duplex;
}
export interface ClientSessionOptions extends SessionOptions {
maxReservedRemoteStreams?: number | undefined;
createConnection?: ((authority: url.URL, option: SessionOptions) => stream.Duplex) | undefined;
protocol?: 'http:' | 'https:' | undefined;
}
export interface ServerSessionOptions extends SessionOptions {
Http1IncomingMessage?: typeof IncomingMessage | undefined;
Http1ServerResponse?: typeof ServerResponse | undefined;
Http2ServerRequest?: typeof Http2ServerRequest | undefined;
Http2ServerResponse?: typeof Http2ServerResponse | undefined;
}
export interface SecureClientSessionOptions extends ClientSessionOptions, tls.ConnectionOptions { }
export interface SecureServerSessionOptions extends ServerSessionOptions, tls.TlsOptions { }
export interface ServerOptions extends ServerSessionOptions { }
export interface SecureServerOptions extends SecureServerSessionOptions {
allowHTTP1?: boolean | undefined;
origins?: string[] | undefined;
}
export interface Http2Server extends net.Server {
addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
addListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
addListener(event: "sessionError", listener: (err: Error) => void): this;
addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
addListener(event: "timeout", listener: () => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
emit(event: "session", session: ServerHttp2Session): boolean;
emit(event: "sessionError", err: Error): boolean;
emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
emit(event: "timeout"): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
on(event: "session", listener: (session: ServerHttp2Session) => void): this;
on(event: "sessionError", listener: (err: Error) => void): this;
on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
on(event: "timeout", listener: () => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
once(event: "session", listener: (session: ServerHttp2Session) => void): this;
once(event: "sessionError", listener: (err: Error) => void): this;
once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
once(event: "timeout", listener: () => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
prependListener(event: "sessionError", listener: (err: Error) => void): this;
prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependListener(event: "timeout", listener: () => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
prependOnceListener(event: "sessionError", listener: (err: Error) => void): this;
prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependOnceListener(event: "timeout", listener: () => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
setTimeout(msec?: number, callback?: () => void): this;
}
export interface Http2SecureServer extends tls.Server {
addListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
addListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
addListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
addListener(event: "sessionError", listener: (err: Error) => void): this;
addListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
addListener(event: "timeout", listener: () => void): this;
addListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "checkContinue", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
emit(event: "request", request: Http2ServerRequest, response: Http2ServerResponse): boolean;
emit(event: "session", session: ServerHttp2Session): boolean;
emit(event: "sessionError", err: Error): boolean;
emit(event: "stream", stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number): boolean;
emit(event: "timeout"): boolean;
emit(event: "unknownProtocol", socket: tls.TLSSocket): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
on(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
on(event: "session", listener: (session: ServerHttp2Session) => void): this;
on(event: "sessionError", listener: (err: Error) => void): this;
on(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
on(event: "timeout", listener: () => void): this;
on(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
once(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
once(event: "session", listener: (session: ServerHttp2Session) => void): this;
once(event: "sessionError", listener: (err: Error) => void): this;
once(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
once(event: "timeout", listener: () => void): this;
once(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
prependListener(event: "sessionError", listener: (err: Error) => void): this;
prependListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependListener(event: "timeout", listener: () => void): this;
prependListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "checkContinue", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependOnceListener(event: "request", listener: (request: Http2ServerRequest, response: Http2ServerResponse) => void): this;
prependOnceListener(event: "session", listener: (session: ServerHttp2Session) => void): this;
prependOnceListener(event: "sessionError", listener: (err: Error) => void): this;
prependOnceListener(event: "stream", listener: (stream: ServerHttp2Stream, headers: IncomingHttpHeaders, flags: number) => void): this;
prependOnceListener(event: "timeout", listener: () => void): this;
prependOnceListener(event: "unknownProtocol", listener: (socket: tls.TLSSocket) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
setTimeout(msec?: number, callback?: () => void): this;
}
export class Http2ServerRequest extends stream.Readable {
constructor(stream: ServerHttp2Stream, headers: IncomingHttpHeaders, options: stream.ReadableOptions, rawHeaders: ReadonlyArray<string>);
readonly aborted: boolean;
readonly authority: string;
readonly connection: net.Socket | tls.TLSSocket;
readonly complete: boolean;
readonly headers: IncomingHttpHeaders;
readonly httpVersion: string;
readonly httpVersionMinor: number;
readonly httpVersionMajor: number;
readonly method: string;
readonly rawHeaders: string[];
readonly rawTrailers: string[];
readonly scheme: string;
readonly socket: net.Socket | tls.TLSSocket;
readonly stream: ServerHttp2Stream;
readonly trailers: IncomingHttpHeaders;
readonly url: string;
setTimeout(msecs: number, callback?: () => void): void;
read(size?: number): Buffer | string | null;
addListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
addListener(event: "close", listener: () => void): this;
addListener(event: "data", listener: (chunk: Buffer | string) => void): this;
addListener(event: "end", listener: () => void): this;
addListener(event: "readable", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "aborted", hadError: boolean, code: number): boolean;
emit(event: "close"): boolean;
emit(event: "data", chunk: Buffer | string): boolean;
emit(event: "end"): boolean;
emit(event: "readable"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
on(event: "close", listener: () => void): this;
on(event: "data", listener: (chunk: Buffer | string) => void): this;
on(event: "end", listener: () => void): this;
on(event: "readable", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
once(event: "close", listener: () => void): this;
once(event: "data", listener: (chunk: Buffer | string) => void): this;
once(event: "end", listener: () => void): this;
once(event: "readable", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "data", listener: (chunk: Buffer | string) => void): this;
prependListener(event: "end", listener: () => void): this;
prependListener(event: "readable", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "aborted", listener: (hadError: boolean, code: number) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "data", listener: (chunk: Buffer | string) => void): this;
prependOnceListener(event: "end", listener: () => void): this;
prependOnceListener(event: "readable", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
export class Http2ServerResponse extends stream.Writable {
constructor(stream: ServerHttp2Stream);
readonly connection: net.Socket | tls.TLSSocket;
readonly finished: boolean;
readonly headersSent: boolean;
readonly socket: net.Socket | tls.TLSSocket;
readonly stream: ServerHttp2Stream;
sendDate: boolean;
statusCode: number;
statusMessage: '';
addTrailers(trailers: OutgoingHttpHeaders): void;
end(callback?: () => void): void;
end(data: string | Uint8Array, callback?: () => void): void;
end(data: string | Uint8Array, encoding: BufferEncoding, callback?: () => void): void;
getHeader(name: string): string;
getHeaderNames(): string[];
getHeaders(): OutgoingHttpHeaders;
hasHeader(name: string): boolean;
removeHeader(name: string): void;
setHeader(name: string, value: number | string | ReadonlyArray<string>): void;
setTimeout(msecs: number, callback?: () => void): void;
write(chunk: string | Uint8Array, callback?: (err: Error) => void): boolean;
write(chunk: string | Uint8Array, encoding: BufferEncoding, callback?: (err: Error) => void): boolean;
writeContinue(): void;
writeHead(statusCode: number, headers?: OutgoingHttpHeaders): this;
writeHead(statusCode: number, statusMessage: string, headers?: OutgoingHttpHeaders): this;
createPushResponse(headers: OutgoingHttpHeaders, callback: (err: Error | null, res: Http2ServerResponse) => void): void;
addListener(event: "close", listener: () => void): this;
addListener(event: "drain", listener: () => void): this;
addListener(event: "error", listener: (error: Error) => void): this;
addListener(event: "finish", listener: () => void): this;
addListener(event: "pipe", listener: (src: stream.Readable) => void): this;
addListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "close"): boolean;
emit(event: "drain"): boolean;
emit(event: "error", error: Error): boolean;
emit(event: "finish"): boolean;
emit(event: "pipe", src: stream.Readable): boolean;
emit(event: "unpipe", src: stream.Readable): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "close", listener: () => void): this;
on(event: "drain", listener: () => void): this;
on(event: "error", listener: (error: Error) => void): this;
on(event: "finish", listener: () => void): this;
on(event: "pipe", listener: (src: stream.Readable) => void): this;
on(event: "unpipe", listener: (src: stream.Readable) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "drain", listener: () => void): this;
once(event: "error", listener: (error: Error) => void): this;
once(event: "finish", listener: () => void): this;
once(event: "pipe", listener: (src: stream.Readable) => void): this;
once(event: "unpipe", listener: (src: stream.Readable) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "drain", listener: () => void): this;
prependListener(event: "error", listener: (error: Error) => void): this;
prependListener(event: "finish", listener: () => void): this;
prependListener(event: "pipe", listener: (src: stream.Readable) => void): this;
prependListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "drain", listener: () => void): this;
prependOnceListener(event: "error", listener: (error: Error) => void): this;
prependOnceListener(event: "finish", listener: () => void): this;
prependOnceListener(event: "pipe", listener: (src: stream.Readable) => void): this;
prependOnceListener(event: "unpipe", listener: (src: stream.Readable) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
// Public API
export namespace constants {
const NGHTTP2_SESSION_SERVER: number;
const NGHTTP2_SESSION_CLIENT: number;
const NGHTTP2_STREAM_STATE_IDLE: number;
const NGHTTP2_STREAM_STATE_OPEN: number;
const NGHTTP2_STREAM_STATE_RESERVED_LOCAL: number;
const NGHTTP2_STREAM_STATE_RESERVED_REMOTE: number;
const NGHTTP2_STREAM_STATE_HALF_CLOSED_LOCAL: number;
const NGHTTP2_STREAM_STATE_HALF_CLOSED_REMOTE: number;
const NGHTTP2_STREAM_STATE_CLOSED: number;
const NGHTTP2_NO_ERROR: number;
const NGHTTP2_PROTOCOL_ERROR: number;
const NGHTTP2_INTERNAL_ERROR: number;
const NGHTTP2_FLOW_CONTROL_ERROR: number;
const NGHTTP2_SETTINGS_TIMEOUT: number;
const NGHTTP2_STREAM_CLOSED: number;
const NGHTTP2_FRAME_SIZE_ERROR: number;
const NGHTTP2_REFUSED_STREAM: number;
const NGHTTP2_CANCEL: number;
const NGHTTP2_COMPRESSION_ERROR: number;
const NGHTTP2_CONNECT_ERROR: number;
const NGHTTP2_ENHANCE_YOUR_CALM: number;
const NGHTTP2_INADEQUATE_SECURITY: number;
const NGHTTP2_HTTP_1_1_REQUIRED: number;
const NGHTTP2_ERR_FRAME_SIZE_ERROR: number;
const NGHTTP2_FLAG_NONE: number;
const NGHTTP2_FLAG_END_STREAM: number;
const NGHTTP2_FLAG_END_HEADERS: number;
const NGHTTP2_FLAG_ACK: number;
const NGHTTP2_FLAG_PADDED: number;
const NGHTTP2_FLAG_PRIORITY: number;
const DEFAULT_SETTINGS_HEADER_TABLE_SIZE: number;
const DEFAULT_SETTINGS_ENABLE_PUSH: number;
const DEFAULT_SETTINGS_INITIAL_WINDOW_SIZE: number;
const DEFAULT_SETTINGS_MAX_FRAME_SIZE: number;
const MAX_MAX_FRAME_SIZE: number;
const MIN_MAX_FRAME_SIZE: number;
const MAX_INITIAL_WINDOW_SIZE: number;
const NGHTTP2_DEFAULT_WEIGHT: number;
const NGHTTP2_SETTINGS_HEADER_TABLE_SIZE: number;
const NGHTTP2_SETTINGS_ENABLE_PUSH: number;
const NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS: number;
const NGHTTP2_SETTINGS_INITIAL_WINDOW_SIZE: number;
const NGHTTP2_SETTINGS_MAX_FRAME_SIZE: number;
const NGHTTP2_SETTINGS_MAX_HEADER_LIST_SIZE: number;
const PADDING_STRATEGY_NONE: number;
const PADDING_STRATEGY_MAX: number;
const PADDING_STRATEGY_CALLBACK: number;
const HTTP2_HEADER_STATUS: string;
const HTTP2_HEADER_METHOD: string;
const HTTP2_HEADER_AUTHORITY: string;
const HTTP2_HEADER_SCHEME: string;
const HTTP2_HEADER_PATH: string;
const HTTP2_HEADER_ACCEPT_CHARSET: string;
const HTTP2_HEADER_ACCEPT_ENCODING: string;
const HTTP2_HEADER_ACCEPT_LANGUAGE: string;
const HTTP2_HEADER_ACCEPT_RANGES: string;
const HTTP2_HEADER_ACCEPT: string;
const HTTP2_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN: string;
const HTTP2_HEADER_AGE: string;
const HTTP2_HEADER_ALLOW: string;
const HTTP2_HEADER_AUTHORIZATION: string;
const HTTP2_HEADER_CACHE_CONTROL: string;
const HTTP2_HEADER_CONNECTION: string;
const HTTP2_HEADER_CONTENT_DISPOSITION: string;
const HTTP2_HEADER_CONTENT_ENCODING: string;
const HTTP2_HEADER_CONTENT_LANGUAGE: string;
const HTTP2_HEADER_CONTENT_LENGTH: string;
const HTTP2_HEADER_CONTENT_LOCATION: string;
const HTTP2_HEADER_CONTENT_MD5: string;
const HTTP2_HEADER_CONTENT_RANGE: string;
const HTTP2_HEADER_CONTENT_TYPE: string;
const HTTP2_HEADER_COOKIE: string;
const HTTP2_HEADER_DATE: string;
const HTTP2_HEADER_ETAG: string;
const HTTP2_HEADER_EXPECT: string;
const HTTP2_HEADER_EXPIRES: string;
const HTTP2_HEADER_FROM: string;
const HTTP2_HEADER_HOST: string;
const HTTP2_HEADER_IF_MATCH: string;
const HTTP2_HEADER_IF_MODIFIED_SINCE: string;
const HTTP2_HEADER_IF_NONE_MATCH: string;
const HTTP2_HEADER_IF_RANGE: string;
const HTTP2_HEADER_IF_UNMODIFIED_SINCE: string;
const HTTP2_HEADER_LAST_MODIFIED: string;
const HTTP2_HEADER_LINK: string;
const HTTP2_HEADER_LOCATION: string;
const HTTP2_HEADER_MAX_FORWARDS: string;
const HTTP2_HEADER_PREFER: string;
const HTTP2_HEADER_PROXY_AUTHENTICATE: string;
const HTTP2_HEADER_PROXY_AUTHORIZATION: string;
const HTTP2_HEADER_RANGE: string;
const HTTP2_HEADER_REFERER: string;
const HTTP2_HEADER_REFRESH: string;
const HTTP2_HEADER_RETRY_AFTER: string;
const HTTP2_HEADER_SERVER: string;
const HTTP2_HEADER_SET_COOKIE: string;
const HTTP2_HEADER_STRICT_TRANSPORT_SECURITY: string;
const HTTP2_HEADER_TRANSFER_ENCODING: string;
const HTTP2_HEADER_TE: string;
const HTTP2_HEADER_UPGRADE: string;
const HTTP2_HEADER_USER_AGENT: string;
const HTTP2_HEADER_VARY: string;
const HTTP2_HEADER_VIA: string;
const HTTP2_HEADER_WWW_AUTHENTICATE: string;
const HTTP2_HEADER_HTTP2_SETTINGS: string;
const HTTP2_HEADER_KEEP_ALIVE: string;
const HTTP2_HEADER_PROXY_CONNECTION: string;
const HTTP2_METHOD_ACL: string;
const HTTP2_METHOD_BASELINE_CONTROL: string;
const HTTP2_METHOD_BIND: string;
const HTTP2_METHOD_CHECKIN: string;
const HTTP2_METHOD_CHECKOUT: string;
const HTTP2_METHOD_CONNECT: string;
const HTTP2_METHOD_COPY: string;
const HTTP2_METHOD_DELETE: string;
const HTTP2_METHOD_GET: string;
const HTTP2_METHOD_HEAD: string;
const HTTP2_METHOD_LABEL: string;
const HTTP2_METHOD_LINK: string;
const HTTP2_METHOD_LOCK: string;
const HTTP2_METHOD_MERGE: string;
const HTTP2_METHOD_MKACTIVITY: string;
const HTTP2_METHOD_MKCALENDAR: string;
const HTTP2_METHOD_MKCOL: string;
const HTTP2_METHOD_MKREDIRECTREF: string;
const HTTP2_METHOD_MKWORKSPACE: string;
const HTTP2_METHOD_MOVE: string;
const HTTP2_METHOD_OPTIONS: string;
const HTTP2_METHOD_ORDERPATCH: string;
const HTTP2_METHOD_PATCH: string;
const HTTP2_METHOD_POST: string;
const HTTP2_METHOD_PRI: string;
const HTTP2_METHOD_PROPFIND: string;
const HTTP2_METHOD_PROPPATCH: string;
const HTTP2_METHOD_PUT: string;
const HTTP2_METHOD_REBIND: string;
const HTTP2_METHOD_REPORT: string;
const HTTP2_METHOD_SEARCH: string;
const HTTP2_METHOD_TRACE: string;
const HTTP2_METHOD_UNBIND: string;
const HTTP2_METHOD_UNCHECKOUT: string;
const HTTP2_METHOD_UNLINK: string;
const HTTP2_METHOD_UNLOCK: string;
const HTTP2_METHOD_UPDATE: string;
const HTTP2_METHOD_UPDATEREDIRECTREF: string;
const HTTP2_METHOD_VERSION_CONTROL: string;
const HTTP_STATUS_CONTINUE: number;
const HTTP_STATUS_SWITCHING_PROTOCOLS: number;
const HTTP_STATUS_PROCESSING: number;
const HTTP_STATUS_OK: number;
const HTTP_STATUS_CREATED: number;
const HTTP_STATUS_ACCEPTED: number;
const HTTP_STATUS_NON_AUTHORITATIVE_INFORMATION: number;
const HTTP_STATUS_NO_CONTENT: number;
const HTTP_STATUS_RESET_CONTENT: number;
const HTTP_STATUS_PARTIAL_CONTENT: number;
const HTTP_STATUS_MULTI_STATUS: number;
const HTTP_STATUS_ALREADY_REPORTED: number;
const HTTP_STATUS_IM_USED: number;
const HTTP_STATUS_MULTIPLE_CHOICES: number;
const HTTP_STATUS_MOVED_PERMANENTLY: number;
const HTTP_STATUS_FOUND: number;
const HTTP_STATUS_SEE_OTHER: number;
const HTTP_STATUS_NOT_MODIFIED: number;
const HTTP_STATUS_USE_PROXY: number;
const HTTP_STATUS_TEMPORARY_REDIRECT: number;
const HTTP_STATUS_PERMANENT_REDIRECT: number;
const HTTP_STATUS_BAD_REQUEST: number;
const HTTP_STATUS_UNAUTHORIZED: number;
const HTTP_STATUS_PAYMENT_REQUIRED: number;
const HTTP_STATUS_FORBIDDEN: number;
const HTTP_STATUS_NOT_FOUND: number;
const HTTP_STATUS_METHOD_NOT_ALLOWED: number;
const HTTP_STATUS_NOT_ACCEPTABLE: number;
const HTTP_STATUS_PROXY_AUTHENTICATION_REQUIRED: number;
const HTTP_STATUS_REQUEST_TIMEOUT: number;
const HTTP_STATUS_CONFLICT: number;
const HTTP_STATUS_GONE: number;
const HTTP_STATUS_LENGTH_REQUIRED: number;
const HTTP_STATUS_PRECONDITION_FAILED: number;
const HTTP_STATUS_PAYLOAD_TOO_LARGE: number;
const HTTP_STATUS_URI_TOO_LONG: number;
const HTTP_STATUS_UNSUPPORTED_MEDIA_TYPE: number;
const HTTP_STATUS_RANGE_NOT_SATISFIABLE: number;
const HTTP_STATUS_EXPECTATION_FAILED: number;
const HTTP_STATUS_TEAPOT: number;
const HTTP_STATUS_MISDIRECTED_REQUEST: number;
const HTTP_STATUS_UNPROCESSABLE_ENTITY: number;
const HTTP_STATUS_LOCKED: number;
const HTTP_STATUS_FAILED_DEPENDENCY: number;
const HTTP_STATUS_UNORDERED_COLLECTION: number;
const HTTP_STATUS_UPGRADE_REQUIRED: number;
const HTTP_STATUS_PRECONDITION_REQUIRED: number;
const HTTP_STATUS_TOO_MANY_REQUESTS: number;
const HTTP_STATUS_REQUEST_HEADER_FIELDS_TOO_LARGE: number;
const HTTP_STATUS_UNAVAILABLE_FOR_LEGAL_REASONS: number;
const HTTP_STATUS_INTERNAL_SERVER_ERROR: number;
const HTTP_STATUS_NOT_IMPLEMENTED: number;
const HTTP_STATUS_BAD_GATEWAY: number;
const HTTP_STATUS_SERVICE_UNAVAILABLE: number;
const HTTP_STATUS_GATEWAY_TIMEOUT: number;
const HTTP_STATUS_HTTP_VERSION_NOT_SUPPORTED: number;
const HTTP_STATUS_VARIANT_ALSO_NEGOTIATES: number;
const HTTP_STATUS_INSUFFICIENT_STORAGE: number;
const HTTP_STATUS_LOOP_DETECTED: number;
const HTTP_STATUS_BANDWIDTH_LIMIT_EXCEEDED: number;
const HTTP_STATUS_NOT_EXTENDED: number;
const HTTP_STATUS_NETWORK_AUTHENTICATION_REQUIRED: number;
}
export function getDefaultSettings(): Settings;
export function getPackedSettings(settings: Settings): Buffer;
export function getUnpackedSettings(buf: Uint8Array): Settings;
export function createServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
export function createServer(options: ServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2Server;
export function createSecureServer(onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
export function createSecureServer(options: SecureServerOptions, onRequestHandler?: (request: Http2ServerRequest, response: Http2ServerResponse) => void): Http2SecureServer;
export function connect(authority: string | url.URL, listener: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void): ClientHttp2Session;
export function connect(
authority: string | url.URL,
options?: ClientSessionOptions | SecureClientSessionOptions,
listener?: (session: ClientHttp2Session, socket: net.Socket | tls.TLSSocket) => void
): ClientHttp2Session;
}

View File

@ -0,0 +1,142 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'https' {
import { Duplex } from 'stream';
import * as tls from 'tls';
import * as http from 'http';
import { URL } from 'url';
type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions;
type RequestOptions = http.RequestOptions & tls.SecureContextOptions & {
rejectUnauthorized?: boolean | undefined; // Defaults to true
servername?: string | undefined; // SNI TLS Extension
};
interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
rejectUnauthorized?: boolean | undefined;
maxCachedSessions?: number | undefined;
}
class Agent extends http.Agent {
constructor(options?: AgentOptions);
options: AgentOptions;
}
interface Server extends http.Server {}
class Server extends tls.Server {
constructor(requestListener?: http.RequestListener);
constructor(options: ServerOptions, requestListener?: http.RequestListener);
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
addListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
addListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
addListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
addListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
addListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
addListener(event: 'close', listener: () => void): this;
addListener(event: 'connection', listener: (socket: Duplex) => void): this;
addListener(event: 'error', listener: (err: Error) => void): this;
addListener(event: 'listening', listener: () => void): this;
addListener(event: 'checkContinue', listener: http.RequestListener): this;
addListener(event: 'checkExpectation', listener: http.RequestListener): this;
addListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
addListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
addListener(event: 'request', listener: http.RequestListener): this;
addListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
emit(event: string, ...args: any[]): boolean;
emit(event: 'keylog', line: Buffer, tlsSocket: tls.TLSSocket): boolean;
emit(event: 'newSession', sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean;
emit(event: 'OCSPRequest', certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean;
emit(event: 'resumeSession', sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean;
emit(event: 'secureConnection', tlsSocket: tls.TLSSocket): boolean;
emit(event: 'tlsClientError', err: Error, tlsSocket: tls.TLSSocket): boolean;
emit(event: 'close'): boolean;
emit(event: 'connection', socket: Duplex): boolean;
emit(event: 'error', err: Error): boolean;
emit(event: 'listening'): boolean;
emit(event: 'checkContinue', req: http.IncomingMessage, res: http.ServerResponse): boolean;
emit(event: 'checkExpectation', req: http.IncomingMessage, res: http.ServerResponse): boolean;
emit(event: 'clientError', err: Error, socket: Duplex): boolean;
emit(event: 'connect', req: http.IncomingMessage, socket: Duplex, head: Buffer): boolean;
emit(event: 'request', req: http.IncomingMessage, res: http.ServerResponse): boolean;
emit(event: 'upgrade', req: http.IncomingMessage, socket: Duplex, head: Buffer): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
on(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
on(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
on(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
on(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
on(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
on(event: 'close', listener: () => void): this;
on(event: 'connection', listener: (socket: Duplex) => void): this;
on(event: 'error', listener: (err: Error) => void): this;
on(event: 'listening', listener: () => void): this;
on(event: 'checkContinue', listener: http.RequestListener): this;
on(event: 'checkExpectation', listener: http.RequestListener): this;
on(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
on(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
on(event: 'request', listener: http.RequestListener): this;
on(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
once(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
once(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
once(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
once(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
once(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
once(event: 'close', listener: () => void): this;
once(event: 'connection', listener: (socket: Duplex) => void): this;
once(event: 'error', listener: (err: Error) => void): this;
once(event: 'listening', listener: () => void): this;
once(event: 'checkContinue', listener: http.RequestListener): this;
once(event: 'checkExpectation', listener: http.RequestListener): this;
once(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
once(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
once(event: 'request', listener: http.RequestListener): this;
once(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
prependListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
prependListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
prependListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
prependListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
prependListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
prependListener(event: 'close', listener: () => void): this;
prependListener(event: 'connection', listener: (socket: Duplex) => void): this;
prependListener(event: 'error', listener: (err: Error) => void): this;
prependListener(event: 'listening', listener: () => void): this;
prependListener(event: 'checkContinue', listener: http.RequestListener): this;
prependListener(event: 'checkExpectation', listener: http.RequestListener): this;
prependListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
prependListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
prependListener(event: 'request', listener: http.RequestListener): this;
prependListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
prependOnceListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
prependOnceListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
prependOnceListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
prependOnceListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
prependOnceListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
prependOnceListener(event: 'close', listener: () => void): this;
prependOnceListener(event: 'connection', listener: (socket: Duplex) => void): this;
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
prependOnceListener(event: 'listening', listener: () => void): this;
prependOnceListener(event: 'checkContinue', listener: http.RequestListener): this;
prependOnceListener(event: 'checkExpectation', listener: http.RequestListener): this;
prependOnceListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
prependOnceListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
prependOnceListener(event: 'request', listener: http.RequestListener): this;
prependOnceListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
}
function createServer(requestListener?: http.RequestListener): Server;
function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server;
function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
let globalAgent: Agent;
}

View File

@ -0,0 +1,55 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'module' {
import { URL } from 'url';
namespace Module {
/**
* Updates all the live bindings for builtin ES Modules to match the properties of the CommonJS exports.
* It does not add or remove exported names from the ES Modules.
*/
function syncBuiltinESMExports(): void;
function findSourceMap(path: string, error?: Error): SourceMap;
interface SourceMapPayload {
file: string;
version: number;
sources: string[];
sourcesContent: string[];
names: string[];
mappings: string;
sourceRoot: string;
}
interface SourceMapping {
generatedLine: number;
generatedColumn: number;
originalSource: string;
originalLine: number;
originalColumn: number;
}
class SourceMap {
readonly payload: SourceMapPayload;
constructor(payload: SourceMapPayload);
findEntry(line: number, column: number): SourceMapping;
}
}
interface Module extends NodeModule {}
class Module {
static runMain(): void;
static wrap(code: string): string;
/**
* @deprecated Deprecated since: v12.2.0. Please use createRequire() instead.
*/
static createRequireFromPath(path: string): NodeRequire;
static createRequire(path: string | URL): NodeRequire;
static builtinModules: string[];
static Module: typeof Module;
constructor(id: string, parent?: Module);
}
export = Module;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,242 @@
declare module'node:os'{export*from'os';}declare module'os'{interface CpuInfo{model:string;speed:number;times:{user:number;nice:number;sys:number;idle:number;irq:number;};}interface NetworkInterfaceBase{address:string;netmask:string;mac:string;internal:boolean;cidr:string|null;}interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase{family:"IPv4";}interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase{family:"IPv6";scopeid:number;}interface UserInfo<T>{username:T;uid:number;gid:number;shell:T;homedir:T;}type NetworkInterfaceInfo=NetworkInterfaceInfoIPv4|NetworkInterfaceInfoIPv6;function hostname():string;function loadavg():number[];function uptime():number;function freemem():number;function totalmem():number;function cpus():CpuInfo[];function type():string;function release():string;function networkInterfaces():NodeJS.Dict<NetworkInterfaceInfo[]>;function homedir():string;function userInfo(options:{encoding:'buffer'}):UserInfo<Buffer>;function userInfo(options?:{encoding:BufferEncoding}):UserInfo<string>;type SignalConstants={[key in NodeJS.Signals]:number;};namespace constants{const UV_UDP_REUSEADDR:number;namespace signals{}const signals:SignalConstants;namespace errno{const E2BIG:number;const EACCES:number;const EADDRINUSE:number;const EADDRNOTAVAIL:number;const EAFNOSUPPORT:number;const EAGAIN:number;const EALREADY:number;const EBADF:number;const EBADMSG:number;const EBUSY:number;const ECANCELED:number;const ECHILD:number;const ECONNABORTED:number;const ECONNREFUSED:number;const ECONNRESET:number;const EDEADLK:number;const EDESTADDRREQ:number;const EDOM:number;const EDQUOT:number;const EEXIST:number;const EFAULT:number;const EFBIG:number;const EHOSTUNREACH:number;const EIDRM:number;const EILSEQ:number;const EINPROGRESS:number;const EINTR:number;const EINVAL:number;const EIO:number;const EISCONN:number;const EISDIR:number;const ELOOP:number;const EMFILE:number;const EMLINK:number;const EMSGSIZE:number;const EMULTIHOP:number;const ENAMETOOLONG:number;const ENETDOWN:number;const ENETRESET:number;const ENETUNREACH:number;const ENFILE:number;const ENOBUFS:number;const ENODATA:number;const ENODEV:number;const ENOENT:number;const ENOEXEC:number;const ENOLCK:number;const ENOLINK:number;const ENOMEM:number;const ENOMSG:number;const ENOPROTOOPT:number;const ENOSPC:number;const ENOSR:number;const ENOSTR:number;const ENOSYS:number;const ENOTCONN:number;const ENOTDIR:number;const ENOTEMPTY:number;const ENOTSOCK:number;const ENOTSUP:number;const ENOTTY:number;const ENXIO:number;const EOPNOTSUPP:number;const EOVERFLOW:number;const EPERM:number;const EPIPE:number;const EPROTO:number;const EPROTONOSUPPORT:number;const EPROTOTYPE:number;const ERANGE:number;const EROFS:number;const ESPIPE:number;const ESRCH:number;const ESTALE:number;const ETIME:number;const ETIMEDOUT:number;const ETXTBSY:number;const EWOULDBLOCK:number;const EXDEV:number;const WSAEINTR:number;const WSAEBADF:number;const WSAEACCES:number;const WSAEFAULT:number;const WSAEINVAL:number;const WSAEMFILE:number;const WSAEWOULDBLOCK:number;const WSAEINPROGRESS:number;const WSAEALREADY:number;const WSAENOTSOCK:number;const WSAEDESTADDRREQ:number;const WSAEMSGSIZE:number;const WSAEPROTOTYPE:number;const WSAENOPROTOOPT:number;const WSAEPROTONOSUPPORT:number;const WSAESOCKTNOSUPPORT:number;const WSAEOPNOTSUPP:number;const WSAEPFNOSUPPORT:number;const WSAEAFNOSUPPORT:number;const WSAEADDRINUSE:number;const WSAEADDRNOTAVAIL:number;const WSAENETDOWN:number;const WSAENETUNREACH:number;const WSAENETRESET:number;const WSAECONNABORTED:number;const WSAECONNRESET:number;const WSAENOBUFS:number;const WSAEISCONN:number;const WSAENOTCONN:number;const WSAESHUTDOWN:number;const WSAETOOMANYREFS:number;const WSAETIMEDOUT:number;const WSAECONNREFUSED:number;const WSAELOOP:number;const WSAENAMETOOLONG:number;const WSAEHOSTDOWN:number;const WSAEHOSTUNREACH:number;const WSAENOTEMPTY:number;const WSAEPROCLIM:number;const WSAEUSERS:number;const WSAEDQUOT:number;const WSAESTALE:number;const WSAEREMOTE:number;const WSASYSNOTREADY:number;const WSAVERNOTSUPPORTED:number;const WSANOTINITIALISED:number;const WSAEDISCON:number;const WSAENOMORE:number;const WSAECANCELLED:number;const WSAEINVALIDPROCTABLE:number;const WSAEINVALIDPROVIDER:number;const WSAEPROVIDERFAILEDINIT:number;const WSASYSCALLFAILURE:number;const WSASERVICE_NOT_FOUND:number;const WSATYPE_NOT_FOUND:number;const WSA_E_NO_MORE:number;const WSA_E_CANCELLED:number;const WSAEREFUSED:number;}namespace priority{const PRIORITY_LOW:number;const PRIORITY_BELOW_NORMAL:number;const PRIORITY_NORMAL:number;const PRIORITY_ABOVE_NORMAL:number;const PRIORITY_HIGH:number;const PRIORITY_HIGHEST:number;}}function arch():string;function version():string;function platform():NodeJS.Platform;function tmpdir():string;const EOL:string;function endianness():"BE"|"LE";function getPriority(pid?:number):number;function setPriority(priority:number):void;function setPriority(pid:number,priority:number):void;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'os' {
interface CpuInfo {
model: string;
speed: number;
times: {
user: number;
nice: number;
sys: number;
idle: number;
irq: number;
};
}
interface NetworkInterfaceBase {
address: string;
netmask: string;
mac: string;
internal: boolean;
cidr: string | null;
}
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
family: "IPv4";
}
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
family: "IPv6";
scopeid: number;
}
interface UserInfo<T> {
username: T;
uid: number;
gid: number;
shell: T;
homedir: T;
}
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
function hostname(): string;
function loadavg(): number[];
function uptime(): number;
function freemem(): number;
function totalmem(): number;
function cpus(): CpuInfo[];
function type(): string;
function release(): string;
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
function homedir(): string;
function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
type SignalConstants = {
[key in NodeJS.Signals]: number;
};
namespace constants {
const UV_UDP_REUSEADDR: number;
namespace signals {}
const signals: SignalConstants;
namespace errno {
const E2BIG: number;
const EACCES: number;
const EADDRINUSE: number;
const EADDRNOTAVAIL: number;
const EAFNOSUPPORT: number;
const EAGAIN: number;
const EALREADY: number;
const EBADF: number;
const EBADMSG: number;
const EBUSY: number;
const ECANCELED: number;
const ECHILD: number;
const ECONNABORTED: number;
const ECONNREFUSED: number;
const ECONNRESET: number;
const EDEADLK: number;
const EDESTADDRREQ: number;
const EDOM: number;
const EDQUOT: number;
const EEXIST: number;
const EFAULT: number;
const EFBIG: number;
const EHOSTUNREACH: number;
const EIDRM: number;
const EILSEQ: number;
const EINPROGRESS: number;
const EINTR: number;
const EINVAL: number;
const EIO: number;
const EISCONN: number;
const EISDIR: number;
const ELOOP: number;
const EMFILE: number;
const EMLINK: number;
const EMSGSIZE: number;
const EMULTIHOP: number;
const ENAMETOOLONG: number;
const ENETDOWN: number;
const ENETRESET: number;
const ENETUNREACH: number;
const ENFILE: number;
const ENOBUFS: number;
const ENODATA: number;
const ENODEV: number;
const ENOENT: number;
const ENOEXEC: number;
const ENOLCK: number;
const ENOLINK: number;
const ENOMEM: number;
const ENOMSG: number;
const ENOPROTOOPT: number;
const ENOSPC: number;
const ENOSR: number;
const ENOSTR: number;
const ENOSYS: number;
const ENOTCONN: number;
const ENOTDIR: number;
const ENOTEMPTY: number;
const ENOTSOCK: number;
const ENOTSUP: number;
const ENOTTY: number;
const ENXIO: number;
const EOPNOTSUPP: number;
const EOVERFLOW: number;
const EPERM: number;
const EPIPE: number;
const EPROTO: number;
const EPROTONOSUPPORT: number;
const EPROTOTYPE: number;
const ERANGE: number;
const EROFS: number;
const ESPIPE: number;
const ESRCH: number;
const ESTALE: number;
const ETIME: number;
const ETIMEDOUT: number;
const ETXTBSY: number;
const EWOULDBLOCK: number;
const EXDEV: number;
const WSAEINTR: number;
const WSAEBADF: number;
const WSAEACCES: number;
const WSAEFAULT: number;
const WSAEINVAL: number;
const WSAEMFILE: number;
const WSAEWOULDBLOCK: number;
const WSAEINPROGRESS: number;
const WSAEALREADY: number;
const WSAENOTSOCK: number;
const WSAEDESTADDRREQ: number;
const WSAEMSGSIZE: number;
const WSAEPROTOTYPE: number;
const WSAENOPROTOOPT: number;
const WSAEPROTONOSUPPORT: number;
const WSAESOCKTNOSUPPORT: number;
const WSAEOPNOTSUPP: number;
const WSAEPFNOSUPPORT: number;
const WSAEAFNOSUPPORT: number;
const WSAEADDRINUSE: number;
const WSAEADDRNOTAVAIL: number;
const WSAENETDOWN: number;
const WSAENETUNREACH: number;
const WSAENETRESET: number;
const WSAECONNABORTED: number;
const WSAECONNRESET: number;
const WSAENOBUFS: number;
const WSAEISCONN: number;
const WSAENOTCONN: number;
const WSAESHUTDOWN: number;
const WSAETOOMANYREFS: number;
const WSAETIMEDOUT: number;
const WSAECONNREFUSED: number;
const WSAELOOP: number;
const WSAENAMETOOLONG: number;
const WSAEHOSTDOWN: number;
const WSAEHOSTUNREACH: number;
const WSAENOTEMPTY: number;
const WSAEPROCLIM: number;
const WSAEUSERS: number;
const WSAEDQUOT: number;
const WSAESTALE: number;
const WSAEREMOTE: number;
const WSASYSNOTREADY: number;
const WSAVERNOTSUPPORTED: number;
const WSANOTINITIALISED: number;
const WSAEDISCON: number;
const WSAENOMORE: number;
const WSAECANCELLED: number;
const WSAEINVALIDPROCTABLE: number;
const WSAEINVALIDPROVIDER: number;
const WSAEPROVIDERFAILEDINIT: number;
const WSASYSCALLFAILURE: number;
const WSASERVICE_NOT_FOUND: number;
const WSATYPE_NOT_FOUND: number;
const WSA_E_NO_MORE: number;
const WSA_E_CANCELLED: number;
const WSAEREFUSED: number;
}
namespace priority {
const PRIORITY_LOW: number;
const PRIORITY_BELOW_NORMAL: number;
const PRIORITY_NORMAL: number;
const PRIORITY_ABOVE_NORMAL: number;
const PRIORITY_HIGH: number;
const PRIORITY_HIGHEST: number;
}
}
function arch(): string;
/**
* Returns a string identifying the kernel version.
* On POSIX systems, the operating system release is determined by calling
* [uname(3)][]. On Windows, `pRtlGetVersion` is used, and if it is not available,
* `GetVersionExW()` will be used. See
* https://en.wikipedia.org/wiki/Uname#Examples for more information.
*/
function version(): string;
function platform(): NodeJS.Platform;
function tmpdir(): string;
const EOL: string;
function endianness(): "BE" | "LE";
/**
* Gets the priority of a process.
* Defaults to current process.
*/
function getPriority(pid?: number): number;
/**
* Sets the priority of the current process.
* @param priority Must be in range of -20 to 19
*/
function setPriority(priority: number): void;
/**
* Sets the priority of the process specified process.
* @param priority Must be in range of -20 to 19
*/
function setPriority(pid: number, priority: number): void;
}

View File

@ -1 +1,156 @@
declare module'node:path'{import path=require('path');export=path;}declare module'path'{namespace path{interface ParsedPath{root:string;dir:string;base:string;ext:string;name:string;}interface FormatInputPathObject{root?:string;dir?:string;base?:string;ext?:string;name?:string;}interface PlatformPath{normalize(p:string):string;join(...paths:string[]):string;resolve(...pathSegments:string[]):string;isAbsolute(p:string):boolean;relative(from:string,to:string):string;dirname(p:string):string;basename(p:string,ext?:string):string;extname(p:string):string;readonly sep:string;readonly delimiter:string;parse(p:string):ParsedPath;format(pP:FormatInputPathObject):string;toNamespacedPath(path:string):string;readonly posix:PlatformPath;readonly win32:PlatformPath;}}const path:path.PlatformPath;export=path;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'path' {
namespace path {
/**
* A parsed path object generated by path.parse() or consumed by path.format().
*/
interface ParsedPath {
/**
* The root of the path such as '/' or 'c:\'
*/
root: string;
/**
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
*/
dir: string;
/**
* The file name including extension (if any) such as 'index.html'
*/
base: string;
/**
* The file extension (if any) such as '.html'
*/
ext: string;
/**
* The file name without extension (if any) such as 'index'
*/
name: string;
}
interface FormatInputPathObject {
/**
* The root of the path such as '/' or 'c:\'
*/
root?: string | undefined;
/**
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
*/
dir?: string | undefined;
/**
* The file name including extension (if any) such as 'index.html'
*/
base?: string | undefined;
/**
* The file extension (if any) such as '.html'
*/
ext?: string | undefined;
/**
* The file name without extension (if any) such as 'index'
*/
name?: string | undefined;
}
interface PlatformPath {
/**
* Normalize a string path, reducing '..' and '.' parts.
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
*
* @param p string path to normalize.
*/
normalize(p: string): string;
/**
* Join all arguments together and normalize the resulting path.
* Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
*
* @param paths paths to join.
*/
join(...paths: string[]): string;
/**
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
*
* Starting from leftmost {from} parameter, resolves {to} to an absolute path.
*
* If {to} isn't already absolute, {from} arguments are prepended in right to left order,
* until an absolute path is found. If after using all {from} paths still no absolute path is found,
* the current working directory is used as well. The resulting path is normalized,
* and trailing slashes are removed unless the path gets resolved to the root directory.
*
* @param pathSegments string paths to join. Non-string arguments are ignored.
*/
resolve(...pathSegments: string[]): string;
/**
* Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
*
* @param path path to test.
*/
isAbsolute(p: string): boolean;
/**
* Solve the relative path from {from} to {to}.
* At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
*/
relative(from: string, to: string): string;
/**
* Return the directory name of a path. Similar to the Unix dirname command.
*
* @param p the path to evaluate.
*/
dirname(p: string): string;
/**
* Return the last portion of a path. Similar to the Unix basename command.
* Often used to extract the file name from a fully qualified path.
*
* @param p the path to evaluate.
* @param ext optionally, an extension to remove from the result.
*/
basename(p: string, ext?: string): string;
/**
* Return the extension of the path, from the last '.' to end of string in the last portion of the path.
* If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
*
* @param p the path to evaluate.
*/
extname(p: string): string;
/**
* The platform-specific file separator. '\\' or '/'.
*/
readonly sep: string;
/**
* The platform-specific file delimiter. ';' or ':'.
*/
readonly delimiter: string;
/**
* Returns an object from a path string - the opposite of format().
*
* @param pathString path to evaluate.
*/
parse(p: string): ParsedPath;
/**
* Returns a path string from an object - the opposite of parse().
*
* @param pathString path to evaluate.
*/
format(pP: FormatInputPathObject): string;
/**
* On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
* If path is not a string, path will be returned without modifications.
* This method is meaningful only on Windows system.
* On POSIX systems, the method is non-operational and always returns path without modifications.
*/
toNamespacedPath(path: string): string;
/**
* Posix specific pathing.
* Same as parent object on posix.
*/
readonly posix: PlatformPath;
/**
* Windows specific pathing.
* Same as parent object on windows
*/
readonly win32: PlatformPath;
}
}
const path: path.PlatformPath;
export = path;
}

View File

@ -0,0 +1,274 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'perf_hooks' {
import { AsyncResource } from 'async_hooks';
type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
interface PerformanceEntry {
/**
* The total number of milliseconds elapsed for this entry.
* This value will not be meaningful for all Performance Entry types.
*/
readonly duration: number;
/**
* The name of the performance entry.
*/
readonly name: string;
/**
* The high resolution millisecond timestamp marking the starting time of the Performance Entry.
*/
readonly startTime: number;
/**
* The type of the performance entry.
* Currently it may be one of: 'node', 'mark', 'measure', 'gc', or 'function'.
*/
readonly entryType: EntryType;
/**
* When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
* the type of garbage collection operation that occurred.
* See perf_hooks.constants for valid values.
*/
readonly kind?: number | undefined;
/**
* When `performanceEntry.entryType` is equal to 'gc', the `performance.flags`
* property contains additional information about garbage collection operation.
* See perf_hooks.constants for valid values.
*/
readonly flags?: number | undefined;
}
interface PerformanceNodeTiming extends PerformanceEntry {
/**
* The high resolution millisecond timestamp at which the Node.js process completed bootstrap.
*/
readonly bootstrapComplete: number;
/**
* The high resolution millisecond timestamp at which the Node.js process completed bootstrapping.
* If bootstrapping has not yet finished, the property has the value of -1.
*/
readonly environment: number;
/**
* The high resolution millisecond timestamp at which the Node.js environment was initialized.
*/
readonly idleTime: number;
/**
* The high resolution millisecond timestamp of the amount of time the event loop has been idle
* within the event loop's event provider (e.g. `epoll_wait`). This does not take CPU usage
* into consideration. If the event loop has not yet started (e.g., in the first tick of the main script),
* the property has the value of 0.
*/
readonly loopExit: number;
/**
* The high resolution millisecond timestamp at which the Node.js event loop started.
* If the event loop has not yet started (e.g., in the first tick of the main script), the property has the value of -1.
*/
readonly loopStart: number;
/**
* The high resolution millisecond timestamp at which the V8 platform was initialized.
*/
readonly v8Start: number;
}
interface EventLoopUtilization {
idle: number;
active: number;
utilization: number;
}
interface Performance {
/**
* If name is not provided, removes all PerformanceMark objects from the Performance Timeline.
* If name is provided, removes only the named mark.
* @param name
*/
clearMarks(name?: string): void;
/**
* Creates a new PerformanceMark entry in the Performance Timeline.
* A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark',
* and whose performanceEntry.duration is always 0.
* Performance marks are used to mark specific significant moments in the Performance Timeline.
* @param name
*/
mark(name?: string): void;
/**
* Creates a new PerformanceMeasure entry in the Performance Timeline.
* A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
* and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.
*
* The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify
* any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist,
* then startMark is set to timeOrigin by default.
*
* The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp
* properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.
* @param name
* @param startMark
* @param endMark
*/
measure(name: string, startMark?: string, endMark?: string): void;
/**
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
*/
readonly nodeTiming: PerformanceNodeTiming;
/**
* @return the current high resolution millisecond timestamp
*/
now(): number;
/**
* The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.
*/
readonly timeOrigin: number;
/**
* Wraps a function within a new function that measures the running time of the wrapped function.
* A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.
* @param fn
*/
timerify<T extends (...optionalParams: any[]) => any>(fn: T): T;
/**
* eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time.
* It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait).
* No other CPU idle time is taken into consideration.
*
* @param util1 The result of a previous call to eventLoopUtilization()
* @param util2 The result of a previous call to eventLoopUtilization() prior to util1
*/
eventLoopUtilization(util1?: EventLoopUtilization, util2?: EventLoopUtilization): EventLoopUtilization;
}
interface PerformanceObserverEntryList {
/**
* @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime.
*/
getEntries(): PerformanceEntry[];
/**
* @return a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
* whose performanceEntry.name is equal to name, and optionally, whose performanceEntry.entryType is equal to type.
*/
getEntriesByName(name: string, type?: EntryType): PerformanceEntry[];
/**
* @return Returns a list of PerformanceEntry objects in chronological order with respect to performanceEntry.startTime
* whose performanceEntry.entryType is equal to type.
*/
getEntriesByType(type: EntryType): PerformanceEntry[];
}
type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void;
class PerformanceObserver extends AsyncResource {
constructor(callback: PerformanceObserverCallback);
/**
* Disconnects the PerformanceObserver instance from all notifications.
*/
disconnect(): void;
/**
* Subscribes the PerformanceObserver instance to notifications of new PerformanceEntry instances identified by options.entryTypes.
* When options.buffered is false, the callback will be invoked once for every PerformanceEntry instance.
* Property buffered defaults to false.
* @param options
*/
observe(options: { entryTypes: ReadonlyArray<EntryType>; buffered?: boolean | undefined }): void;
}
namespace constants {
const NODE_PERFORMANCE_GC_MAJOR: number;
const NODE_PERFORMANCE_GC_MINOR: number;
const NODE_PERFORMANCE_GC_INCREMENTAL: number;
const NODE_PERFORMANCE_GC_WEAKCB: number;
const NODE_PERFORMANCE_GC_FLAGS_NO: number;
const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number;
const NODE_PERFORMANCE_GC_FLAGS_FORCED: number;
const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number;
const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number;
const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number;
const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number;
}
const performance: Performance;
interface EventLoopMonitorOptions {
/**
* The sampling rate in milliseconds.
* Must be greater than zero.
* @default 10
*/
resolution?: number | undefined;
}
interface EventLoopDelayMonitor {
/**
* Enables the event loop delay sample timer. Returns `true` if the timer was started, `false` if it was already started.
*/
enable(): boolean;
/**
* Disables the event loop delay sample timer. Returns `true` if the timer was stopped, `false` if it was already stopped.
*/
disable(): boolean;
/**
* Resets the collected histogram data.
*/
reset(): void;
/**
* Returns the value at the given percentile.
* @param percentile A percentile value between 1 and 100.
*/
percentile(percentile: number): number;
/**
* A `Map` object detailing the accumulated percentile distribution.
*/
readonly percentiles: Map<number, number>;
/**
* The number of times the event loop delay exceeded the maximum 1 hour eventloop delay threshold.
*/
readonly exceeds: number;
/**
* The minimum recorded event loop delay.
*/
readonly min: number;
/**
* The maximum recorded event loop delay.
*/
readonly max: number;
/**
* The mean of the recorded event loop delays.
*/
readonly mean: number;
/**
* The standard deviation of the recorded event loop delays.
*/
readonly stddev: number;
}
function monitorEventLoopDelay(options?: EventLoopMonitorOptions): EventLoopDelayMonitor;
}

File diff suppressed because one or more lines are too long

View File

@ -1 +1,31 @@
declare module'node:querystring'{export*from'querystring';}declare module'querystring'{interface StringifyOptions{encodeURIComponent?:(str:string)=>string;}interface ParseOptions{maxKeys?:number;decodeURIComponent?:(str:string)=>string;}interface ParsedUrlQuery extends NodeJS.Dict<string|string[]>{}interface ParsedUrlQueryInput extends NodeJS.Dict<string|number|boolean|ReadonlyArray<string>|ReadonlyArray<number>|ReadonlyArray<boolean>|null>{}function stringify(obj?:ParsedUrlQueryInput,sep?:string,eq?:string,options?:StringifyOptions):string;function parse(str:string,sep?:string,eq?:string,options?:ParseOptions):ParsedUrlQuery;const encode:typeof stringify;const decode:typeof parse;function escape(str:string):string;function unescape(str:string):string;}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'querystring' {
interface StringifyOptions {
encodeURIComponent?: ((str: string) => string) | undefined;
}
interface ParseOptions {
maxKeys?: number | undefined;
decodeURIComponent?: ((str: string) => string) | undefined;
}
interface ParsedUrlQuery extends NodeJS.Dict<string | string[]> { }
interface ParsedUrlQueryInput extends NodeJS.Dict<string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | null> {
}
function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
/**
* The querystring.encode() function is an alias for querystring.stringify().
*/
const encode: typeof stringify;
/**
* The querystring.decode() function is an alias for querystring.parse().
*/
const decode: typeof parse;
function escape(str: string): string;
function unescape(str: string): string;
}

View File

@ -0,0 +1,173 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'readline' {
import EventEmitter = require('events');
interface Key {
sequence?: string | undefined;
name?: string | undefined;
ctrl?: boolean | undefined;
meta?: boolean | undefined;
shift?: boolean | undefined;
}
class Interface extends EventEmitter {
readonly terminal: boolean;
// Need direct access to line/cursor data, for use in external processes
// see: https://github.com/nodejs/node/issues/30347
/** The current input data */
readonly line: string;
/** The current cursor position in the input line */
readonly cursor: number;
/**
* NOTE: According to the documentation:
*
* > Instances of the `readline.Interface` class are constructed using the
* > `readline.createInterface()` method.
*
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
*/
protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean);
/**
* NOTE: According to the documentation:
*
* > Instances of the `readline.Interface` class are constructed using the
* > `readline.createInterface()` method.
*
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
*/
protected constructor(options: ReadLineOptions);
setPrompt(prompt: string): void;
prompt(preserveCursor?: boolean): void;
question(query: string, callback: (answer: string) => void): void;
pause(): this;
resume(): this;
close(): void;
write(data: string | Buffer, key?: Key): void;
/**
* Returns the real position of the cursor in relation to the input
* prompt + string. Long input (wrapping) strings, as well as multiple
* line prompts are included in the calculations.
*/
getCursorPos(): CursorPos;
/**
* events.EventEmitter
* 1. close
* 2. line
* 3. pause
* 4. resume
* 5. SIGCONT
* 6. SIGINT
* 7. SIGTSTP
*/
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "close", listener: () => void): this;
addListener(event: "line", listener: (input: string) => void): this;
addListener(event: "pause", listener: () => void): this;
addListener(event: "resume", listener: () => void): this;
addListener(event: "SIGCONT", listener: () => void): this;
addListener(event: "SIGINT", listener: () => void): this;
addListener(event: "SIGTSTP", listener: () => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "close"): boolean;
emit(event: "line", input: string): boolean;
emit(event: "pause"): boolean;
emit(event: "resume"): boolean;
emit(event: "SIGCONT"): boolean;
emit(event: "SIGINT"): boolean;
emit(event: "SIGTSTP"): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "close", listener: () => void): this;
on(event: "line", listener: (input: string) => void): this;
on(event: "pause", listener: () => void): this;
on(event: "resume", listener: () => void): this;
on(event: "SIGCONT", listener: () => void): this;
on(event: "SIGINT", listener: () => void): this;
on(event: "SIGTSTP", listener: () => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "line", listener: (input: string) => void): this;
once(event: "pause", listener: () => void): this;
once(event: "resume", listener: () => void): this;
once(event: "SIGCONT", listener: () => void): this;
once(event: "SIGINT", listener: () => void): this;
once(event: "SIGTSTP", listener: () => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "line", listener: (input: string) => void): this;
prependListener(event: "pause", listener: () => void): this;
prependListener(event: "resume", listener: () => void): this;
prependListener(event: "SIGCONT", listener: () => void): this;
prependListener(event: "SIGINT", listener: () => void): this;
prependListener(event: "SIGTSTP", listener: () => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "line", listener: (input: string) => void): this;
prependOnceListener(event: "pause", listener: () => void): this;
prependOnceListener(event: "resume", listener: () => void): this;
prependOnceListener(event: "SIGCONT", listener: () => void): this;
prependOnceListener(event: "SIGINT", listener: () => void): this;
prependOnceListener(event: "SIGTSTP", listener: () => void): this;
[Symbol.asyncIterator](): AsyncIterableIterator<string>;
}
type ReadLine = Interface; // type forwarded for backwards compatibility
type Completer = (line: string) => CompleterResult;
type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => any;
type CompleterResult = [string[], string];
interface ReadLineOptions {
input: NodeJS.ReadableStream;
output?: NodeJS.WritableStream | undefined;
completer?: Completer | AsyncCompleter | undefined;
terminal?: boolean | undefined;
historySize?: number | undefined;
prompt?: string | undefined;
crlfDelay?: number | undefined;
removeHistoryDuplicates?: boolean | undefined;
escapeCodeTimeout?: number | undefined;
tabSize?: number | undefined;
}
function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
function createInterface(options: ReadLineOptions): Interface;
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
type Direction = -1 | 0 | 1;
interface CursorPos {
rows: number;
cols: number;
}
/**
* Clears the current line of this WriteStream in a direction identified by `dir`.
*/
function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
/**
* Clears this `WriteStream` from the current cursor down.
*/
function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
/**
* Moves this WriteStream's cursor to the specified position.
*/
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
/**
* Moves this WriteStream's cursor relative to its current position.
*/
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
}

View File

@ -0,0 +1,358 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'stream' {
import EventEmitter = require('events');
class internal extends EventEmitter {
pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
}
namespace internal {
class Stream extends internal {
constructor(opts?: ReadableOptions);
}
interface ReadableOptions {
highWaterMark?: number | undefined;
encoding?: BufferEncoding | undefined;
objectMode?: boolean | undefined;
read?(this: Readable, size: number): void;
destroy?(this: Readable, error: Error | null, callback: (error: Error | null) => void): void;
autoDestroy?: boolean | undefined;
}
class Readable extends Stream implements NodeJS.ReadableStream {
/**
* A utility method for creating Readable Streams out of iterators.
*/
static from(iterable: Iterable<any> | AsyncIterable<any>, options?: ReadableOptions): Readable;
readable: boolean;
readonly readableEncoding: BufferEncoding | null;
readonly readableEnded: boolean;
readonly readableFlowing: boolean | null;
readonly readableHighWaterMark: number;
readonly readableLength: number;
readonly readableObjectMode: boolean;
destroyed: boolean;
constructor(opts?: ReadableOptions);
_read(size: number): void;
read(size?: number): any;
setEncoding(encoding: BufferEncoding): this;
pause(): this;
resume(): this;
isPaused(): boolean;
unpipe(destination?: NodeJS.WritableStream): this;
unshift(chunk: any, encoding?: BufferEncoding): void;
wrap(oldStream: NodeJS.ReadableStream): this;
push(chunk: any, encoding?: BufferEncoding): boolean;
_destroy(error: Error | null, callback: (error?: Error | null) => void): void;
destroy(error?: Error): void;
/**
* Event emitter
* The defined events on documents including:
* 1. close
* 2. data
* 3. end
* 4. error
* 5. pause
* 6. readable
* 7. resume
*/
addListener(event: "close", listener: () => void): this;
addListener(event: "data", listener: (chunk: any) => void): this;
addListener(event: "end", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "pause", listener: () => void): this;
addListener(event: "readable", listener: () => void): this;
addListener(event: "resume", listener: () => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "close"): boolean;
emit(event: "data", chunk: any): boolean;
emit(event: "end"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "pause"): boolean;
emit(event: "readable"): boolean;
emit(event: "resume"): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "close", listener: () => void): this;
on(event: "data", listener: (chunk: any) => void): this;
on(event: "end", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "pause", listener: () => void): this;
on(event: "readable", listener: () => void): this;
on(event: "resume", listener: () => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "data", listener: (chunk: any) => void): this;
once(event: "end", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "pause", listener: () => void): this;
once(event: "readable", listener: () => void): this;
once(event: "resume", listener: () => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "data", listener: (chunk: any) => void): this;
prependListener(event: "end", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "pause", listener: () => void): this;
prependListener(event: "readable", listener: () => void): this;
prependListener(event: "resume", listener: () => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "data", listener: (chunk: any) => void): this;
prependOnceListener(event: "end", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "pause", listener: () => void): this;
prependOnceListener(event: "readable", listener: () => void): this;
prependOnceListener(event: "resume", listener: () => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: "close", listener: () => void): this;
removeListener(event: "data", listener: (chunk: any) => void): this;
removeListener(event: "end", listener: () => void): this;
removeListener(event: "error", listener: (err: Error) => void): this;
removeListener(event: "pause", listener: () => void): this;
removeListener(event: "readable", listener: () => void): this;
removeListener(event: "resume", listener: () => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
[Symbol.asyncIterator](): AsyncIterableIterator<any>;
}
interface WritableOptions {
highWaterMark?: number | undefined;
decodeStrings?: boolean | undefined;
defaultEncoding?: BufferEncoding | undefined;
objectMode?: boolean | undefined;
emitClose?: boolean | undefined;
write?(this: Writable, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
writev?(this: Writable, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
destroy?(this: Writable, error: Error | null, callback: (error: Error | null) => void): void;
final?(this: Writable, callback: (error?: Error | null) => void): void;
autoDestroy?: boolean | undefined;
}
class Writable extends Stream implements NodeJS.WritableStream {
readonly writable: boolean;
readonly writableEnded: boolean;
readonly writableFinished: boolean;
readonly writableHighWaterMark: number;
readonly writableLength: number;
readonly writableObjectMode: boolean;
readonly writableCorked: number;
destroyed: boolean;
constructor(opts?: WritableOptions);
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
_writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
_destroy(error: Error | null, callback: (error?: Error | null) => void): void;
_final(callback: (error?: Error | null) => void): void;
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
write(chunk: any, encoding: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
setDefaultEncoding(encoding: BufferEncoding): this;
end(cb?: () => void): void;
end(chunk: any, cb?: () => void): void;
end(chunk: any, encoding: BufferEncoding, cb?: () => void): void;
cork(): void;
uncork(): void;
destroy(error?: Error): void;
/**
* Event emitter
* The defined events on documents including:
* 1. close
* 2. drain
* 3. error
* 4. finish
* 5. pipe
* 6. unpipe
*/
addListener(event: "close", listener: () => void): this;
addListener(event: "drain", listener: () => void): this;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "finish", listener: () => void): this;
addListener(event: "pipe", listener: (src: Readable) => void): this;
addListener(event: "unpipe", listener: (src: Readable) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "close"): boolean;
emit(event: "drain"): boolean;
emit(event: "error", err: Error): boolean;
emit(event: "finish"): boolean;
emit(event: "pipe", src: Readable): boolean;
emit(event: "unpipe", src: Readable): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "close", listener: () => void): this;
on(event: "drain", listener: () => void): this;
on(event: "error", listener: (err: Error) => void): this;
on(event: "finish", listener: () => void): this;
on(event: "pipe", listener: (src: Readable) => void): this;
on(event: "unpipe", listener: (src: Readable) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "drain", listener: () => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "finish", listener: () => void): this;
once(event: "pipe", listener: (src: Readable) => void): this;
once(event: "unpipe", listener: (src: Readable) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "drain", listener: () => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "finish", listener: () => void): this;
prependListener(event: "pipe", listener: (src: Readable) => void): this;
prependListener(event: "unpipe", listener: (src: Readable) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "drain", listener: () => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "finish", listener: () => void): this;
prependOnceListener(event: "pipe", listener: (src: Readable) => void): this;
prependOnceListener(event: "unpipe", listener: (src: Readable) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: "close", listener: () => void): this;
removeListener(event: "drain", listener: () => void): this;
removeListener(event: "error", listener: (err: Error) => void): this;
removeListener(event: "finish", listener: () => void): this;
removeListener(event: "pipe", listener: (src: Readable) => void): this;
removeListener(event: "unpipe", listener: (src: Readable) => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
}
interface DuplexOptions extends ReadableOptions, WritableOptions {
allowHalfOpen?: boolean | undefined;
readableObjectMode?: boolean | undefined;
writableObjectMode?: boolean | undefined;
readableHighWaterMark?: number | undefined;
writableHighWaterMark?: number | undefined;
writableCorked?: number | undefined;
read?(this: Duplex, size: number): void;
write?(this: Duplex, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
writev?(this: Duplex, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
final?(this: Duplex, callback: (error?: Error | null) => void): void;
destroy?(this: Duplex, error: Error | null, callback: (error: Error | null) => void): void;
}
// Note: Duplex extends both Readable and Writable.
class Duplex extends Readable implements Writable {
readonly writable: boolean;
readonly writableEnded: boolean;
readonly writableFinished: boolean;
readonly writableHighWaterMark: number;
readonly writableLength: number;
readonly writableObjectMode: boolean;
readonly writableCorked: number;
allowHalfOpen: boolean;
constructor(opts?: DuplexOptions);
_write(chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
_writev?(chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
_destroy(error: Error | null, callback: (error: Error | null) => void): void;
_final(callback: (error?: Error | null) => void): void;
write(chunk: any, encoding?: BufferEncoding, cb?: (error: Error | null | undefined) => void): boolean;
write(chunk: any, cb?: (error: Error | null | undefined) => void): boolean;
setDefaultEncoding(encoding: BufferEncoding): this;
end(cb?: () => void): void;
end(chunk: any, cb?: () => void): void;
end(chunk: any, encoding?: BufferEncoding, cb?: () => void): void;
cork(): void;
uncork(): void;
}
type TransformCallback = (error?: Error | null, data?: any) => void;
interface TransformOptions extends DuplexOptions {
read?(this: Transform, size: number): void;
write?(this: Transform, chunk: any, encoding: BufferEncoding, callback: (error?: Error | null) => void): void;
writev?(this: Transform, chunks: Array<{ chunk: any, encoding: BufferEncoding }>, callback: (error?: Error | null) => void): void;
final?(this: Transform, callback: (error?: Error | null) => void): void;
destroy?(this: Transform, error: Error | null, callback: (error: Error | null) => void): void;
transform?(this: Transform, chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
flush?(this: Transform, callback: TransformCallback): void;
}
class Transform extends Duplex {
constructor(opts?: TransformOptions);
_transform(chunk: any, encoding: BufferEncoding, callback: TransformCallback): void;
_flush(callback: TransformCallback): void;
}
class PassThrough extends Transform { }
interface FinishedOptions {
error?: boolean | undefined;
readable?: boolean | undefined;
writable?: boolean | undefined;
}
function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options: FinishedOptions, callback: (err?: NodeJS.ErrnoException | null) => void): () => void;
function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, callback: (err?: NodeJS.ErrnoException | null) => void): () => void;
namespace finished {
function __promisify__(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise<void>;
}
function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: T, callback?: (err: NodeJS.ErrnoException | null) => void): T;
function pipeline<T extends NodeJS.WritableStream>(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: T, callback?: (err: NodeJS.ErrnoException | null) => void): T;
function pipeline<T extends NodeJS.WritableStream>(
stream1: NodeJS.ReadableStream,
stream2: NodeJS.ReadWriteStream,
stream3: NodeJS.ReadWriteStream,
stream4: T,
callback?: (err: NodeJS.ErrnoException | null) => void,
): T;
function pipeline<T extends NodeJS.WritableStream>(
stream1: NodeJS.ReadableStream,
stream2: NodeJS.ReadWriteStream,
stream3: NodeJS.ReadWriteStream,
stream4: NodeJS.ReadWriteStream,
stream5: T,
callback?: (err: NodeJS.ErrnoException | null) => void,
): T;
function pipeline(
streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>,
callback?: (err: NodeJS.ErrnoException | null) => void,
): NodeJS.WritableStream;
function pipeline(
stream1: NodeJS.ReadableStream,
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | ((err: NodeJS.ErrnoException | null) => void)>,
): NodeJS.WritableStream;
namespace pipeline {
function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.WritableStream): Promise<void>;
function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.WritableStream): Promise<void>;
function __promisify__(stream1: NodeJS.ReadableStream, stream2: NodeJS.ReadWriteStream, stream3: NodeJS.ReadWriteStream, stream4: NodeJS.WritableStream): Promise<void>;
function __promisify__(
stream1: NodeJS.ReadableStream,
stream2: NodeJS.ReadWriteStream,
stream3: NodeJS.ReadWriteStream,
stream4: NodeJS.ReadWriteStream,
stream5: NodeJS.WritableStream,
): Promise<void>;
function __promisify__(streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>): Promise<void>;
function __promisify__(
stream1: NodeJS.ReadableStream,
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream>,
): Promise<void>;
}
interface Pipe {
close(): void;
hasRef(): boolean;
ref(): void;
unref(): void;
}
}
export = internal;
}

View File

@ -0,0 +1,10 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'string_decoder' {
class StringDecoder {
constructor(encoding?: BufferEncoding);
write(buffer: Buffer): string;
end(buffer?: Buffer): string;
}
}

View File

@ -0,0 +1,19 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'timers' {
function setTimeout(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
namespace setTimeout {
function __promisify__(ms: number): Promise<void>;
function __promisify__<T>(ms: number, value: T): Promise<T>;
}
function clearTimeout(timeoutId: NodeJS.Timeout): void;
function setInterval(callback: (...args: any[]) => void, ms?: number, ...args: any[]): NodeJS.Timeout;
function clearInterval(intervalId: NodeJS.Timeout): void;
function setImmediate(callback: (...args: any[]) => void, ...args: any[]): NodeJS.Immediate;
namespace setImmediate {
function __promisify__(): Promise<void>;
function __promisify__<T>(value: T): Promise<T>;
}
function clearImmediate(immediateId: NodeJS.Immediate): void;
}

View File

@ -0,0 +1,783 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'tls' {
import * as net from 'net';
const CLIENT_RENEG_LIMIT: number;
const CLIENT_RENEG_WINDOW: number;
interface Certificate {
/**
* Country code.
*/
C: string;
/**
* Street.
*/
ST: string;
/**
* Locality.
*/
L: string;
/**
* Organization.
*/
O: string;
/**
* Organizational unit.
*/
OU: string;
/**
* Common name.
*/
CN: string;
}
interface PeerCertificate {
subject: Certificate;
issuer: Certificate;
subjectaltname: string;
infoAccess: NodeJS.Dict<string[]>;
modulus: string;
exponent: string;
valid_from: string;
valid_to: string;
fingerprint: string;
fingerprint256: string;
ext_key_usage: string[];
serialNumber: string;
raw: Buffer;
}
interface DetailedPeerCertificate extends PeerCertificate {
issuerCertificate: DetailedPeerCertificate;
}
interface CipherNameAndProtocol {
/**
* The cipher name.
*/
name: string;
/**
* SSL/TLS protocol version.
*/
version: string;
/**
* IETF name for the cipher suite.
*/
standardName: string;
}
interface EphemeralKeyInfo {
/**
* The supported types are 'DH' and 'ECDH'.
*/
type: string;
/**
* The name property is available only when type is 'ECDH'.
*/
name?: string | undefined;
/**
* The size of parameter of an ephemeral key exchange.
*/
size: number;
}
interface KeyObject {
/**
* Private keys in PEM format.
*/
pem: string | Buffer;
/**
* Optional passphrase.
*/
passphrase?: string | undefined;
}
interface PxfObject {
/**
* PFX or PKCS12 encoded private key and certificate chain.
*/
buf: string | Buffer;
/**
* Optional passphrase.
*/
passphrase?: string | undefined;
}
interface TLSSocketOptions extends SecureContextOptions, CommonConnectionOptions {
/**
* If true the TLS socket will be instantiated in server-mode.
* Defaults to false.
*/
isServer?: boolean | undefined;
/**
* An optional net.Server instance.
*/
server?: net.Server | undefined;
/**
* An optional Buffer instance containing a TLS session.
*/
session?: Buffer | undefined;
/**
* If true, specifies that the OCSP status request extension will be
* added to the client hello and an 'OCSPResponse' event will be
* emitted on the socket before establishing a secure communication
*/
requestOCSP?: boolean | undefined;
}
class TLSSocket extends net.Socket {
/**
* Construct a new tls.TLSSocket object from an existing TCP socket.
*/
constructor(socket: net.Socket, options?: TLSSocketOptions);
/**
* A boolean that is true if the peer certificate was signed by one of the specified CAs, otherwise false.
*/
authorized: boolean;
/**
* The reason why the peer's certificate has not been verified.
* This property becomes available only when tlsSocket.authorized === false.
*/
authorizationError: Error;
/**
* Static boolean value, always true.
* May be used to distinguish TLS sockets from regular ones.
*/
encrypted: boolean;
/**
* String containing the selected ALPN protocol.
* Before a handshake has completed, this value is always null.
* When a handshake is completed but not ALPN protocol was selected, tlsSocket.alpnProtocol equals false.
*/
alpnProtocol: string | false | null;
/**
* Returns an object representing the local certificate. The returned
* object has some properties corresponding to the fields of the
* certificate.
*
* See tls.TLSSocket.getPeerCertificate() for an example of the
* certificate structure.
*
* If there is no local certificate, an empty object will be returned.
* If the socket has been destroyed, null will be returned.
*/
getCertificate(): PeerCertificate | object | null;
/**
* Returns an object representing the cipher name and the SSL/TLS protocol version of the current connection.
* @returns Returns an object representing the cipher name
* and the SSL/TLS protocol version of the current connection.
*/
getCipher(): CipherNameAndProtocol;
/**
* Returns an object representing the type, name, and size of parameter
* of an ephemeral key exchange in Perfect Forward Secrecy on a client
* connection. It returns an empty object when the key exchange is not
* ephemeral. As this is only supported on a client socket; null is
* returned if called on a server socket. The supported types are 'DH'
* and 'ECDH'. The name property is available only when type is 'ECDH'.
*
* For example: { type: 'ECDH', name: 'prime256v1', size: 256 }.
*/
getEphemeralKeyInfo(): EphemeralKeyInfo | object | null;
/**
* Returns the latest Finished message that has
* been sent to the socket as part of a SSL/TLS handshake, or undefined
* if no Finished message has been sent yet.
*
* As the Finished messages are message digests of the complete
* handshake (with a total of 192 bits for TLS 1.0 and more for SSL
* 3.0), they can be used for external authentication procedures when
* the authentication provided by SSL/TLS is not desired or is not
* enough.
*
* Corresponds to the SSL_get_finished routine in OpenSSL and may be
* used to implement the tls-unique channel binding from RFC 5929.
*/
getFinished(): Buffer | undefined;
/**
* Returns an object representing the peer's certificate.
* The returned object has some properties corresponding to the field of the certificate.
* If detailed argument is true the full chain with issuer property will be returned,
* if false only the top certificate without issuer property.
* If the peer does not provide a certificate, it returns null or an empty object.
* @param detailed - If true; the full chain with issuer property will be returned.
* @returns An object representing the peer's certificate.
*/
getPeerCertificate(detailed: true): DetailedPeerCertificate;
getPeerCertificate(detailed?: false): PeerCertificate;
getPeerCertificate(detailed?: boolean): PeerCertificate | DetailedPeerCertificate;
/**
* Returns the latest Finished message that is expected or has actually
* been received from the socket as part of a SSL/TLS handshake, or
* undefined if there is no Finished message so far.
*
* As the Finished messages are message digests of the complete
* handshake (with a total of 192 bits for TLS 1.0 and more for SSL
* 3.0), they can be used for external authentication procedures when
* the authentication provided by SSL/TLS is not desired or is not
* enough.
*
* Corresponds to the SSL_get_peer_finished routine in OpenSSL and may
* be used to implement the tls-unique channel binding from RFC 5929.
*/
getPeerFinished(): Buffer | undefined;
/**
* Returns a string containing the negotiated SSL/TLS protocol version of the current connection.
* The value `'unknown'` will be returned for connected sockets that have not completed the handshaking process.
* The value `null` will be returned for server sockets or disconnected client sockets.
* See https://www.openssl.org/docs/man1.0.2/ssl/SSL_get_version.html for more information.
* @returns negotiated SSL/TLS protocol version of the current connection
*/
getProtocol(): string | null;
/**
* Could be used to speed up handshake establishment when reconnecting to the server.
* @returns ASN.1 encoded TLS session or undefined if none was negotiated.
*/
getSession(): Buffer | undefined;
/**
* Returns a list of signature algorithms shared between the server and
* the client in the order of decreasing preference.
*/
getSharedSigalgs(): string[];
/**
* NOTE: Works only with client TLS sockets.
* Useful only for debugging, for session reuse provide session option to tls.connect().
* @returns TLS session ticket or undefined if none was negotiated.
*/
getTLSTicket(): Buffer | undefined;
/**
* Returns true if the session was reused, false otherwise.
*/
isSessionReused(): boolean;
/**
* Initiate TLS renegotiation process.
*
* NOTE: Can be used to request peer's certificate after the secure connection has been established.
* ANOTHER NOTE: When running as the server, socket will be destroyed with an error after handshakeTimeout timeout.
* @param options - The options may contain the following fields: rejectUnauthorized,
* requestCert (See tls.createServer() for details).
* @param callback - callback(err) will be executed with null as err, once the renegotiation
* is successfully completed.
* @return `undefined` when socket is destroy, `false` if negotiaion can't be initiated.
*/
renegotiate(options: { rejectUnauthorized?: boolean | undefined, requestCert?: boolean | undefined }, callback: (err: Error | null) => void): undefined | boolean;
/**
* Set maximum TLS fragment size (default and maximum value is: 16384, minimum is: 512).
* Smaller fragment size decreases buffering latency on the client: large fragments are buffered by
* the TLS layer until the entire fragment is received and its integrity is verified;
* large fragments can span multiple roundtrips, and their processing can be delayed due to packet
* loss or reordering. However, smaller fragments add extra TLS framing bytes and CPU overhead,
* which may decrease overall server throughput.
* @param size - TLS fragment size (default and maximum value is: 16384, minimum is: 512).
* @returns Returns true on success, false otherwise.
*/
setMaxSendFragment(size: number): boolean;
/**
* Disables TLS renegotiation for this TLSSocket instance. Once called,
* attempts to renegotiate will trigger an 'error' event on the
* TLSSocket.
*/
disableRenegotiation(): void;
/**
* When enabled, TLS packet trace information is written to `stderr`. This can be
* used to debug TLS connection problems.
*
* Note: The format of the output is identical to the output of `openssl s_client
* -trace` or `openssl s_server -trace`. While it is produced by OpenSSL's
* `SSL_trace()` function, the format is undocumented, can change without notice,
* and should not be relied on.
*/
enableTrace(): void;
/**
* @param length number of bytes to retrieve from keying material
* @param label an application specific label, typically this will be a value from the
* [IANA Exporter Label Registry](https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#exporter-labels).
* @param context optionally provide a context.
*/
exportKeyingMaterial(length: number, label: string, context: Buffer): Buffer;
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
addListener(event: "secureConnect", listener: () => void): this;
addListener(event: "session", listener: (session: Buffer) => void): this;
addListener(event: "keylog", listener: (line: Buffer) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "OCSPResponse", response: Buffer): boolean;
emit(event: "secureConnect"): boolean;
emit(event: "session", session: Buffer): boolean;
emit(event: "keylog", line: Buffer): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "OCSPResponse", listener: (response: Buffer) => void): this;
on(event: "secureConnect", listener: () => void): this;
on(event: "session", listener: (session: Buffer) => void): this;
on(event: "keylog", listener: (line: Buffer) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "OCSPResponse", listener: (response: Buffer) => void): this;
once(event: "secureConnect", listener: () => void): this;
once(event: "session", listener: (session: Buffer) => void): this;
once(event: "keylog", listener: (line: Buffer) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
prependListener(event: "secureConnect", listener: () => void): this;
prependListener(event: "session", listener: (session: Buffer) => void): this;
prependListener(event: "keylog", listener: (line: Buffer) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "OCSPResponse", listener: (response: Buffer) => void): this;
prependOnceListener(event: "secureConnect", listener: () => void): this;
prependOnceListener(event: "session", listener: (session: Buffer) => void): this;
prependOnceListener(event: "keylog", listener: (line: Buffer) => void): this;
}
interface CommonConnectionOptions {
/**
* An optional TLS context object from tls.createSecureContext()
*/
secureContext?: SecureContext | undefined;
/**
* When enabled, TLS packet trace information is written to `stderr`. This can be
* used to debug TLS connection problems.
* @default false
*/
enableTrace?: boolean | undefined;
/**
* If true the server will request a certificate from clients that
* connect and attempt to verify that certificate. Defaults to
* false.
*/
requestCert?: boolean | undefined;
/**
* An array of strings or a Buffer naming possible ALPN protocols.
* (Protocols should be ordered by their priority.)
*/
ALPNProtocols?: string[] | Uint8Array[] | Uint8Array | undefined;
/**
* SNICallback(servername, cb) <Function> A function that will be
* called if the client supports SNI TLS extension. Two arguments
* will be passed when called: servername and cb. SNICallback should
* invoke cb(null, ctx), where ctx is a SecureContext instance.
* (tls.createSecureContext(...) can be used to get a proper
* SecureContext.) If SNICallback wasn't provided the default callback
* with high-level API will be used (see below).
*/
SNICallback?: ((servername: string, cb: (err: Error | null, ctx: SecureContext) => void) => void) | undefined;
/**
* If true the server will reject any connection which is not
* authorized with the list of supplied CAs. This option only has an
* effect if requestCert is true.
* @default true
*/
rejectUnauthorized?: boolean | undefined;
}
interface TlsOptions extends SecureContextOptions, CommonConnectionOptions, net.ServerOpts {
/**
* Abort the connection if the SSL/TLS handshake does not finish in the
* specified number of milliseconds. A 'tlsClientError' is emitted on
* the tls.Server object whenever a handshake times out. Default:
* 120000 (120 seconds).
*/
handshakeTimeout?: number | undefined;
/**
* The number of seconds after which a TLS session created by the
* server will no longer be resumable. See Session Resumption for more
* information. Default: 300.
*/
sessionTimeout?: number | undefined;
/**
* 48-bytes of cryptographically strong pseudo-random data.
*/
ticketKeys?: Buffer | undefined;
/**
*
* @param socket
* @param identity identity parameter sent from the client.
* @return pre-shared key that must either be
* a buffer or `null` to stop the negotiation process. Returned PSK must be
* compatible with the selected cipher's digest.
*
* When negotiating TLS-PSK (pre-shared keys), this function is called
* with the identity provided by the client.
* If the return value is `null` the negotiation process will stop and an
* "unknown_psk_identity" alert message will be sent to the other party.
* If the server wishes to hide the fact that the PSK identity was not known,
* the callback must provide some random data as `psk` to make the connection
* fail with "decrypt_error" before negotiation is finished.
* PSK ciphers are disabled by default, and using TLS-PSK thus
* requires explicitly specifying a cipher suite with the `ciphers` option.
* More information can be found in the RFC 4279.
*/
pskCallback?(socket: TLSSocket, identity: string): DataView | NodeJS.TypedArray | null;
/**
* hint to send to a client to help
* with selecting the identity during TLS-PSK negotiation. Will be ignored
* in TLS 1.3. Upon failing to set pskIdentityHint `tlsClientError` will be
* emitted with `ERR_TLS_PSK_SET_IDENTIY_HINT_FAILED` code.
*/
pskIdentityHint?: string | undefined;
}
interface PSKCallbackNegotation {
psk: DataView | NodeJS.TypedArray;
identity: string;
}
interface ConnectionOptions extends SecureContextOptions, CommonConnectionOptions {
host?: string | undefined;
port?: number | undefined;
path?: string | undefined; // Creates unix socket connection to path. If this option is specified, `host` and `port` are ignored.
socket?: net.Socket | undefined; // Establish secure connection on a given socket rather than creating a new socket
checkServerIdentity?: typeof checkServerIdentity | undefined;
servername?: string | undefined; // SNI TLS Extension
session?: Buffer | undefined;
minDHSize?: number | undefined;
lookup?: net.LookupFunction | undefined;
timeout?: number | undefined;
/**
* When negotiating TLS-PSK (pre-shared keys), this function is called
* with optional identity `hint` provided by the server or `null`
* in case of TLS 1.3 where `hint` was removed.
* It will be necessary to provide a custom `tls.checkServerIdentity()`
* for the connection as the default one will try to check hostname/IP
* of the server against the certificate but that's not applicable for PSK
* because there won't be a certificate present.
* More information can be found in the RFC 4279.
*
* @param hint message sent from the server to help client
* decide which identity to use during negotiation.
* Always `null` if TLS 1.3 is used.
* @returns Return `null` to stop the negotiation process. `psk` must be
* compatible with the selected cipher's digest.
* `identity` must use UTF-8 encoding.
*/
pskCallback?(hint: string | null): PSKCallbackNegotation | null;
}
class Server extends net.Server {
constructor(secureConnectionListener?: (socket: TLSSocket) => void);
constructor(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void);
/**
* The server.addContext() method adds a secure context that will be
* used if the client request's SNI name matches the supplied hostname
* (or wildcard).
*/
addContext(hostName: string, credentials: SecureContextOptions): void;
/**
* Returns the session ticket keys.
*/
getTicketKeys(): Buffer;
/**
*
* The server.setSecureContext() method replaces the
* secure context of an existing server. Existing connections to the
* server are not interrupted.
*/
setSecureContext(details: SecureContextOptions): void;
/**
* The server.setSecureContext() method replaces the secure context of
* an existing server. Existing connections to the server are not
* interrupted.
*/
setTicketKeys(keys: Buffer): void;
/**
* events.EventEmitter
* 1. tlsClientError
* 2. newSession
* 3. OCSPRequest
* 4. resumeSession
* 5. secureConnection
* 6. keylog
*/
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
addListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
addListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
addListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
addListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
addListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "tlsClientError", err: Error, tlsSocket: TLSSocket): boolean;
emit(event: "newSession", sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean;
emit(event: "OCSPRequest", certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean;
emit(event: "resumeSession", sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean;
emit(event: "secureConnection", tlsSocket: TLSSocket): boolean;
emit(event: "keylog", line: Buffer, tlsSocket: TLSSocket): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
on(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
on(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
on(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
on(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
on(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
once(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
once(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
once(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
once(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
once(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
prependListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
prependListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
prependListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
prependListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
prependListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "tlsClientError", listener: (err: Error, tlsSocket: TLSSocket) => void): this;
prependOnceListener(event: "newSession", listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
prependOnceListener(event: "OCSPRequest", listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
prependOnceListener(event: "resumeSession", listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
prependOnceListener(event: "secureConnection", listener: (tlsSocket: TLSSocket) => void): this;
prependOnceListener(event: "keylog", listener: (line: Buffer, tlsSocket: TLSSocket) => void): this;
}
interface SecurePair {
encrypted: TLSSocket;
cleartext: TLSSocket;
}
type SecureVersion = 'TLSv1.3' | 'TLSv1.2' | 'TLSv1.1' | 'TLSv1';
interface SecureContextOptions {
/**
* Optionally override the trusted CA certificates. Default is to trust
* the well-known CAs curated by Mozilla. Mozilla's CAs are completely
* replaced when CAs are explicitly specified using this option.
*/
ca?: string | Buffer | Array<string | Buffer> | undefined;
/**
* Cert chains in PEM format. One cert chain should be provided per
* private key. Each cert chain should consist of the PEM formatted
* certificate for a provided private key, followed by the PEM
* formatted intermediate certificates (if any), in order, and not
* including the root CA (the root CA must be pre-known to the peer,
* see ca). When providing multiple cert chains, they do not have to
* be in the same order as their private keys in key. If the
* intermediate certificates are not provided, the peer will not be
* able to validate the certificate, and the handshake will fail.
*/
cert?: string | Buffer | Array<string | Buffer> | undefined;
/**
* Colon-separated list of supported signature algorithms. The list
* can contain digest algorithms (SHA256, MD5 etc.), public key
* algorithms (RSA-PSS, ECDSA etc.), combination of both (e.g
* 'RSA+SHA384') or TLS v1.3 scheme names (e.g. rsa_pss_pss_sha512).
*/
sigalgs?: string | undefined;
/**
* Cipher suite specification, replacing the default. For more
* information, see modifying the default cipher suite. Permitted
* ciphers can be obtained via tls.getCiphers(). Cipher names must be
* uppercased in order for OpenSSL to accept them.
*/
ciphers?: string | undefined;
/**
* Name of an OpenSSL engine which can provide the client certificate.
*/
clientCertEngine?: string | undefined;
/**
* PEM formatted CRLs (Certificate Revocation Lists).
*/
crl?: string | Buffer | Array<string | Buffer> | undefined;
/**
* Diffie Hellman parameters, required for Perfect Forward Secrecy. Use
* openssl dhparam to create the parameters. The key length must be
* greater than or equal to 1024 bits or else an error will be thrown.
* Although 1024 bits is permissible, use 2048 bits or larger for
* stronger security. If omitted or invalid, the parameters are
* silently discarded and DHE ciphers will not be available.
*/
dhparam?: string | Buffer | undefined;
/**
* A string describing a named curve or a colon separated list of curve
* NIDs or names, for example P-521:P-384:P-256, to use for ECDH key
* agreement. Set to auto to select the curve automatically. Use
* crypto.getCurves() to obtain a list of available curve names. On
* recent releases, openssl ecparam -list_curves will also display the
* name and description of each available elliptic curve. Default:
* tls.DEFAULT_ECDH_CURVE.
*/
ecdhCurve?: string | undefined;
/**
* Attempt to use the server's cipher suite preferences instead of the
* client's. When true, causes SSL_OP_CIPHER_SERVER_PREFERENCE to be
* set in secureOptions
*/
honorCipherOrder?: boolean | undefined;
/**
* Private keys in PEM format. PEM allows the option of private keys
* being encrypted. Encrypted keys will be decrypted with
* options.passphrase. Multiple keys using different algorithms can be
* provided either as an array of unencrypted key strings or buffers,
* or an array of objects in the form {pem: <string|buffer>[,
* passphrase: <string>]}. The object form can only occur in an array.
* object.passphrase is optional. Encrypted keys will be decrypted with
* object.passphrase if provided, or options.passphrase if it is not.
*/
key?: string | Buffer | Array<Buffer | KeyObject> | undefined;
/**
* Name of an OpenSSL engine to get private key from. Should be used
* together with privateKeyIdentifier.
*/
privateKeyEngine?: string | undefined;
/**
* Identifier of a private key managed by an OpenSSL engine. Should be
* used together with privateKeyEngine. Should not be set together with
* key, because both options define a private key in different ways.
*/
privateKeyIdentifier?: string | undefined;
/**
* Optionally set the maximum TLS version to allow. One
* of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
* `secureProtocol` option, use one or the other.
* **Default:** `'TLSv1.3'`, unless changed using CLI options. Using
* `--tls-max-v1.2` sets the default to `'TLSv1.2'`. Using `--tls-max-v1.3` sets the default to
* `'TLSv1.3'`. If multiple of the options are provided, the highest maximum is used.
*/
maxVersion?: SecureVersion | undefined;
/**
* Optionally set the minimum TLS version to allow. One
* of `'TLSv1.3'`, `'TLSv1.2'`, `'TLSv1.1'`, or `'TLSv1'`. Cannot be specified along with the
* `secureProtocol` option, use one or the other. It is not recommended to use
* less than TLSv1.2, but it may be required for interoperability.
* **Default:** `'TLSv1.2'`, unless changed using CLI options. Using
* `--tls-v1.0` sets the default to `'TLSv1'`. Using `--tls-v1.1` sets the default to
* `'TLSv1.1'`. Using `--tls-min-v1.3` sets the default to
* 'TLSv1.3'. If multiple of the options are provided, the lowest minimum is used.
*/
minVersion?: SecureVersion | undefined;
/**
* Shared passphrase used for a single private key and/or a PFX.
*/
passphrase?: string | undefined;
/**
* PFX or PKCS12 encoded private key and certificate chain. pfx is an
* alternative to providing key and cert individually. PFX is usually
* encrypted, if it is, passphrase will be used to decrypt it. Multiple
* PFX can be provided either as an array of unencrypted PFX buffers,
* or an array of objects in the form {buf: <string|buffer>[,
* passphrase: <string>]}. The object form can only occur in an array.
* object.passphrase is optional. Encrypted PFX will be decrypted with
* object.passphrase if provided, or options.passphrase if it is not.
*/
pfx?: string | Buffer | Array<string | Buffer | PxfObject> | undefined;
/**
* Optionally affect the OpenSSL protocol behavior, which is not
* usually necessary. This should be used carefully if at all! Value is
* a numeric bitmask of the SSL_OP_* options from OpenSSL Options
*/
secureOptions?: number | undefined; // Value is a numeric bitmask of the `SSL_OP_*` options
/**
* Legacy mechanism to select the TLS protocol version to use, it does
* not support independent control of the minimum and maximum version,
* and does not support limiting the protocol to TLSv1.3. Use
* minVersion and maxVersion instead. The possible values are listed as
* SSL_METHODS, use the function names as strings. For example, use
* 'TLSv1_1_method' to force TLS version 1.1, or 'TLS_method' to allow
* any TLS protocol version up to TLSv1.3. It is not recommended to use
* TLS versions less than 1.2, but it may be required for
* interoperability. Default: none, see minVersion.
*/
secureProtocol?: string | undefined;
/**
* Opaque identifier used by servers to ensure session state is not
* shared between applications. Unused by clients.
*/
sessionIdContext?: string | undefined;
/**
* 48-bytes of cryptographically strong pseudo-random data.
* See Session Resumption for more information.
*/
ticketKeys?: Buffer | undefined;
/**
* The number of seconds after which a TLS session created by the
* server will no longer be resumable. See Session Resumption for more
* information. Default: 300.
*/
sessionTimeout?: number | undefined;
}
interface SecureContext {
context: any;
}
/*
* Verifies the certificate `cert` is issued to host `host`.
* @host The hostname to verify the certificate against
* @cert PeerCertificate representing the peer's certificate
*
* Returns Error object, populating it with the reason, host and cert on failure. On success, returns undefined.
*/
function checkServerIdentity(host: string, cert: PeerCertificate): Error | undefined;
function createServer(secureConnectionListener?: (socket: TLSSocket) => void): Server;
function createServer(options: TlsOptions, secureConnectionListener?: (socket: TLSSocket) => void): Server;
function connect(options: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
function connect(port: number, host?: string, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
function connect(port: number, options?: ConnectionOptions, secureConnectListener?: () => void): TLSSocket;
/**
* @deprecated since v0.11.3 Use `tls.TLSSocket` instead.
*/
function createSecurePair(credentials?: SecureContext, isServer?: boolean, requestCert?: boolean, rejectUnauthorized?: boolean): SecurePair;
function createSecureContext(options?: SecureContextOptions): SecureContext;
function getCiphers(): string[];
/**
* The default curve name to use for ECDH key agreement in a tls server.
* The default value is 'auto'. See tls.createSecureContext() for further
* information.
*/
let DEFAULT_ECDH_CURVE: string;
/**
* The default value of the maxVersion option of
* tls.createSecureContext(). It can be assigned any of the supported TLS
* protocol versions, 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default:
* 'TLSv1.3', unless changed using CLI options. Using --tls-max-v1.2 sets
* the default to 'TLSv1.2'. Using --tls-max-v1.3 sets the default to
* 'TLSv1.3'. If multiple of the options are provided, the highest maximum
* is used.
*/
let DEFAULT_MAX_VERSION: SecureVersion;
/**
* The default value of the minVersion option of tls.createSecureContext().
* It can be assigned any of the supported TLS protocol versions,
* 'TLSv1.3', 'TLSv1.2', 'TLSv1.1', or 'TLSv1'. Default: 'TLSv1.2', unless
* changed using CLI options. Using --tls-min-v1.0 sets the default to
* 'TLSv1'. Using --tls-min-v1.1 sets the default to 'TLSv1.1'. Using
* --tls-min-v1.3 sets the default to 'TLSv1.3'. If multiple of the options
* are provided, the lowest minimum is used.
*/
let DEFAULT_MIN_VERSION: SecureVersion;
/**
* An immutable array of strings representing the root certificates (in PEM
* format) used for verifying peer certificates. This is the default value
* of the ca option to tls.createSecureContext().
*/
const rootCertificates: ReadonlyArray<string>;
}

View File

@ -0,0 +1,64 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'trace_events' {
/**
* The `Tracing` object is used to enable or disable tracing for sets of
* categories. Instances are created using the
* `trace_events.createTracing()` method.
*
* When created, the `Tracing` object is disabled. Calling the
* `tracing.enable()` method adds the categories to the set of enabled trace
* event categories. Calling `tracing.disable()` will remove the categories
* from the set of enabled trace event categories.
*/
interface Tracing {
/**
* A comma-separated list of the trace event categories covered by this
* `Tracing` object.
*/
readonly categories: string;
/**
* Disables this `Tracing` object.
*
* Only trace event categories _not_ covered by other enabled `Tracing`
* objects and _not_ specified by the `--trace-event-categories` flag
* will be disabled.
*/
disable(): void;
/**
* Enables this `Tracing` object for the set of categories covered by
* the `Tracing` object.
*/
enable(): void;
/**
* `true` only if the `Tracing` object has been enabled.
*/
readonly enabled: boolean;
}
interface CreateTracingOptions {
/**
* An array of trace category names. Values included in the array are
* coerced to a string when possible. An error will be thrown if the
* value cannot be coerced.
*/
categories: string[];
}
/**
* Creates and returns a Tracing object for the given set of categories.
*/
function createTracing(options: CreateTracingOptions): Tracing;
/**
* Returns a comma-separated list of all currently-enabled trace event
* categories. The current set of enabled trace event categories is
* determined by the union of all currently-enabled `Tracing` objects and
* any categories enabled using the `--trace-event-categories` flag.
*/
function getEnabledCategories(): string | undefined;
}

View File

@ -0,0 +1,69 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'tty' {
import * as net from 'net';
function isatty(fd: number): boolean;
class ReadStream extends net.Socket {
constructor(fd: number, options?: net.SocketConstructorOpts);
isRaw: boolean;
setRawMode(mode: boolean): this;
isTTY: boolean;
}
/**
* -1 - to the left from cursor
* 0 - the entire line
* 1 - to the right from cursor
*/
type Direction = -1 | 0 | 1;
class WriteStream extends net.Socket {
constructor(fd: number);
addListener(event: string, listener: (...args: any[]) => void): this;
addListener(event: "resize", listener: () => void): this;
emit(event: string | symbol, ...args: any[]): boolean;
emit(event: "resize"): boolean;
on(event: string, listener: (...args: any[]) => void): this;
on(event: "resize", listener: () => void): this;
once(event: string, listener: (...args: any[]) => void): this;
once(event: "resize", listener: () => void): this;
prependListener(event: string, listener: (...args: any[]) => void): this;
prependListener(event: "resize", listener: () => void): this;
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
prependOnceListener(event: "resize", listener: () => void): this;
/**
* Clears the current line of this WriteStream in a direction identified by `dir`.
*/
clearLine(dir: Direction, callback?: () => void): boolean;
/**
* Clears this `WriteStream` from the current cursor down.
*/
clearScreenDown(callback?: () => void): boolean;
/**
* Moves this WriteStream's cursor to the specified position.
*/
cursorTo(x: number, y?: number, callback?: () => void): boolean;
cursorTo(x: number, callback: () => void): boolean;
/**
* Moves this WriteStream's cursor relative to its current position.
*/
moveCursor(dx: number, dy: number, callback?: () => void): boolean;
/**
* @default `process.env`
*/
getColorDepth(env?: {}): number;
hasColors(depth?: number): boolean;
hasColors(env?: {}): boolean;
hasColors(depth: number, env?: {}): boolean;
getWindowSize(): [number, number];
columns: number;
rows: number;
isTTY: boolean;
}
}

View File

@ -1 +1,119 @@
declare module'node:url'{export*from'url';}declare module'url'{import{ParsedUrlQuery,ParsedUrlQueryInput}from'node:querystring';interface UrlObject{auth?:string|null;hash?:string|null;host?:string|null;hostname?:string|null;href?:string|null;pathname?:string|null;protocol?:string|null;search?:string|null;slashes?:boolean|null;port?:string|number|null;query?:string|null|ParsedUrlQueryInput;}interface Url{auth:string|null;hash:string|null;host:string|null;hostname:string|null;href:string;path:string|null;pathname:string|null;protocol:string|null;search:string|null;slashes:boolean|null;port:string|null;query:string|null|ParsedUrlQuery;}interface UrlWithParsedQuery extends Url{query:ParsedUrlQuery;}interface UrlWithStringQuery extends Url{query:string|null;}function parse(urlStr:string):UrlWithStringQuery;function parse(urlStr:string,parseQueryString:false|undefined,slashesDenoteHost?:boolean):UrlWithStringQuery;function parse(urlStr:string,parseQueryString:true,slashesDenoteHost?:boolean):UrlWithParsedQuery;function parse(urlStr:string,parseQueryString:boolean,slashesDenoteHost?:boolean):Url;function format(URL:URL,options?:URLFormatOptions):string;function format(urlObject:UrlObject|string):string;function resolve(from:string,to:string):string;function domainToASCII(domain:string):string;function domainToUnicode(domain:string):string;function fileURLToPath(url:string|URL):string;function pathToFileURL(url:string):URL;interface URLFormatOptions{auth?:boolean;fragment?:boolean;search?:boolean;unicode?:boolean;}class URL{constructor(input:string,base?:string|URL);hash:string;host:string;hostname:string;href:string;readonly origin:string;password:string;pathname:string;port:string;protocol:string;search:string;readonly searchParams:URLSearchParams;username:string;toString():string;toJSON():string;}class URLSearchParams implements Iterable<[string,string]>{constructor(init?:URLSearchParams|string|NodeJS.Dict<string|ReadonlyArray<string>>|Iterable<[string,string]>|ReadonlyArray<[string,string]>);append(name:string,value:string):void;delete(name:string):void;entries():IterableIterator<[string,string]>;forEach(callback:(value:string,name:string,searchParams:this)=>void):void;get(name:string):string|null;getAll(name:string):string[];has(name:string):boolean;keys():IterableIterator<string>;set(name:string,value:string):void;sort():void;toString():string;values():IterableIterator<string>;[Symbol.iterator]():IterableIterator<[string,string]>;}}
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'url' {
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'querystring';
// Input to `url.format`
interface UrlObject {
auth?: string | null | undefined;
hash?: string | null | undefined;
host?: string | null | undefined;
hostname?: string | null | undefined;
href?: string | null | undefined;
pathname?: string | null | undefined;
protocol?: string | null | undefined;
search?: string | null | undefined;
slashes?: boolean | null | undefined;
port?: string | number | null | undefined;
query?: string | null | ParsedUrlQueryInput | undefined;
}
// Output of `url.parse`
interface Url {
auth: string | null;
hash: string | null;
host: string | null;
hostname: string | null;
href: string;
path: string | null;
pathname: string | null;
protocol: string | null;
search: string | null;
slashes: boolean | null;
port: string | null;
query: string | null | ParsedUrlQuery;
}
interface UrlWithParsedQuery extends Url {
query: ParsedUrlQuery;
}
interface UrlWithStringQuery extends Url {
query: string | null;
}
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function parse(urlStr: string): UrlWithStringQuery;
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function parse(urlStr: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function parse(urlStr: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function parse(urlStr: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
function format(URL: URL, options?: URLFormatOptions): string;
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function format(urlObject: UrlObject | string): string;
/** @deprecated since v11.0.0 - Use the WHATWG URL API. */
function resolve(from: string, to: string): string;
function domainToASCII(domain: string): string;
function domainToUnicode(domain: string): string;
/**
* This function ensures the correct decodings of percent-encoded characters as
* well as ensuring a cross-platform valid absolute path string.
* @param url The file URL string or URL object to convert to a path.
*/
function fileURLToPath(url: string | URL): string;
/**
* This function ensures that path is resolved absolutely, and that the URL
* control characters are correctly encoded when converting into a File URL.
* @param url The path to convert to a File URL.
*/
function pathToFileURL(url: string): URL;
interface URLFormatOptions {
auth?: boolean | undefined;
fragment?: boolean | undefined;
search?: boolean | undefined;
unicode?: boolean | undefined;
}
class URL {
constructor(input: string, base?: string | URL);
hash: string;
host: string;
hostname: string;
href: string;
readonly origin: string;
password: string;
pathname: string;
port: string;
protocol: string;
search: string;
readonly searchParams: URLSearchParams;
username: string;
toString(): string;
toJSON(): string;
}
class URLSearchParams implements Iterable<[string, string]> {
constructor(init?: URLSearchParams | string | Record<string, string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
append(name: string, value: string): void;
delete(name: string): void;
entries(): IterableIterator<[string, string]>;
forEach(callback: (value: string, name: string, searchParams: this) => void): void;
get(name: string): string | null;
getAll(name: string): string[];
has(name: string): boolean;
keys(): IterableIterator<string>;
set(name: string, value: string): void;
sort(): void;
toString(): string;
values(): IterableIterator<string>;
[Symbol.iterator](): IterableIterator<[string, string]>;
}
}

View File

@ -0,0 +1,210 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'util' {
interface InspectOptions extends NodeJS.InspectOptions { }
type Style = 'special' | 'number' | 'bigint' | 'boolean' | 'undefined' | 'null' | 'string' | 'symbol' | 'date' | 'regexp' | 'module';
type CustomInspectFunction = (depth: number, options: InspectOptionsStylized) => string;
interface InspectOptionsStylized extends InspectOptions {
stylize(text: string, styleType: Style): string;
}
function format(format?: any, ...param: any[]): string;
function formatWithOptions(inspectOptions: InspectOptions, format?: any, ...param: any[]): string;
/** @deprecated since v0.11.3 - use a third party module instead. */
function log(string: string): void;
function inspect(object: any, showHidden?: boolean, depth?: number | null, color?: boolean): string;
function inspect(object: any, options: InspectOptions): string;
namespace inspect {
let colors: NodeJS.Dict<[number, number]>;
let styles: {
[K in Style]: string
};
let defaultOptions: InspectOptions;
/**
* Allows changing inspect settings from the repl.
*/
let replDefaults: InspectOptions;
const custom: unique symbol;
}
/** @deprecated since v4.0.0 - use `Array.isArray()` instead. */
function isArray(object: any): object is any[];
/** @deprecated since v4.0.0 - use `util.types.isRegExp()` instead. */
function isRegExp(object: any): object is RegExp;
/** @deprecated since v4.0.0 - use `util.types.isDate()` instead. */
function isDate(object: any): object is Date;
/** @deprecated since v4.0.0 - use `util.types.isNativeError()` instead. */
function isError(object: any): object is Error;
function inherits(constructor: any, superConstructor: any): void;
function debuglog(key: string): (msg: string, ...param: any[]) => void;
/** @deprecated since v4.0.0 - use `typeof value === 'boolean'` instead. */
function isBoolean(object: any): object is boolean;
/** @deprecated since v4.0.0 - use `Buffer.isBuffer()` instead. */
function isBuffer(object: any): object is Buffer;
/** @deprecated since v4.0.0 - use `typeof value === 'function'` instead. */
function isFunction(object: any): boolean;
/** @deprecated since v4.0.0 - use `value === null` instead. */
function isNull(object: any): object is null;
/** @deprecated since v4.0.0 - use `value === null || value === undefined` instead. */
function isNullOrUndefined(object: any): object is null | undefined;
/** @deprecated since v4.0.0 - use `typeof value === 'number'` instead. */
function isNumber(object: any): object is number;
/** @deprecated since v4.0.0 - use `value !== null && typeof value === 'object'` instead. */
function isObject(object: any): boolean;
/** @deprecated since v4.0.0 - use `(typeof value !== 'object' && typeof value !== 'function') || value === null` instead. */
function isPrimitive(object: any): boolean;
/** @deprecated since v4.0.0 - use `typeof value === 'string'` instead. */
function isString(object: any): object is string;
/** @deprecated since v4.0.0 - use `typeof value === 'symbol'` instead. */
function isSymbol(object: any): object is symbol;
/** @deprecated since v4.0.0 - use `value === undefined` instead. */
function isUndefined(object: any): object is undefined;
function deprecate<T extends Function>(fn: T, message: string, code?: string): T;
function isDeepStrictEqual(val1: any, val2: any): boolean;
function callbackify(fn: () => Promise<void>): (callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<TResult>(fn: () => Promise<TResult>): (callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
function callbackify<T1>(fn: (arg1: T1) => Promise<void>): (arg1: T1, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, TResult>(fn: (arg1: T1) => Promise<TResult>): (arg1: T1, callback: (err: NodeJS.ErrnoException, result: TResult) => void) => void;
function callbackify<T1, T2>(fn: (arg1: T1, arg2: T2) => Promise<void>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2) => Promise<TResult>): (arg1: T1, arg2: T2, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
function callbackify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, T2, T3, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
function callbackify<T1, T2, T3, T4>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, T2, T3, T4, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
function callbackify<T1, T2, T3, T4, T5>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, T2, T3, T4, T5, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>,
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
function callbackify<T1, T2, T3, T4, T5, T6>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<void>,
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException) => void) => void;
function callbackify<T1, T2, T3, T4, T5, T6, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6) => Promise<TResult>
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, arg6: T6, callback: (err: NodeJS.ErrnoException | null, result: TResult) => void) => void;
interface CustomPromisifyLegacy<TCustom extends Function> extends Function {
__promisify__: TCustom;
}
interface CustomPromisifySymbol<TCustom extends Function> extends Function {
[promisify.custom]: TCustom;
}
type CustomPromisify<TCustom extends Function> = CustomPromisifySymbol<TCustom> | CustomPromisifyLegacy<TCustom>;
function promisify<TCustom extends Function>(fn: CustomPromisify<TCustom>): TCustom;
function promisify<TResult>(fn: (callback: (err: any, result: TResult) => void) => void): () => Promise<TResult>;
function promisify(fn: (callback: (err?: any) => void) => void): () => Promise<void>;
function promisify<T1, TResult>(fn: (arg1: T1, callback: (err: any, result: TResult) => void) => void): (arg1: T1) => Promise<TResult>;
function promisify<T1>(fn: (arg1: T1, callback: (err?: any) => void) => void): (arg1: T1) => Promise<void>;
function promisify<T1, T2, TResult>(fn: (arg1: T1, arg2: T2, callback: (err: any, result: TResult) => void) => void): (arg1: T1, arg2: T2) => Promise<TResult>;
function promisify<T1, T2>(fn: (arg1: T1, arg2: T2, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2) => Promise<void>;
function promisify<T1, T2, T3, TResult>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err: any, result: TResult) => void) => void):
(arg1: T1, arg2: T2, arg3: T3) => Promise<TResult>;
function promisify<T1, T2, T3>(fn: (arg1: T1, arg2: T2, arg3: T3, callback: (err?: any) => void) => void): (arg1: T1, arg2: T2, arg3: T3) => Promise<void>;
function promisify<T1, T2, T3, T4, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err: any, result: TResult) => void) => void,
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<TResult>;
function promisify<T1, T2, T3, T4>(fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, callback: (err?: any) => void) => void):
(arg1: T1, arg2: T2, arg3: T3, arg4: T4) => Promise<void>;
function promisify<T1, T2, T3, T4, T5, TResult>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err: any, result: TResult) => void) => void,
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<TResult>;
function promisify<T1, T2, T3, T4, T5>(
fn: (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5, callback: (err?: any) => void) => void,
): (arg1: T1, arg2: T2, arg3: T3, arg4: T4, arg5: T5) => Promise<void>;
function promisify(fn: Function): Function;
namespace promisify {
const custom: unique symbol;
}
namespace types {
function isAnyArrayBuffer(object: any): object is ArrayBufferLike;
function isArgumentsObject(object: any): object is IArguments;
function isArrayBuffer(object: any): object is ArrayBuffer;
function isArrayBufferView(object: any): object is NodeJS.ArrayBufferView;
function isAsyncFunction(object: any): boolean;
function isBigInt64Array(value: any): value is BigInt64Array;
function isBigUint64Array(value: any): value is BigUint64Array;
function isBooleanObject(object: any): object is Boolean;
function isBoxedPrimitive(object: any): object is String | Number | BigInt | Boolean | Symbol;
function isDataView(object: any): object is DataView;
function isDate(object: any): object is Date;
function isExternal(object: any): boolean;
function isFloat32Array(object: any): object is Float32Array;
function isFloat64Array(object: any): object is Float64Array;
function isGeneratorFunction(object: any): object is GeneratorFunction;
function isGeneratorObject(object: any): object is Generator;
function isInt8Array(object: any): object is Int8Array;
function isInt16Array(object: any): object is Int16Array;
function isInt32Array(object: any): object is Int32Array;
function isMap<T>(
object: T | {},
): object is T extends ReadonlyMap<any, any>
? unknown extends T
? never
: ReadonlyMap<any, any>
: Map<any, any>;
function isMapIterator(object: any): boolean;
function isModuleNamespaceObject(value: any): boolean;
function isNativeError(object: any): object is Error;
function isNumberObject(object: any): object is Number;
function isPromise(object: any): object is Promise<any>;
function isProxy(object: any): boolean;
function isRegExp(object: any): object is RegExp;
function isSet<T>(
object: T | {},
): object is T extends ReadonlySet<any>
? unknown extends T
? never
: ReadonlySet<any>
: Set<any>;
function isSetIterator(object: any): boolean;
function isSharedArrayBuffer(object: any): object is SharedArrayBuffer;
function isStringObject(object: any): object is String;
function isSymbolObject(object: any): object is Symbol;
function isTypedArray(object: any): object is NodeJS.TypedArray;
function isUint8Array(object: any): object is Uint8Array;
function isUint8ClampedArray(object: any): object is Uint8ClampedArray;
function isUint16Array(object: any): object is Uint16Array;
function isUint32Array(object: any): object is Uint32Array;
function isWeakMap(object: any): object is WeakMap<any, any>;
function isWeakSet(object: any): object is WeakSet<any>;
}
class TextDecoder {
readonly encoding: string;
readonly fatal: boolean;
readonly ignoreBOM: boolean;
constructor(
encoding?: string,
options?: { fatal?: boolean | undefined; ignoreBOM?: boolean | undefined }
);
decode(
input?: NodeJS.ArrayBufferView | ArrayBuffer | null,
options?: { stream?: boolean | undefined }
): string;
}
interface EncodeIntoResult {
/**
* The read Unicode code units of input.
*/
read: number;
/**
* The written UTF-8 bytes of output.
*/
written: number;
}
class TextEncoder {
readonly encoding: string;
encode(input?: string): Uint8Array;
encodeInto(input: string, output: Uint8Array): EncodeIntoResult;
}
}

View File

@ -0,0 +1,190 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'v8' {
import { Readable } from 'stream';
interface HeapSpaceInfo {
space_name: string;
space_size: number;
space_used_size: number;
space_available_size: number;
physical_space_size: number;
}
// ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */
type DoesZapCodeSpaceFlag = 0 | 1;
interface HeapInfo {
total_heap_size: number;
total_heap_size_executable: number;
total_physical_size: number;
total_available_size: number;
used_heap_size: number;
heap_size_limit: number;
malloced_memory: number;
peak_malloced_memory: number;
does_zap_garbage: DoesZapCodeSpaceFlag;
number_of_native_contexts: number;
number_of_detached_contexts: number;
}
interface HeapCodeStatistics {
code_and_metadata_size: number;
bytecode_and_metadata_size: number;
external_script_source_size: number;
}
/**
* Returns an integer representing a "version tag" derived from the V8 version, command line flags and detected CPU features.
* This is useful for determining whether a vm.Script cachedData buffer is compatible with this instance of V8.
*/
function cachedDataVersionTag(): number;
function getHeapStatistics(): HeapInfo;
function getHeapSpaceStatistics(): HeapSpaceInfo[];
function setFlagsFromString(flags: string): void;
/**
* Generates a snapshot of the current V8 heap and returns a Readable
* Stream that may be used to read the JSON serialized representation.
* This conversation was marked as resolved by joyeecheung
* This JSON stream format is intended to be used with tools such as
* Chrome DevTools. The JSON schema is undocumented and specific to the
* V8 engine, and may change from one version of V8 to the next.
*/
function getHeapSnapshot(): Readable;
/**
*
* @param fileName The file path where the V8 heap snapshot is to be
* saved. If not specified, a file name with the pattern
* `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be
* generated, where `{pid}` will be the PID of the Node.js process,
* `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from
* the main Node.js thread or the id of a worker thread.
*/
function writeHeapSnapshot(fileName?: string): string;
function getHeapCodeStatistics(): HeapCodeStatistics;
class Serializer {
/**
* Writes out a header, which includes the serialization format version.
*/
writeHeader(): void;
/**
* Serializes a JavaScript value and adds the serialized representation to the internal buffer.
* This throws an error if value cannot be serialized.
*/
writeValue(val: any): boolean;
/**
* Returns the stored internal buffer.
* This serializer should not be used once the buffer is released.
* Calling this method results in undefined behavior if a previous write has failed.
*/
releaseBuffer(): Buffer;
/**
* Marks an ArrayBuffer as having its contents transferred out of band.\
* Pass the corresponding ArrayBuffer in the deserializing context to deserializer.transferArrayBuffer().
*/
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
/**
* Write a raw 32-bit unsigned integer.
*/
writeUint32(value: number): void;
/**
* Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.
*/
writeUint64(hi: number, lo: number): void;
/**
* Write a JS number value.
*/
writeDouble(value: number): void;
/**
* Write raw bytes into the serializers internal buffer.
* The deserializer will require a way to compute the length of the buffer.
*/
writeRawBytes(buffer: NodeJS.TypedArray): void;
}
/**
* A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects,
* and only stores the part of their underlying `ArrayBuffers` that they are referring to.
*/
class DefaultSerializer extends Serializer {
}
class Deserializer {
constructor(data: NodeJS.TypedArray);
/**
* Reads and validates a header (including the format version).
* May, for example, reject an invalid or unsupported wire format.
* In that case, an Error is thrown.
*/
readHeader(): boolean;
/**
* Deserializes a JavaScript value from the buffer and returns it.
*/
readValue(): any;
/**
* Marks an ArrayBuffer as having its contents transferred out of band.
* Pass the corresponding `ArrayBuffer` in the serializing context to serializer.transferArrayBuffer()
* (or return the id from serializer._getSharedArrayBufferId() in the case of SharedArrayBuffers).
*/
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
/**
* Reads the underlying wire format version.
* Likely mostly to be useful to legacy code reading old wire format versions.
* May not be called before .readHeader().
*/
getWireFormatVersion(): number;
/**
* Read a raw 32-bit unsigned integer and return it.
*/
readUint32(): number;
/**
* Read a raw 64-bit unsigned integer and return it as an array [hi, lo] with two 32-bit unsigned integer entries.
*/
readUint64(): [number, number];
/**
* Read a JS number value.
*/
readDouble(): number;
/**
* Read raw bytes from the deserializers internal buffer.
* The length parameter must correspond to the length of the buffer that was passed to serializer.writeRawBytes().
*/
readRawBytes(length: number): Buffer;
}
/**
* A subclass of `Serializer` that serializes `TypedArray` (in particular `Buffer`) and `DataView` objects as host objects,
* and only stores the part of their underlying `ArrayBuffers` that they are referring to.
*/
class DefaultDeserializer extends Deserializer {
}
/**
* Uses a `DefaultSerializer` to serialize value into a buffer.
*/
function serialize(value: any): Buffer;
/**
* Uses a `DefaultDeserializer` with default options to read a JS value from a buffer.
*/
function deserialize(data: NodeJS.TypedArray): any;
}

View File

@ -0,0 +1,155 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'vm' {
interface Context extends NodeJS.Dict<any> { }
interface BaseOptions {
/**
* Specifies the filename used in stack traces produced by this script.
* Default: `''`.
*/
filename?: string | undefined;
/**
* Specifies the line number offset that is displayed in stack traces produced by this script.
* Default: `0`.
*/
lineOffset?: number | undefined;
/**
* Specifies the column number offset that is displayed in stack traces produced by this script.
* @default 0
*/
columnOffset?: number | undefined;
}
interface ScriptOptions extends BaseOptions {
displayErrors?: boolean | undefined;
timeout?: number | undefined;
cachedData?: Buffer | undefined;
/** @deprecated in favor of `script.createCachedData()` */
produceCachedData?: boolean | undefined;
}
interface RunningScriptOptions extends BaseOptions {
/**
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
* Default: `true`.
*/
displayErrors?: boolean | undefined;
/**
* Specifies the number of milliseconds to execute code before terminating execution.
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
*/
timeout?: number | undefined;
/**
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
* If execution is terminated, an `Error` will be thrown.
* Default: `false`.
*/
breakOnSigint?: boolean | undefined;
/**
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
*/
microtaskMode?: 'afterEvaluate' | undefined;
}
interface CompileFunctionOptions extends BaseOptions {
/**
* Provides an optional data with V8's code cache data for the supplied source.
*/
cachedData?: Buffer | undefined;
/**
* Specifies whether to produce new cache data.
* Default: `false`,
*/
produceCachedData?: boolean | undefined;
/**
* The sandbox/context in which the said function should be compiled in.
*/
parsingContext?: Context | undefined;
/**
* An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
*/
contextExtensions?: Object[] | undefined;
}
interface CreateContextOptions {
/**
* Human-readable name of the newly created context.
* @default 'VM Context i' Where i is an ascending numerical index of the created context.
*/
name?: string | undefined;
/**
* Corresponds to the newly created context for display purposes.
* The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary),
* like the value of the `url.origin` property of a URL object.
* Most notably, this string should omit the trailing slash, as that denotes a path.
* @default ''
*/
origin?: string | undefined;
codeGeneration?: {
/**
* If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc)
* will throw an EvalError.
* @default true
*/
strings?: boolean | undefined;
/**
* If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError.
* @default true
*/
wasm?: boolean | undefined;
} | undefined;
/**
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
*/
microtaskMode?: 'afterEvaluate' | undefined;
}
type MeasureMemoryMode = 'summary' | 'detailed';
interface MeasureMemoryOptions {
/**
* @default 'summary'
*/
mode?: MeasureMemoryMode | undefined;
context?: Context | undefined;
}
interface MemoryMeasurement {
total: {
jsMemoryEstimate: number;
jsMemoryRange: [number, number];
};
}
class Script {
constructor(code: string, options?: ScriptOptions);
runInContext(contextifiedSandbox: Context, options?: RunningScriptOptions): any;
runInNewContext(sandbox?: Context, options?: RunningScriptOptions): any;
runInThisContext(options?: RunningScriptOptions): any;
createCachedData(): Buffer;
cachedDataRejected?: boolean | undefined;
}
function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
function isContext(sandbox: Context): boolean;
function runInContext(code: string, contextifiedSandbox: Context, options?: RunningScriptOptions | string): any;
function runInNewContext(code: string, sandbox?: Context, options?: RunningScriptOptions | string): any;
function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
function compileFunction(code: string, params?: ReadonlyArray<string>, options?: CompileFunctionOptions): Function;
/**
* Measure the memory known to V8 and used by the current execution context or a specified context.
*
* The format of the object that the returned Promise may resolve with is
* specific to the V8 engine and may change from one version of V8 to the next.
*
* The returned result is different from the statistics returned by
* `v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measures
* the memory reachable by V8 from a specific context, while
* `v8.getHeapSpaceStatistics()` measures the memory used by an instance
* of V8 engine, which can switch among multiple contexts that reference
* objects in the heap of one engine.
*
* @experimental
*/
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
}

View File

@ -0,0 +1,89 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'wasi' {
interface WASIOptions {
/**
* An array of strings that the WebAssembly application will
* see as command line arguments. The first argument is the virtual path to the
* WASI command itself.
*/
args?: string[] | undefined;
/**
* An object similar to `process.env` that the WebAssembly
* application will see as its environment.
*/
env?: object | undefined;
/**
* This object represents the WebAssembly application's
* sandbox directory structure. The string keys of `preopens` are treated as
* directories within the sandbox. The corresponding values in `preopens` are
* the real paths to those directories on the host machine.
*/
preopens?: NodeJS.Dict<string> | undefined;
/**
* By default, WASI applications terminate the Node.js
* process via the `__wasi_proc_exit()` function. Setting this option to `true`
* causes `wasi.start()` to return the exit code rather than terminate the
* process.
* @default false
*/
returnOnExit?: boolean | undefined;
/**
* The file descriptor used as standard input in the WebAssembly application.
* @default 0
*/
stdin?: number | undefined;
/**
* The file descriptor used as standard output in the WebAssembly application.
* @default 1
*/
stdout?: number | undefined;
/**
* The file descriptor used as standard error in the WebAssembly application.
* @default 2
*/
stderr?: number | undefined;
}
class WASI {
constructor(options?: WASIOptions);
/**
*
* Attempt to begin execution of `instance` by invoking its `_start()` export.
* If `instance` does not contain a `_start()` export, then `start()` attempts to
* invoke the `__wasi_unstable_reactor_start()` export. If neither of those exports
* is present on `instance`, then `start()` does nothing.
*
* `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
* `memory`. If `instance` does not have a `memory` export an exception is thrown.
*
* If `start()` is called more than once, an exception is thrown.
*/
start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
/**
* Attempt to initialize `instance` as a WASI reactor by invoking its `_initialize()` export, if it is present.
* If `instance` contains a `_start()` export, then an exception is thrown.
*
* `start()` requires that `instance` exports a [`WebAssembly.Memory`][] named
* `memory`. If `instance` does not have a `memory` export an exception is thrown.
*
* If `initialize()` is called more than once, an exception is thrown.
*/
initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
/**
* Is an object that implements the WASI system call API. This object
* should be passed as the `wasi_snapshot_preview1` import during the instantiation of a
* [`WebAssembly.Instance`][].
*/
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
}
}

View File

@ -0,0 +1,241 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'worker_threads' {
import { Context } from 'vm';
import EventEmitter = require('events');
import { Readable, Writable } from 'stream';
import { URL } from 'url';
import { FileHandle } from 'fs/promises';
const isMainThread: boolean;
const parentPort: null | MessagePort;
const resourceLimits: ResourceLimits;
const SHARE_ENV: unique symbol;
const threadId: number;
const workerData: any;
class MessageChannel {
readonly port1: MessagePort;
readonly port2: MessagePort;
}
type TransferListItem = ArrayBuffer | MessagePort | FileHandle;
class MessagePort extends EventEmitter {
close(): void;
postMessage(value: any, transferList?: ReadonlyArray<TransferListItem>): void;
ref(): void;
unref(): void;
start(): void;
addListener(event: "close", listener: () => void): this;
addListener(event: "message", listener: (value: any) => void): this;
addListener(event: "messageerror", listener: (error: Error) => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "close"): boolean;
emit(event: "message", value: any): boolean;
emit(event: "messageerror", error: Error): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "close", listener: () => void): this;
on(event: "message", listener: (value: any) => void): this;
on(event: "messageerror", listener: (error: Error) => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "close", listener: () => void): this;
once(event: "message", listener: (value: any) => void): this;
once(event: "messageerror", listener: (error: Error) => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "close", listener: () => void): this;
prependListener(event: "message", listener: (value: any) => void): this;
prependListener(event: "messageerror", listener: (error: Error) => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "close", listener: () => void): this;
prependOnceListener(event: "message", listener: (value: any) => void): this;
prependOnceListener(event: "messageerror", listener: (error: Error) => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: "close", listener: () => void): this;
removeListener(event: "message", listener: (value: any) => void): this;
removeListener(event: "messageerror", listener: (error: Error) => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
off(event: "close", listener: () => void): this;
off(event: "message", listener: (value: any) => void): this;
off(event: "messageerror", listener: (error: Error) => void): this;
off(event: string | symbol, listener: (...args: any[]) => void): this;
}
interface WorkerOptions {
/**
* List of arguments which would be stringified and appended to
* `process.argv` in the worker. This is mostly similar to the `workerData`
* but the values will be available on the global `process.argv` as if they
* were passed as CLI options to the script.
*/
argv?: any[] | undefined;
env?: NodeJS.Dict<string> | typeof SHARE_ENV | undefined;
eval?: boolean | undefined;
workerData?: any;
stdin?: boolean | undefined;
stdout?: boolean | undefined;
stderr?: boolean | undefined;
execArgv?: string[] | undefined;
resourceLimits?: ResourceLimits | undefined;
/**
* Additional data to send in the first worker message.
*/
transferList?: TransferListItem[] | undefined;
trackUnmanagedFds?: boolean | undefined;
}
interface ResourceLimits {
/**
* The maximum size of a heap space for recently created objects.
*/
maxYoungGenerationSizeMb?: number | undefined;
/**
* The maximum size of the main heap in MB.
*/
maxOldGenerationSizeMb?: number | undefined;
/**
* The size of a pre-allocated memory range used for generated code.
*/
codeRangeSizeMb?: number | undefined;
/**
* The default maximum stack size for the thread. Small values may lead to unusable Worker instances.
* @default 4
*/
stackSizeMb?: number | undefined;
}
class Worker extends EventEmitter {
readonly stdin: Writable | null;
readonly stdout: Readable;
readonly stderr: Readable;
readonly threadId: number;
readonly resourceLimits?: ResourceLimits | undefined;
/**
* @param filename The path to the Workers main script or module.
* Must be either an absolute path or a relative path (i.e. relative to the current working directory) starting with ./ or ../,
* or a WHATWG URL object using file: protocol. If options.eval is true, this is a string containing JavaScript code rather than a path.
*/
constructor(filename: string | URL, options?: WorkerOptions);
postMessage(value: any, transferList?: ReadonlyArray<TransferListItem>): void;
ref(): void;
unref(): void;
/**
* Stop all JavaScript execution in the worker thread as soon as possible.
* Returns a Promise for the exit code that is fulfilled when the `exit` event is emitted.
*/
terminate(): Promise<number>;
/**
* Returns a readable stream for a V8 snapshot of the current state of the Worker.
* See [`v8.getHeapSnapshot()`][] for more details.
*
* If the Worker thread is no longer running, which may occur before the
* [`'exit'` event][] is emitted, the returned `Promise` will be rejected
* immediately with an [`ERR_WORKER_NOT_RUNNING`][] error
*/
getHeapSnapshot(): Promise<Readable>;
addListener(event: "error", listener: (err: Error) => void): this;
addListener(event: "exit", listener: (exitCode: number) => void): this;
addListener(event: "message", listener: (value: any) => void): this;
addListener(event: "messageerror", listener: (error: Error) => void): this;
addListener(event: "online", listener: () => void): this;
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
emit(event: "error", err: Error): boolean;
emit(event: "exit", exitCode: number): boolean;
emit(event: "message", value: any): boolean;
emit(event: "messageerror", error: Error): boolean;
emit(event: "online"): boolean;
emit(event: string | symbol, ...args: any[]): boolean;
on(event: "error", listener: (err: Error) => void): this;
on(event: "exit", listener: (exitCode: number) => void): this;
on(event: "message", listener: (value: any) => void): this;
on(event: "messageerror", listener: (error: Error) => void): this;
on(event: "online", listener: () => void): this;
on(event: string | symbol, listener: (...args: any[]) => void): this;
once(event: "error", listener: (err: Error) => void): this;
once(event: "exit", listener: (exitCode: number) => void): this;
once(event: "message", listener: (value: any) => void): this;
once(event: "messageerror", listener: (error: Error) => void): this;
once(event: "online", listener: () => void): this;
once(event: string | symbol, listener: (...args: any[]) => void): this;
prependListener(event: "error", listener: (err: Error) => void): this;
prependListener(event: "exit", listener: (exitCode: number) => void): this;
prependListener(event: "message", listener: (value: any) => void): this;
prependListener(event: "messageerror", listener: (error: Error) => void): this;
prependListener(event: "online", listener: () => void): this;
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
prependOnceListener(event: "error", listener: (err: Error) => void): this;
prependOnceListener(event: "exit", listener: (exitCode: number) => void): this;
prependOnceListener(event: "message", listener: (value: any) => void): this;
prependOnceListener(event: "messageerror", listener: (error: Error) => void): this;
prependOnceListener(event: "online", listener: () => void): this;
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
removeListener(event: "error", listener: (err: Error) => void): this;
removeListener(event: "exit", listener: (exitCode: number) => void): this;
removeListener(event: "message", listener: (value: any) => void): this;
removeListener(event: "messageerror", listener: (error: Error) => void): this;
removeListener(event: "online", listener: () => void): this;
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
off(event: "error", listener: (err: Error) => void): this;
off(event: "exit", listener: (exitCode: number) => void): this;
off(event: "message", listener: (value: any) => void): this;
off(event: "messageerror", listener: (error: Error) => void): this;
off(event: "online", listener: () => void): this;
off(event: string | symbol, listener: (...args: any[]) => void): this;
}
/**
* Mark an object as not transferable.
* If `object` occurs in the transfer list of a `port.postMessage()` call, it will be ignored.
*
* In particular, this makes sense for objects that can be cloned, rather than transferred,
* and which are used by other objects on the sending side. For example, Node.js marks
* the `ArrayBuffer`s it uses for its Buffer pool with this.
*
* This operation cannot be undone.
*/
function markAsUntransferable(object: object): void;
/**
* Transfer a `MessagePort` to a different `vm` Context. The original `port`
* object will be rendered unusable, and the returned `MessagePort` instance will
* take its place.
*
* The returned `MessagePort` will be an object in the target context, and will
* inherit from its global `Object` class. Objects passed to the
* `port.onmessage()` listener will also be created in the target context
* and inherit from its global `Object` class.
*
* However, the created `MessagePort` will no longer inherit from
* `EventEmitter`, and only `port.onmessage()` can be used to receive
* events using it.
*/
function moveMessagePortToContext(port: MessagePort, context: Context): MessagePort;
/**
* Receive a single message from a given `MessagePort`. If no message is available,
* `undefined` is returned, otherwise an object with a single `message` property
* that contains the message payload, corresponding to the oldest message in the
* `MessagePort`s queue.
*/
function receiveMessageOnPort(port: MessagePort): { message: any } | undefined;
}

View File

@ -0,0 +1,364 @@
/* NOTE: Do not edit directly! This file is generated using `npm run update-types` in https://github.com/Steve-Mcl/monaco-editor-esm-i18n */
declare module 'zlib' {
import * as stream from 'stream';
interface ZlibOptions {
/**
* @default constants.Z_NO_FLUSH
*/
flush?: number | undefined;
/**
* @default constants.Z_FINISH
*/
finishFlush?: number | undefined;
/**
* @default 16*1024
*/
chunkSize?: number | undefined;
windowBits?: number | undefined;
level?: number | undefined; // compression only
memLevel?: number | undefined; // compression only
strategy?: number | undefined; // compression only
dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined; // deflate/inflate only, empty dictionary by default
info?: boolean | undefined;
maxOutputLength?: number | undefined;
}
interface BrotliOptions {
/**
* @default constants.BROTLI_OPERATION_PROCESS
*/
flush?: number | undefined;
/**
* @default constants.BROTLI_OPERATION_FINISH
*/
finishFlush?: number | undefined;
/**
* @default 16*1024
*/
chunkSize?: number | undefined;
params?: {
/**
* Each key is a `constants.BROTLI_*` constant.
*/
[key: number]: boolean | number;
} | undefined;
maxOutputLength?: number | undefined;
}
interface Zlib {
/** @deprecated Use bytesWritten instead. */
readonly bytesRead: number;
readonly bytesWritten: number;
shell?: boolean | string | undefined;
close(callback?: () => void): void;
flush(kind?: number, callback?: () => void): void;
flush(callback?: () => void): void;
}
interface ZlibParams {
params(level: number, strategy: number, callback: () => void): void;
}
interface ZlibReset {
reset(): void;
}
interface BrotliCompress extends stream.Transform, Zlib { }
interface BrotliDecompress extends stream.Transform, Zlib { }
interface Gzip extends stream.Transform, Zlib { }
interface Gunzip extends stream.Transform, Zlib { }
interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams { }
interface Inflate extends stream.Transform, Zlib, ZlibReset { }
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams { }
interface InflateRaw extends stream.Transform, Zlib, ZlibReset { }
interface Unzip extends stream.Transform, Zlib { }
function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
function createGzip(options?: ZlibOptions): Gzip;
function createGunzip(options?: ZlibOptions): Gunzip;
function createDeflate(options?: ZlibOptions): Deflate;
function createInflate(options?: ZlibOptions): Inflate;
function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
function createInflateRaw(options?: ZlibOptions): InflateRaw;
function createUnzip(options?: ZlibOptions): Unzip;
type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
type CompressCallback = (error: Error | null, result: Buffer) => void;
function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
function brotliCompress(buf: InputType, callback: CompressCallback): void;
namespace brotliCompress {
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
}
function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer;
function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
function brotliDecompress(buf: InputType, callback: CompressCallback): void;
namespace brotliDecompress {
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
}
function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer;
function deflate(buf: InputType, callback: CompressCallback): void;
function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace deflate {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function deflateSync(buf: InputType, options?: ZlibOptions): Buffer;
function deflateRaw(buf: InputType, callback: CompressCallback): void;
function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace deflateRaw {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
function gzip(buf: InputType, callback: CompressCallback): void;
function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace gzip {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function gzipSync(buf: InputType, options?: ZlibOptions): Buffer;
function gunzip(buf: InputType, callback: CompressCallback): void;
function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace gunzip {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer;
function inflate(buf: InputType, callback: CompressCallback): void;
function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace inflate {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function inflateSync(buf: InputType, options?: ZlibOptions): Buffer;
function inflateRaw(buf: InputType, callback: CompressCallback): void;
function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace inflateRaw {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
function unzip(buf: InputType, callback: CompressCallback): void;
function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
namespace unzip {
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
}
function unzipSync(buf: InputType, options?: ZlibOptions): Buffer;
namespace constants {
const BROTLI_DECODE: number;
const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
const BROTLI_DECODER_ERROR_UNREACHABLE: number;
const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
const BROTLI_DECODER_NO_ERROR: number;
const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
const BROTLI_DECODER_RESULT_ERROR: number;
const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
const BROTLI_DECODER_RESULT_SUCCESS: number;
const BROTLI_DECODER_SUCCESS: number;
const BROTLI_DEFAULT_MODE: number;
const BROTLI_DEFAULT_QUALITY: number;
const BROTLI_DEFAULT_WINDOW: number;
const BROTLI_ENCODE: number;
const BROTLI_LARGE_MAX_WINDOW_BITS: number;
const BROTLI_MAX_INPUT_BLOCK_BITS: number;
const BROTLI_MAX_QUALITY: number;
const BROTLI_MAX_WINDOW_BITS: number;
const BROTLI_MIN_INPUT_BLOCK_BITS: number;
const BROTLI_MIN_QUALITY: number;
const BROTLI_MIN_WINDOW_BITS: number;
const BROTLI_MODE_FONT: number;
const BROTLI_MODE_GENERIC: number;
const BROTLI_MODE_TEXT: number;
const BROTLI_OPERATION_EMIT_METADATA: number;
const BROTLI_OPERATION_FINISH: number;
const BROTLI_OPERATION_FLUSH: number;
const BROTLI_OPERATION_PROCESS: number;
const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
const BROTLI_PARAM_LARGE_WINDOW: number;
const BROTLI_PARAM_LGBLOCK: number;
const BROTLI_PARAM_LGWIN: number;
const BROTLI_PARAM_MODE: number;
const BROTLI_PARAM_NDIRECT: number;
const BROTLI_PARAM_NPOSTFIX: number;
const BROTLI_PARAM_QUALITY: number;
const BROTLI_PARAM_SIZE_HINT: number;
const DEFLATE: number;
const DEFLATERAW: number;
const GUNZIP: number;
const GZIP: number;
const INFLATE: number;
const INFLATERAW: number;
const UNZIP: number;
// Allowed flush values.
const Z_NO_FLUSH: number;
const Z_PARTIAL_FLUSH: number;
const Z_SYNC_FLUSH: number;
const Z_FULL_FLUSH: number;
const Z_FINISH: number;
const Z_BLOCK: number;
const Z_TREES: number;
// Return codes for the compression/decompression functions.
// Negative values are errors, positive values are used for special but normal events.
const Z_OK: number;
const Z_STREAM_END: number;
const Z_NEED_DICT: number;
const Z_ERRNO: number;
const Z_STREAM_ERROR: number;
const Z_DATA_ERROR: number;
const Z_MEM_ERROR: number;
const Z_BUF_ERROR: number;
const Z_VERSION_ERROR: number;
// Compression levels.
const Z_NO_COMPRESSION: number;
const Z_BEST_SPEED: number;
const Z_BEST_COMPRESSION: number;
const Z_DEFAULT_COMPRESSION: number;
// Compression strategy.
const Z_FILTERED: number;
const Z_HUFFMAN_ONLY: number;
const Z_RLE: number;
const Z_FIXED: number;
const Z_DEFAULT_STRATEGY: number;
const Z_DEFAULT_WINDOWBITS: number;
const Z_MIN_WINDOWBITS: number;
const Z_MAX_WINDOWBITS: number;
const Z_MIN_CHUNK: number;
const Z_MAX_CHUNK: number;
const Z_DEFAULT_CHUNK: number;
const Z_MIN_MEMLEVEL: number;
const Z_MAX_MEMLEVEL: number;
const Z_DEFAULT_MEMLEVEL: number;
const Z_MIN_LEVEL: number;
const Z_MAX_LEVEL: number;
const Z_DEFAULT_LEVEL: number;
const ZLIB_VERNUM: number;
}
// Allowed flush values.
/** @deprecated Use `constants.Z_NO_FLUSH` */
const Z_NO_FLUSH: number;
/** @deprecated Use `constants.Z_PARTIAL_FLUSH` */
const Z_PARTIAL_FLUSH: number;
/** @deprecated Use `constants.Z_SYNC_FLUSH` */
const Z_SYNC_FLUSH: number;
/** @deprecated Use `constants.Z_FULL_FLUSH` */
const Z_FULL_FLUSH: number;
/** @deprecated Use `constants.Z_FINISH` */
const Z_FINISH: number;
/** @deprecated Use `constants.Z_BLOCK` */
const Z_BLOCK: number;
/** @deprecated Use `constants.Z_TREES` */
const Z_TREES: number;
// Return codes for the compression/decompression functions.
// Negative values are errors, positive values are used for special but normal events.
/** @deprecated Use `constants.Z_OK` */
const Z_OK: number;
/** @deprecated Use `constants.Z_STREAM_END` */
const Z_STREAM_END: number;
/** @deprecated Use `constants.Z_NEED_DICT` */
const Z_NEED_DICT: number;
/** @deprecated Use `constants.Z_ERRNO` */
const Z_ERRNO: number;
/** @deprecated Use `constants.Z_STREAM_ERROR` */
const Z_STREAM_ERROR: number;
/** @deprecated Use `constants.Z_DATA_ERROR` */
const Z_DATA_ERROR: number;
/** @deprecated Use `constants.Z_MEM_ERROR` */
const Z_MEM_ERROR: number;
/** @deprecated Use `constants.Z_BUF_ERROR` */
const Z_BUF_ERROR: number;
/** @deprecated Use `constants.Z_VERSION_ERROR` */
const Z_VERSION_ERROR: number;
// Compression levels.
/** @deprecated Use `constants.Z_NO_COMPRESSION` */
const Z_NO_COMPRESSION: number;
/** @deprecated Use `constants.Z_BEST_SPEED` */
const Z_BEST_SPEED: number;
/** @deprecated Use `constants.Z_BEST_COMPRESSION` */
const Z_BEST_COMPRESSION: number;
/** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */
const Z_DEFAULT_COMPRESSION: number;
// Compression strategy.
/** @deprecated Use `constants.Z_FILTERED` */
const Z_FILTERED: number;
/** @deprecated Use `constants.Z_HUFFMAN_ONLY` */
const Z_HUFFMAN_ONLY: number;
/** @deprecated Use `constants.Z_RLE` */
const Z_RLE: number;
/** @deprecated Use `constants.Z_FIXED` */
const Z_FIXED: number;
/** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */
const Z_DEFAULT_STRATEGY: number;
/** @deprecated */
const Z_BINARY: number;
/** @deprecated */
const Z_TEXT: number;
/** @deprecated */
const Z_ASCII: number;
/** @deprecated */
const Z_UNKNOWN: number;
/** @deprecated */
const Z_DEFLATED: number;
}

View File

@ -7,23 +7,21 @@ How to build the custom MONACO editor Node-RED
#### Setup build environment
cd /tmp/
git clone https://github.com/steve-mcl/monaco-editor-esm-i18n.git
git clone https://github.com/node-red/nr-monaco-build.git
#### Run the build
cd /tmp/monaco-editor-esm-i18n
cd /tmp/nr-monaco-build
npm install
npm build
#### Copy the built versions back
cd /tmp/monaco-editor-esm-i18n
cd /tmp/nr-monaco-build
cp -r output/monaco/dist \
<node-red-source-directory>/packages/node_modules/@node-red/editor-client/src/vendor/monaco/
cd /tmp/monaco-editor-esm-i18n
cd /tmp/nr-monaco-build
cp -r output/types \
<node-red-source-directory>/packages/node_modules/@node-red/editor-client/src/

View File

@ -89,195 +89,195 @@ THE SOFTWARE.
=========================================
END OF chjj-marked NOTICES AND INFORMATION
%% typescript version 2.7.2 (https://github.com/Microsoft/TypeScript)
=========================================
Copyright (c) Microsoft Corporation. All rights reserved.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License; and
You must cause any modified files to carry prominent notices stating that You changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
=========================================
END OF typescript NOTICES AND INFORMATION
%% HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
=========================================
Copyright © 2015 W3C® (MIT, ERCIM, Keio, Beihang). This software or document includes material copied
from or derived from HTML 5.1 W3C Working Draft (http://www.w3.org/TR/2015/WD-html51-20151008/.)
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF
THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to this document or its contents
without specific, written prior permission. Title to copyright in this document will at all times remain with copyright holders.
=========================================
END OF HTML 5.1 W3C Working Draft NOTICES AND INFORMATION
%% JS Beautifier version 1.6.2 (https://github.com/beautify-web/js-beautify)
=========================================
The MIT License (MIT)
Copyright (c) 2007-2017 Einar Lielmanis, Liam Newman, and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF js-beautify NOTICES AND INFORMATION
%% Ionic documentation version 1.2.4 (https://github.com/driftyco/ionic-site)
=========================================
Copyright Drifty Co. http://drifty.com/.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License; and
You must cause any modified files to carry prominent notices stating that You changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
=========================================
END OF Ionic documentation NOTICES AND INFORMATION
%% vscode-swift version 0.0.1 (https://github.com/owensd/vscode-swift)
=========================================
The MIT License (MIT)
Copyright (c) 2015 David Owens II
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF vscode-swift NOTICES AND INFORMATION
%% typescript version 2.7.2 (https://github.com/Microsoft/TypeScript)
=========================================
Copyright (c) Microsoft Corporation. All rights reserved.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License; and
You must cause any modified files to carry prominent notices stating that You changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
=========================================
END OF typescript NOTICES AND INFORMATION
%% HTML 5.1 W3C Working Draft version 08 October 2015 (http://www.w3.org/TR/2015/WD-html51-20151008/)
=========================================
Copyright © 2015 W3C® (MIT, ERCIM, Keio, Beihang). This software or document includes material copied
from or derived from HTML 5.1 W3C Working Draft (http://www.w3.org/TR/2015/WD-html51-20151008/.)
THIS DOCUMENT IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT
NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF
THE DOCUMENT ARE SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY
PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
DOCUMENT OR THE PERFORMANCE OR IMPLEMENTATION OF THE CONTENTS THEREOF.
The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to this document or its contents
without specific, written prior permission. Title to copyright in this document will at all times remain with copyright holders.
=========================================
END OF HTML 5.1 W3C Working Draft NOTICES AND INFORMATION
%% JS Beautifier version 1.6.2 (https://github.com/beautify-web/js-beautify)
=========================================
The MIT License (MIT)
Copyright (c) 2007-2017 Einar Lielmanis, Liam Newman, and contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF js-beautify NOTICES AND INFORMATION
%% Ionic documentation version 1.2.4 (https://github.com/driftyco/ionic-site)
=========================================
Copyright Drifty Co. http://drifty.com/.
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License; and
You must cause any modified files to carry prominent notices stating that You changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
=========================================
END OF Ionic documentation NOTICES AND INFORMATION
%% vscode-swift version 0.0.1 (https://github.com/owensd/vscode-swift)
=========================================
The MIT License (MIT)
Copyright (c) 2015 David Owens II
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
=========================================
END OF vscode-swift NOTICES AND INFORMATION

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Určuje, jestli by měl editor k levým uvozovkám automaticky doplňovat pravé uvozovky, když uživatel přidá levé uvozovky.",
"autoIndent": "Určuje, jestli by měl editor automaticky upravovat odsazení, když uživatel píše, vkládá, přesouvá nebo odsazuje řádky.",
"autoSurround": "Určuje, jestli má editor automaticky ohraničit výběry při psaní uvozovek nebo závorek.",
"bracketPairColorization.enabled": "Určuje, jestli je povolené zabarvení dvojice závorek, nebo ne. Pokud chcete přepsat barvy zvýraznění závorek, použijte workbench.colorCustomizations.",
"codeActions": "Povolí v editoru ikonu žárovky s nabídkou akcí kódu.",
"codeLens": "Určuje, jestli editor zobrazí CodeLens.",
"codeLensFontFamily": "Určuje rodinu písem pro CodeLens.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Určuje chování příkazu Přejít na implementace, pokud existuje několik cílových umístění.",
"editor.editor.gotoLocation.multipleReferences": "Určuje chování příkazu Přejít na odkazy, pokud existuje několik cílových umístění.",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Určuje chování příkazu Přejít k definici typu, pokud existuje několik cílových umístění.",
"editor.find.autoFindInSelection.always": "Vždy automaticky zapnout možnost Najít ve výběru",
"editor.find.autoFindInSelection.multiline": "Automaticky zapnout možnost Najít ve výběru, pokud je vybráno více řádků obsahu",
"editor.find.autoFindInSelection.always": "Vždy automaticky zapnout možnost Najít ve výběru.",
"editor.find.autoFindInSelection.multiline": "Automaticky zapnout možnost Najít ve výběru, pokud je vybráno více řádků obsahu.",
"editor.find.autoFindInSelection.never": "Nikdy automaticky nezapínat možnost Najít ve výběru (výchozí)",
"editor.find.seedSearchStringFromSelection.always": "Vždy přidávat řetězec vyhledávání z výběru editora, včetně slov na pozici kurzoru.",
"editor.find.seedSearchStringFromSelection.never": "Nikdy nepřidávat řetězec vyhledávání z výběru editora.",
"editor.find.seedSearchStringFromSelection.selection": "Přidávat pouze řetězec vyhledávání z výběru editora.",
"editor.gotoLocation.multiple.deprecated": "Toto nastavení je zastaralé. Místo něj prosím použijte samostatné nastavení, například editor.editor.gotoLocation.multipleDefinitions nebo editor.editor.gotoLocation.multipleImplementations.",
"editor.gotoLocation.multiple.goto": "Přejít na primární výsledek a povolit navigaci na ostatní výsledky bez náhledu",
"editor.gotoLocation.multiple.gotoAndPeek": "Přejít na primární výsledek a zobrazit náhled",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Určuje, jestli lze vyhledávací řetězec předat widgetu Najít z textu vybraného v editoru.",
"folding": "Určuje, jestli je v editoru povoleno sbalování kódu.",
"foldingHighlight": "Určuje, jestli má editor zvýrazňovat sbalené rozsahy.",
"foldingImportsByDefault": "Určuje, zda editor automaticky sbalí rozsahy importu.",
"foldingStrategy": "Určuje strategii pro výpočet rozsahů sbalování.",
"foldingStrategy.auto": "Použít strategii sbalování specifickou pro daný jazyk (pokud je k dispozici), jinak použít strategii založenou na odsazení",
"foldingStrategy.indentation": "Použít strategii sbalování založenou na odsazení",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Určuje, jestli se má zobrazit popisek po umístění ukazatele myši na prvek.",
"hover.sticky": "Určuje, jestli má popisek zobrazený při umístění ukazatele myši na prvek zůstat viditelný.",
"inlayHints.enable": "Povolí vložené tipy v editoru.",
"inlayHints.fontFamily": "Určuje rodinu písem pro vložené tipy v editoru.",
"inlayHints.fontFamily": "Určuje rodinu písem vložených tipů v editoru. Když se nastaví na hodnotu „prázdná“, použije se #editor.fontFamily#.",
"inlayHints.fontSize": "Určuje velikost písma vložených tipů v editoru. Když se nastaví na hodnotu 0, použije se 90 % hodnoty #editor.fontSize#.",
"inlineSuggest.enabled": "Určuje, jestli se mají v editoru automaticky zobrazovat vložené návrhy.",
"inlineSuggest.mode": "Určuje režim, který se má použít pro vykreslování vložených návrhů.",
"inlineSuggest.mode.prefix": "Vykreslit vložený návrh pouze v případě, že nahrazující text je předponou vloženého textu",
"inlineSuggest.mode.subwordDiff": "Vykreslit vložený návrh pouze v případě, že nahrazující text je podslovo vloženého textu",
"inlineSuggest.mode.subword": "Vykreslit vložený návrh pouze v případě, že nahrazující text je podslovo vloženého textu",
"inlineSuggest.mode.subwordSmart": "Vložený návrh vykreslit pouze v případě, že nahrazený text je podslovem vkládaného textu, ale podslov musí začínat za kurzorem.",
"letterSpacing": "Určuje mezery mezi písmeny v pixelech.",
"lineHeight": "Určuje výšku řádku. \r\n Pomocí hodnoty 0 můžete automaticky vypočítat výšku řádku z velikosti písma.\r\n Hodnoty mezi 0 a 8 se použijí jako multiplikátor s velikostí písma.\r\n Hodnoty větší než 8 se použijí jako efektivní hodnoty.",
"lineHeight": "Určuje výšku řádku. \r\n Při použití hodnoty 0 se automaticky vypočítá výška řádku z velikosti písma.\r\n Hodnoty mezi 0 a 8 se použijí jako multiplikátor s velikostí písma.\r\n Hodnoty větší nebo rovny 8 se použijí jako efektivní hodnoty.",
"lineNumbers": "Řídí zobrazování čísel řádků.",
"lineNumbers.interval": "Čísla řádků se vykreslují každých 10 řádků.",
"lineNumbers.off": "Čísla řádků se nevykreslují.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Určuje počet dalších znaků, po jejichž překročení se bude editor posouvat vodorovně.",
"scrollBeyondLastLine": "Určuje, jestli se editor bude posouvat za posledním řádkem.",
"scrollPredominantAxis": "Při současném posouvání ve svislém i vodorovném směru posouvat pouze podél dominantní osy. Zabrání vodorovnému posunu při svislém posouvání na trackpadu.",
"scrollbar.horizontal": "Ovládá viditelnost vodorovného posuvníku.",
"scrollbar.horizontal.auto": "Vodorovný posuvník bude viditelný pouze v případě potřeby.",
"scrollbar.horizontal.fit": "Vodorovný posuvník bude vždy skrytý.",
"scrollbar.horizontal.visible": "Vodorovný posuvník bude vždy viditelný.",
"scrollbar.horizontalScrollbarSize": "Výška vodorovného posuvníku",
"scrollbar.scrollByPage": "Určuje, jestli se při kliknutí posune stránka, nebo přeskočí na pozici kliknutí.",
"scrollbar.vertical": "Ovládá viditelnost svislého posuvníku.",
"scrollbar.vertical.auto": "Svislý posuvník bude viditelný pouze v případě potřeby.",
"scrollbar.vertical.fit": "Svislý posuvník bude vždy skrytý.",
"scrollbar.vertical.visible": "Svislý posuvník bude vždy viditelný.",
"scrollbar.verticalScrollbarSize": "Šířka svislého posuvníku",
"selectLeadingAndTrailingWhitespace": "Určuje, jestli se vždy mají vybrat prázdné znaky na začátku a na konci.",
"selectionClipboard": "Určuje, jestli má být podporována primární schránka operačního systému Linux.",
"selectionHighlight": "Určuje, jestli má editor zvýrazňovat shody podobné výběru.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Určuje, jestli se má v editoru zobrazit náhled výsledku návrhu.",
"suggest.previewMode": "Určuje, který režim se má použít pro vykreslení náhledu návrhu.",
"suggest.previewMode.prefix": "Náhled vykreslit pouze v případě, že nahrazující text je předponou vloženého textu",
"suggest.previewMode.subwordDiff": "Náhled vykreslit pouze v případě, že nahrazující text je podslovo vloženého textu",
"suggest.previewMode.subword": "Náhled vykreslit pouze v případě, že nahrazující text je podslovo vloženého textu",
"suggest.previewMode.subwordSmart": "Vykreslit v případě, že je nahrazený text podslovem vloženého textu, nebo pokud se jedná o předponu vloženého textu.",
"suggest.shareSuggestSelections": "Určuje, jestli se mají zapamatované výběry návrhů sdílet mezi více pracovními prostory a okny (vyžaduje #editor.suggestSelection#).",
"suggest.showIcons": "Určuje, jestli mají být v návrzích zobrazené nebo skryté ikony.",
"suggest.showInlineDetails": "Určuje, jestli se mají podrobnosti návrhů zobrazovat společně s popiskem, nebo jenom ve widgetu podrobností.",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "ID je zastaralé. Místo toho použijte nastavení editorLineNumber.activeForeground.",
"editorActiveIndentGuide": "Barva vodítek odsazení aktivního editoru",
"editorActiveLineNumber": "Barva čísla řádku aktivního editoru",
"editorBracketHighlightForeground1": "Barva popředí závorek (1). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightForeground2": "Barva popředí závorek (2). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightForeground3": "Barva popředí závorek (3). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightForeground4": "Barva popředí závorek (4). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightForeground5": "Barva popředí závorek (5). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightForeground6": "Barva popředí závorek (6). Vyžaduje povolení zabarvení dvojice závorek.",
"editorBracketHighlightUnexpectedBracketForeground": "Barva popředí neočekávaných závorek.",
"editorBracketMatchBackground": "Barva pozadí za odpovídajícími hranatými závorkami",
"editorBracketMatchBorder": "Barva polí odpovídajících hranatých závorek",
"editorCodeLensForeground": "Barva popředí pro CodeLens v editoru",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Zdrojová akce..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Zobrazit opravy. K dispozici je upřednostňovaná oprava ({0})",
"quickFix": "Zobrazit opravy",
"quickFixWithKb": "Zobrazit opravy ({0})"
"codeAction": "Zobrazit akce kódu",
"codeActionWithKb": "Zobrazit akce kódu ({0})",
"preferredcodeActionWithKb": "Zobrazit akce kódu. Je k dispozici upřednostňovaná rychlá oprava ({0})."
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Zobrazit příkazy CodeLens pro aktuální řádek"
@ -628,7 +653,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.replace": "Nahradit",
"label.replaceAllButton": "Nahradit vše",
"label.replaceButton": "Nahradit",
"label.toggleReplaceButton": "Přepnout režim nahrazení",
"label.toggleReplaceButton": "Přepnout nahrazení",
"label.toggleSelectionFind": "Najít ve výběru",
"placeholder.find": "Najít",
"placeholder.replace": "Nahradit",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Barva pozadí za sbalenými rozsahy. Barva nesmí být neprůhledná, aby se nepřekryly dekorace pod tím.",
"foldLevelAction.label": "Sbalit úroveň {0}",
"foldRecursivelyAction.label": "Sbalit rekurzivně",
"gotoNextFold.label": "Přejít na další část",
"gotoParentFold.label": "Přejít na nadřazenou část",
"gotoPreviousFold.label": "Přejít na předchozí část",
"toggleFoldAction.label": "Přepnout sbalení",
"unFoldRecursivelyAction.label": "Rozbalit rekurzivně",
"unfoldAction.label": "Rozbalit",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "Problémy: {0} z {1}",
"editorMarkerNavigationBackground": "Pozadí widgetu navigace mezi značkami v editoru",
"editorMarkerNavigationError": "Barva chyby widgetu navigace mezi značkami v editoru",
"editorMarkerNavigationErrorHeaderBackground": "Chybové záhlaví pozadí widgetu navigace mezi značkami v editoru.",
"editorMarkerNavigationInfo": "Barva informací widgetu navigace mezi značkami v editoru",
"editorMarkerNavigationInfoHeaderBackground": "Informační záhlaví pozadí widgetu navigace mezi značkami v editoru.",
"editorMarkerNavigationWarning": "Barva upozornění widgetu navigace mezi značkami v editoru",
"editorMarkerNavigationWarningBackground": "Varovné záhlaví pozadí widgetu navigace mezi značkami v editoru.",
"marker aria": "{0} v {1} ",
"problems": "Problémy: {0} z {1}"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Přijmout",
"inlineSuggestionFollows": "Návrh:",
"showNextInlineSuggestion": "Další",
"showPreviousInlineSuggestion": "Předchozí"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "Kombinace kláves ({0}, {1}) není příkaz."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Multiplikátor rychlosti posouvání při stisknutí klávesy Alt.",
"Mouse Wheel Scroll Sensitivity": "Multiplikátor, který se má použít pro hodnoty deltaX a deltaY událostí posouvání kolečka myši.",
"automatic keyboard navigation setting": "Určuje, jestli se automaticky spustí navigace pomocí klávesnice v seznamech a stromech, když začnete psát. Pokud je nastaveno na false, navigace pomocí klávesnice se spustí pouze při provedení příkazu list.toggleKeyboardNavigation, ke kterému lze přiřadit klávesovou zkratku.",
"expand mode": "Určuje, jak se stromové složky rozbalují, když se klikne na jejich název. Poznámka: Některé stromy a seznamy můžou toto nastavení ignorovat, pokud se nedá použít.",
"horizontalScrolling setting": "Určuje, jestli seznamy a stromy podporují vodorovné posouvání na pracovní ploše. Upozornění: Povolení tohoto nastavení má vliv na výkon.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Steuert, ob der Editor Anführungszeichen automatisch schließen soll, nachdem der Benutzer ein öffnendes Anführungszeichen hinzugefügt hat.",
"autoIndent": "Legt fest, ob der Editor den Einzug automatisch anpassen soll, wenn Benutzer Zeilen eingeben, einfügen, verschieben oder einrücken",
"autoSurround": "Steuert, ob der Editor die Auswahl beim Eingeben von Anführungszeichen oder Klammern automatisch umschließt.",
"bracketPairColorization.enabled": "Steuert, ob die Farbgebung für das Klammerpaar aktiviert ist. Verwenden Sie „workbench.colorCustomizations“, um die Hervorhebungsfarben der Klammer außer Kraft zu setzen.",
"codeActions": "Aktiviert das Glühbirnensymbol für Codeaktionen im Editor.",
"codeLens": "Steuert, ob der Editor CodeLens anzeigt.",
"codeLensFontFamily": "Steuert die Schriftfamilie für CodeLens.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Legt das Verhalten des Befehls \"Gehe zu Implementierungen\", wenn mehrere Zielspeicherorte vorhanden sind",
"editor.editor.gotoLocation.multipleReferences": "Legt das Verhalten des Befehls \"Gehe zu Verweisen\" fest, wenn mehrere Zielpositionen vorhanden sind",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Legt das Verhalten des Befehls \"Gehe zur Typdefinition\" fest, wenn mehrere Zielpositionen vorhanden sind.",
"editor.find.autoFindInSelection.always": "\"In Auswahl suchen\" immer automatisch aktivieren",
"editor.find.autoFindInSelection.multiline": "\"In Auswahl suchen\" automatisch aktivieren, wenn mehrere Inhaltszeilen ausgewählt sind",
"editor.find.autoFindInSelection.never": "\"In Auswahl suchen\" niemals automatisch aktivieren (Standard)",
"editor.find.autoFindInSelection.always": "\"In Auswahl suchen\" immer automatisch aktivieren.",
"editor.find.autoFindInSelection.multiline": "\"In Auswahl suchen\" automatisch aktivieren, wenn mehrere Inhaltszeilen ausgewählt sind.",
"editor.find.autoFindInSelection.never": "\"In Auswahl suchen\" niemals automatisch aktivieren (Standard).",
"editor.find.seedSearchStringFromSelection.always": "Suchzeichenfolge immer aus der Editorauswahl seeden, einschließlich Wort an Cursorposition.",
"editor.find.seedSearchStringFromSelection.never": "Suchzeichenfolge niemals aus der Editorauswahl seeden.",
"editor.find.seedSearchStringFromSelection.selection": "Suchzeichenfolge nur aus der Editorauswahl seeden.",
"editor.gotoLocation.multiple.deprecated": "Diese Einstellung ist veraltet. Verwenden Sie stattdessen separate Einstellungen wie \"editor.editor.gotoLocation.multipleDefinitions\" oder \"editor.editor.gotoLocation.multipleImplementations\".",
"editor.gotoLocation.multiple.goto": "Wechseln Sie zum primären Ergebnis, und aktivieren Sie die Navigation ohne Vorschau zu anderen Ergebnissen.",
"editor.gotoLocation.multiple.gotoAndPeek": "Zum Hauptergebnis gehen und Vorschauansicht anzeigen",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Steuert, ob für die Suchzeichenfolge im Widget \"Suche\" ein Seeding aus der Auswahl des Editors ausgeführt wird.",
"folding": "Steuert, ob Codefaltung im Editor aktiviert ist.",
"foldingHighlight": "Steuert, ob der Editor eingefaltete Bereiche hervorheben soll.",
"foldingImportsByDefault": "Steuert, ob der Editor Importbereiche automatisch reduziert.",
"foldingStrategy": "Steuert die Strategie für die Berechnung von Faltbereichen.",
"foldingStrategy.auto": "Verwenden Sie eine sprachspezifische Faltstrategie, falls verfügbar. Andernfalls wird eine einzugsbasierte verwendet.",
"foldingStrategy.indentation": "Einzugsbasierte Faltstrategie verwenden.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Steuert, ob die Hovermarkierung angezeigt wird.",
"hover.sticky": "Steuert, ob die Hovermarkierung sichtbar bleiben soll, wenn der Mauszeiger darüber bewegt wird.",
"inlayHints.enable": "Aktiviert die Inlay-Hinweise im Editor.",
"inlayHints.fontFamily": "Steuert die Schriftfamilie für Inlay-Hinweise im Editor.",
"inlayHints.fontFamily": "Steuert die Schriftfamilie für Inlay-Hinweise im Editor. Wenn der Wert „leer“ festgelegt wird, wird die „#editor.fontFamily#“ verwendet.",
"inlayHints.fontSize": "Steuert den Schriftgrad für Inlay-Hinweise im Editor. Wenn der Wert „0“ festgelegt wird, werden 90% von „#editor.fontSize#“ verwendet.",
"inlineSuggest.enabled": "Steuert, ob Inline-Vorschläge automatisch im Editor angezeigt werden.",
"inlineSuggest.mode": "Steuert, welcher Modus zum Rendern der Inline-Vorschau verwendet werden soll.",
"inlineSuggest.mode.prefix": "Nur einen Inline-Vorschlag rendern, wenn der Ersatztext ein Präfix des Einfügetexts ist.",
"inlineSuggest.mode.subwordDiff": "Nur einen Inline-Vorschlag rendern, wenn der Ersatztext ein Unterwort des Einfügetexts ist.",
"inlineSuggest.mode.subword": "Nur einen Inline-Vorschlag rendern, wenn der Ersatztext ein Unterwort des Einfügetexts ist.",
"inlineSuggest.mode.subwordSmart": "Rendern Sie einen Inline-Vorschlag nur, wenn der Ersatztext ein untergeordnetes Wort des Einfügetexts ist. Das Unterwort muss nach dem Cursor beginnen.",
"letterSpacing": "Legt den Abstand der Buchstaben in Pixeln fest.",
"lineHeight": "Steuert die Linienhöhe. \r\n -Verwenden Sie 0, um die Zeilenhöhe automatisch vom Schriftgrad berechnen zu lassen.\r\n -Werte zwischen 0 und 8 werden als Multiplikator mit dem Schriftgrad verwendet.\r\n -Werte größer als 8 werden als effektive Werte verwendet.",
"lineHeight": "Steuert die Zeilenhöhe. \r\n Verwenden Sie 0, um die Zeilenhöhe automatisch anhand des Schriftgrads zu berechnen.\r\n Werte zwischen 0 und 8 werden als Multiplikator mit dem Schriftgrad verwendet.\r\n Werte größer oder gleich 8 werden als effektive Werte verwendet.",
"lineNumbers": "Steuert die Anzeige von Zeilennummern.",
"lineNumbers.interval": "Zeilennummern werden alle 10 Zeilen dargestellt.",
"lineNumbers.off": "Zeilennummern werden nicht dargestellt.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Steuert die Anzahl der zusätzlichen Zeichen, nach denen der Editor horizontal scrollt.",
"scrollBeyondLastLine": "Steuert, ob der Editor jenseits der letzten Zeile scrollen wird.",
"scrollPredominantAxis": "Nur entlang der vorherrschenden Achse scrollen, wenn gleichzeitig vertikal und horizontal gescrollt wird. Dadurch wird ein horizontaler Versatz beim vertikalen Scrollen auf einem Trackpad verhindert.",
"scrollbar.horizontal": "Steuert die Sichtbarkeit der horizontalen Bildlaufleiste.",
"scrollbar.horizontal.auto": "Die horizontale Bildlaufleiste wird nur bei Bedarf angezeigt.",
"scrollbar.horizontal.fit": "Die horizontale Bildlaufleiste wird immer ausgeblendet.",
"scrollbar.horizontal.visible": "Die horizontale Bildlaufleiste ist immer sichtbar.",
"scrollbar.horizontalScrollbarSize": "Die Höhe der horizontalen Bildlaufleiste.",
"scrollbar.scrollByPage": "Steuert, ob Klicks nach Seite scrollen oder zur Klickposition springen.",
"scrollbar.vertical": "Steuert die Sichtbarkeit der vertikalen Bildlaufleiste.",
"scrollbar.vertical.auto": "Die vertikale Bildlaufleiste wird nur bei Bedarf angezeigt.",
"scrollbar.vertical.fit": "Die vertikale Bildlaufleiste wird immer ausgeblendet.",
"scrollbar.vertical.visible": "Die vertikale Bildlaufleiste ist immer sichtbar.",
"scrollbar.verticalScrollbarSize": "Die Breite der vertikalen Bildlaufleiste.",
"selectLeadingAndTrailingWhitespace": "Gibt an, ob führende und nachstehende Leerzeichen immer ausgewählt werden sollen.",
"selectionClipboard": "Steuert, ob die primäre Linux-Zwischenablage unterstützt werden soll.",
"selectionHighlight": "Steuert, ob der Editor Übereinstimmungen hervorheben soll, die der Auswahl ähneln.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Steuert, ob das Ergebnis des Vorschlags im Editor in der Vorschau angezeigt werden soll.",
"suggest.previewMode": "Steuert, welcher Modus zum Rendern der Vorschlagsvorschau verwendet werden soll.",
"suggest.previewMode.prefix": "Rendern Sie einen Vorschlag nur, wenn der Ersatztext ein Präfix des Einfügetexts ist.",
"suggest.previewMode.subwordDiff": "Rendern Sie einen Vorschlag nur, wenn der Ersatztext ein Unterwort des Einfügetexts ist.",
"suggest.previewMode.subword": "Rendern Sie einen Vorschlag nur, wenn der Ersatztext ein Unterwort des Einfügetexts ist.",
"suggest.previewMode.subwordSmart": "Rendern Sie einen Vorschlag nur, wenn der Ersatztext ein Unterwort oder ein Präfix des Einfügetexts ist.",
"suggest.shareSuggestSelections": "Steuert, ob gespeicherte Vorschlagauswahlen in verschiedenen Arbeitsbereichen und Fenstern gemeinsam verwendet werden (dafür ist \"#editor.suggestSelection#\" erforderlich).",
"suggest.showIcons": "Steuert, ob Symbole in Vorschlägen ein- oder ausgeblendet werden.",
"suggest.showInlineDetails": "Steuert, ob Vorschlagsdetails inline mit der Bezeichnung oder nur im Detailwidget angezeigt werden.",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Die ID ist veraltet. Verwenden Sie stattdessen \"editorLineNumber.activeForeground\".",
"editorActiveIndentGuide": "Farbe der Führungslinien für Einzüge im aktiven Editor.",
"editorActiveLineNumber": "Zeilennummernfarbe der aktiven Editorzeile.",
"editorBracketHighlightForeground1": "Vordergrundfarbe der Klammern (1). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightForeground2": "Vordergrundfarbe der Klammern (2). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightForeground3": "Vordergrundfarbe der Klammern (3). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightForeground4": "Vordergrundfarbe der Klammern (4). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightForeground5": "Vordergrundfarbe der Klammern (5). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightForeground6": "Vordergrundfarbe der Klammern (6). Erfordert die Aktivierung der Farbgebung des Klammerpaars.",
"editorBracketHighlightUnexpectedBracketForeground": "Vordergrundfarbe der unerwarteten Klammern.",
"editorBracketMatchBackground": "Hintergrundfarbe für zusammengehörige Klammern",
"editorBracketMatchBorder": "Farbe für zusammengehörige Klammern",
"editorCodeLensForeground": "Vordergrundfarbe der CodeLens-Links im Editor",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Quellaktion..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Fixes anzeigen. Bevorzugter Fix verfügbar ({0})",
"quickFix": "Korrekturen anzeigen",
"quickFixWithKb": "Korrekturen anzeigen ({0})"
"codeAction": "Codeaktionen anzeigen",
"codeActionWithKb": "Codeaktionen anzeigen ({0})",
"preferredcodeActionWithKb": "Zeigt Codeaktionen an. Bevorzugte Schnellkorrektur verfügbar ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "CodeLens-Befehle für aktuelle Zeile anzeigen"
@ -624,11 +649,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.matchesLocation": "{0} von {1}",
"label.nextMatchButton": "Nächste Übereinstimmung",
"label.noResults": "Keine Ergebnisse",
"label.previousMatchButton": "Vorheriger Treffer",
"label.previousMatchButton": "Vorherige Übereinstimmung",
"label.replace": "Ersetzen",
"label.replaceAllButton": "Alle ersetzen",
"label.replaceButton": "Ersetzen",
"label.toggleReplaceButton": "Ersetzen-Modus wechseln",
"label.toggleReplaceButton": "Ersetzen umschalten",
"label.toggleSelectionFind": "In Auswahl suchen",
"placeholder.find": "Suchen",
"placeholder.replace": "Ersetzen",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Hintergrundfarbe hinter gefalteten Bereichen. Die Farbe darf nicht deckend sein, sodass zugrunde liegende Dekorationen nicht ausgeblendet werden.",
"foldLevelAction.label": "Faltebene {0}",
"foldRecursivelyAction.label": "Rekursiv falten",
"gotoNextFold.label": "Zur nächsten Reduzierung wechseln",
"gotoParentFold.label": "Zur übergeordneten Reduzierung wechseln",
"gotoPreviousFold.label": "Zur vorherigen Reduzierung wechseln",
"toggleFoldAction.label": "Einklappung umschalten",
"unFoldRecursivelyAction.label": "Faltung rekursiv aufheben",
"unfoldAction.label": "Auffalten",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} von {1} Problemen",
"editorMarkerNavigationBackground": "Editormarkierung: Hintergrund des Navigationswidgets.",
"editorMarkerNavigationError": "Editormarkierung: Farbe bei Fehler des Navigationswidgets.",
"editorMarkerNavigationErrorHeaderBackground": "Hintergrund der Fehlerüberschrift des Markernavigationswidgets im Editor.",
"editorMarkerNavigationInfo": "Editormarkierung: Farbe bei Information des Navigationswidgets.",
"editorMarkerNavigationInfoHeaderBackground": "Hintergrund der Informationsüberschrift des Markernavigationswidgets im Editor.",
"editorMarkerNavigationWarning": "Editormarkierung: Farbe bei Warnung des Navigationswidgets.",
"editorMarkerNavigationWarningBackground": "Hintergrund der Warnungsüberschrift des Markernavigationswidgets im Editor.",
"marker aria": "{0} bei {1}. ",
"problems": "{0} von {1} Problemen"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Annehmen",
"inlineSuggestionFollows": "Vorschlag:",
"showNextInlineSuggestion": "Weiter",
"showPreviousInlineSuggestion": "Zurück"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "Die Tastenkombination ({0}, {1}) ist kein Befehl."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Multiplikator für Bildlaufgeschwindigkeit, wenn die ALT-TASTE gedrückt wird.",
"Mouse Wheel Scroll Sensitivity": "Ein Multiplikator, der für die Mausrad-Bildlaufereignisse „deltaX“ und „deltaY“ verwendet werden soll.",
"automatic keyboard navigation setting": "Legt fest, ob die Tastaturnavigation in Listen und Strukturen automatisch durch Eingaben ausgelöst wird. Wenn der Wert auf \"false\" festgelegt ist, wird die Tastaturnavigation nur ausgelöst, wenn der Befehl \"list.toggleKeyboardNavigation\" ausgeführt wird. Diesem Befehl können Sie eine Tastenkombination zuweisen.",
"expand mode": "Steuert, wie Strukturordner beim Klicken auf die Ordnernamen erweitert werden. Beachten Sie, dass einige Strukturen und Listen diese Einstellung ggf. ignorieren, wenn sie nicht zutrifft.",
"horizontalScrolling setting": "Steuert, ob Listen und Strukturen ein horizontales Scrollen in der Workbench unterstützen. Warnung: Das Aktivieren dieser Einstellung kann sich auf die Leistung auswirken.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Controla si el editor debe cerrar automáticamente las comillas después de que el usuario agrega uma comilla de apertura.",
"autoIndent": "Controla si el editor debe ajustar automáticamente la sangría mientras los usuarios escriben, pegan, mueven o sangran líneas.",
"autoSurround": "Controla si el editor debe rodear automáticamente las selecciones al escribir comillas o corchetes.",
"bracketPairColorization.enabled": "Controla si está habilitada o no la coloración de pares de corchetes. Use \"Workbench. colorCustomizations\" para invalidar los colores de resaltado de corchete.",
"codeActions": "Habilita la bombilla de acción de código en el editor.",
"codeLens": "Controla si el editor muestra CodeLens.",
"codeLensFontFamily": "Controla la familia de fuentes para CodeLens.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Controla el comportamiento del comando \"Ir a implementaciones\" cuando existen varias ubicaciones de destino.",
"editor.editor.gotoLocation.multipleReferences": "Controla el comportamiento del comando \"Ir a referencias\" cuando existen varias ubicaciones de destino.",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Controla el comportamiento del comando \"Ir a definición de tipo\" cuando existen varias ubicaciones de destino.",
"editor.find.autoFindInSelection.always": "Activa siempre Buscar en selección automáticamente.",
"editor.find.autoFindInSelection.multiline": "Active Buscar en la selección automáticamente cuando se seleccionen varias líneas de contenido.",
"editor.find.autoFindInSelection.never": "No activa nunca Buscar en selección automáticamente (predeterminado).",
"editor.find.autoFindInSelection.always": "Activar siempre Buscar en selección automáticamente.",
"editor.find.autoFindInSelection.multiline": "Activar Buscar en la selección automáticamente cuando se seleccionen varias líneas de contenido.",
"editor.find.autoFindInSelection.never": "No activar nunca Buscar en selección automáticamente (predeterminado).",
"editor.find.seedSearchStringFromSelection.always": "Siempre inicializar la cadena de búsqueda desde la selección del editor, incluida la palabra en la posición del cursor.",
"editor.find.seedSearchStringFromSelection.never": "Nunca inicializar la cadena de búsqueda desde la selección del editor.",
"editor.find.seedSearchStringFromSelection.selection": "Solo inicializar la cadena de búsqueda desde la selección del editor.",
"editor.gotoLocation.multiple.deprecated": "Esta configuración está en desuso. Use configuraciones separadas como \"editor.editor.gotoLocation.multipleDefinitions\" o \"editor.editor.gotoLocation.multipleImplementations\" en su lugar.",
"editor.gotoLocation.multiple.goto": "Vaya al resultado principal y habilite la navegación sin peek para otros",
"editor.gotoLocation.multiple.gotoAndPeek": "Ir al resultado principal y mostrar una vista de inspección",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Controla si la cadena de búsqueda del widget de búsqueda se inicializa desde la selección del editor.",
"folding": "Controla si el editor tiene el plegado de código habilitado.",
"foldingHighlight": "Controla si el editor debe destacar los rangos plegados.",
"foldingImportsByDefault": "Permite controlar si el editor contrae automáticamente los rangos de importación.",
"foldingStrategy": "Controla la estrategia para calcular rangos de plegado.",
"foldingStrategy.auto": "Utilice una estrategia de plegado específica del idioma, si está disponible, de lo contrario la basada en sangría.",
"foldingStrategy.indentation": "Utilice la estrategia de plegado basada en sangría.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Controla si se muestra la información al mantener el puntero sobre un elemento.",
"hover.sticky": "Controla si la información que aparece al mantener el puntero sobre un elemento permanece visible al mover el mouse sobre este.",
"inlayHints.enable": "Habilita las sugerencias de incrustación en el editor.",
"inlayHints.fontFamily": "Controla la familia de fuentes de las sugerencias de incrustación en el editor.",
"inlayHints.fontFamily": "Controla la familia de fuentes de sugerencias de incrustación en el editor. Cuando se establece en vacío, se usa \"#editor.fontFamily#\".",
"inlayHints.fontSize": "Controla el tamaño de la fuente de las sugerencias de incrustación en el editor. Cuando se establece en \"0\", se utiliza el 90% de \"#editor.fontSize#\".",
"inlineSuggest.enabled": "Controla si se deben mostrar automáticamente las sugerencias alineadas en el editor.",
"inlineSuggest.mode": "Controla el modo que se va a usar para representar sugerencias alineadas.",
"inlineSuggest.mode.prefix": "Representar solo una sugerencia alineada si el texto de reemplazo es un prefijo del texto de inserción.",
"inlineSuggest.mode.subwordDiff": "Representar solo una sugerencia alineada si el texto de reemplazo es una subpalabra del texto de inserción.",
"inlineSuggest.mode.subword": "Representar solo una sugerencia alineada si el texto de reemplazo es una subpalabra del texto de inserción.",
"inlineSuggest.mode.subwordSmart": "Solo representa una sugerencia alineada si el texto de reemplazo es una subpalabra del texto de inserción, pero la subpalabra debe iniciarse después del cursor.",
"letterSpacing": "Controla el espacio entre letras en píxeles.",
"lineHeight": "Controla el alto de línea. \r\n - Use 0 para calcular automáticamente el alto de línea a partir del tamaño de la fuente.\r\n - Los valores entre 0 y 8 se usarán como multiplicador con el tamaño de fuente.\r\n - Los valores mayores que 8 se usarán como valores efectivos.",
"lineHeight": "Controla el alto de línea. \r\n - Use 0 para calcular automáticamente el alto de línea a partir del tamaño de la fuente.\r\n - Los valores entre 0 y 8 se usarán como multiplicador con el tamaño de fuente.\r\n - Los valores mayores o igual que 8 se usarán como valores efectivos.",
"lineNumbers": "Controla la visualización de los números de línea.",
"lineNumbers.interval": "Los números de línea se muestran cada 10 líneas.",
"lineNumbers.off": "Los números de línea no se muestran.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Controla el número de caracteres adicionales a partir del cual el editor se desplazará horizontalmente.",
"scrollBeyondLastLine": "Controla si el editor seguirá haciendo scroll después de la última línea.",
"scrollPredominantAxis": "Desplácese solo a lo largo del eje predominante cuando se desplace vertical y horizontalmente al mismo tiempo. Evita la deriva horizontal cuando se desplaza verticalmente en un trackpad.",
"scrollbar.horizontal": "Controla la visibilidad de la barra de desplazamiento horizontal.",
"scrollbar.horizontal.auto": "La barra de desplazamiento horizontal estará visible solo cuando sea necesario.",
"scrollbar.horizontal.fit": "La barra de desplazamiento horizontal estará siempre oculta.",
"scrollbar.horizontal.visible": "La barra de desplazamiento horizontal estará siempre visible.",
"scrollbar.horizontalScrollbarSize": "Altura de la barra de desplazamiento horizontal.",
"scrollbar.scrollByPage": "Controla si al hacer clic se desplaza por página o salta a la posición donde se hace clic.",
"scrollbar.vertical": "Controla la visibilidad de la barra de desplazamiento vertical.",
"scrollbar.vertical.auto": "La barra de desplazamiento vertical estará visible solo cuando sea necesario.",
"scrollbar.vertical.fit": "La barra de desplazamiento vertical estará siempre oculta.",
"scrollbar.vertical.visible": "La barra de desplazamiento vertical estará siempre visible.",
"scrollbar.verticalScrollbarSize": "Ancho de la barra de desplazamiento vertical.",
"selectLeadingAndTrailingWhitespace": "Indica si los espacios en blanco iniciales y finales deben seleccionarse siempre.",
"selectionClipboard": "Controla si el portapapeles principal de Linux debe admitirse.",
"selectionHighlight": "Controla si el editor debe destacar las coincidencias similares a la selección.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Controla si se puede obtener una vista previa del resultado de la sugerencia en el editor.",
"suggest.previewMode": "Controla el modo que se va a usar para representar la vista previa de sugerencias.",
"suggest.previewMode.prefix": "Representar solo una vista previa si el texto de reemplazo es un prefijo del texto de inserción.",
"suggest.previewMode.subwordDiff": "Representar solo una vista previa si el texto de reemplazo es una subpalabra del texto de inserción.",
"suggest.previewMode.subword": "Representar solo una vista previa si el texto de reemplazo es una subpalabra del texto de inserción.",
"suggest.previewMode.subwordSmart": "Representa una vista previa si el texto de reemplazo es una subpalabra de la inserción de texto o si es un prefijo del texto de inserción.",
"suggest.shareSuggestSelections": "Controla si las selecciones de sugerencias recordadas se comparten entre múltiples áreas de trabajo y ventanas (necesita \"#editor.suggestSelection#\").",
"suggest.showIcons": "Controla si mostrar u ocultar iconos en sugerencias.",
"suggest.showInlineDetails": "Controla si los detalles de sugerencia se muestran incorporados con la etiqueta o solo en el widget de detalles.",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "ID es obsoleto. Usar en lugar 'editorLineNumber.activeForeground'. ",
"editorActiveIndentGuide": "Color de las guías de sangría activas del editor.",
"editorActiveLineNumber": "Color del número de línea activa en el editor",
"editorBracketHighlightForeground1": "Color de primer plano de los corchetes (1). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightForeground2": "Color de primer plano de los corchetes (2). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightForeground3": "Color de primer plano de los corchetes (3). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightForeground4": "Color de primer plano de los corchetes (4). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightForeground5": "Color de primer plano de los corchetes (5). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightForeground6": "Color de primer plano de los corchetes (6). Requiere que se habilite la coloración del par de corchetes.",
"editorBracketHighlightUnexpectedBracketForeground": "Color de primer plano de corchetes inesperados.",
"editorBracketMatchBackground": "Color de fondo tras corchetes coincidentes",
"editorBracketMatchBorder": "Color de bloques con corchetes coincidentes",
"editorCodeLensForeground": "Color principal de lentes de código en el editor",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Acción de Origen..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Mostrar correcciones. Solución preferida disponible ({0})",
"quickFix": "Mostrar correcciones",
"quickFixWithKb": "Mostrar correcciones ({0})"
"codeAction": "Mostrar acciones de código",
"codeActionWithKb": "Mostrar acciones de código ({0})",
"preferredcodeActionWithKb": "Mostrar acciones de código. Corrección rápida preferida disponible ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Mostrar comandos de lente de código para la línea actual"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Cerrar",
"label.find": "Buscar",
"label.matchesLocation": "{0} de {1}",
"label.nextMatchButton": "Próxima coincidencia",
"label.nextMatchButton": "Coincidencia siguiente",
"label.noResults": "No hay resultados",
"label.previousMatchButton": "Coincidencia anterior",
"label.replace": "Reemplazar",
"label.replaceAllButton": "Reemplazar todo",
"label.replaceButton": "Reemplazar",
"label.toggleReplaceButton": "Alternar modo de reemplazar",
"label.toggleReplaceButton": "Alternar reemplazar",
"label.toggleSelectionFind": "Buscar en selección",
"placeholder.find": "Buscar",
"placeholder.replace": "Reemplazar",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Color de fondo detrás de los rangos plegados. El color no debe ser opaco para no ocultar las decoraciones subyacentes.",
"foldLevelAction.label": "Nivel de plegamiento {0}",
"foldRecursivelyAction.label": "Plegar de forma recursiva",
"gotoNextFold.label": "Ir al plegado siguiente",
"gotoParentFold.label": "Ir al plegado primario",
"gotoPreviousFold.label": "Ir al plegado anterior",
"toggleFoldAction.label": "Alternar plegado",
"unFoldRecursivelyAction.label": "Desplegar de forma recursiva",
"unfoldAction.label": "Desplegar",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} de {1} problema",
"editorMarkerNavigationBackground": "Fondo del widget de navegación de marcadores del editor.",
"editorMarkerNavigationError": "Color de los errores del widget de navegación de marcadores del editor.",
"editorMarkerNavigationErrorHeaderBackground": "Fondo del encabezado del error del widget de navegación del marcador de editor.",
"editorMarkerNavigationInfo": "Color del widget informativo marcador de navegación en el editor.",
"editorMarkerNavigationInfoHeaderBackground": "Fondo del encabezado de información del widget de navegación del marcador de editor.",
"editorMarkerNavigationWarning": "Color de las advertencias del widget de navegación de marcadores del editor.",
"editorMarkerNavigationWarningBackground": "Fondo del encabezado de la advertencia del widget de navegación del marcador de editor.",
"marker aria": "{0} en {1}. ",
"problems": "{0} de {1} problemas"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Aceptar",
"inlineSuggestionFollows": "Sugerencia:",
"showNextInlineSuggestion": "Siguiente",
"showPreviousInlineSuggestion": "Anterior"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "La combinación de claves ({0}, {1}) no es un comando."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Multiplicador de la velocidad de desplazamiento al presionar Alt.",
"Mouse Wheel Scroll Sensitivity": "Se usará un multiplicador en los eventos de desplazamiento de la rueda del mouse deltaX y deltaY.",
"automatic keyboard navigation setting": "Controla si la navegación del teclado en listas y árboles se activa automáticamente simplemente escribiendo. Si se establece en \"false\", la navegación con el teclado solo se activa al ejecutar el comando \"list.toggleKeyboardNavigation\", para el cual puede asignar un método abreviado de teclado.",
"expand mode": "Controla cómo se expanden las carpetas de árbol al hacer clic en sus nombres. Tenga en cuenta que algunos árboles y listas pueden optar por omitir esta configuración si no es aplicable.",
"horizontalScrolling setting": "Controla si las listas y los árboles admiten el desplazamiento horizontal en el área de trabajo. Advertencia: La activación de esta configuración repercute en el rendimiento.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Contrôle si léditeur doit fermer automatiquement les guillemets après que lutilisateur ajoute un guillemet ouvrant.",
"autoIndent": "Contrôle si l'éditeur doit ajuster automatiquement le retrait quand les utilisateurs tapent, collent, déplacent ou mettent en retrait des lignes.",
"autoSurround": "Contrôle si l'éditeur doit automatiquement entourer les sélections quand l'utilisateur tape des guillemets ou des crochets.",
"bracketPairColorization.enabled": "Contrôle si la coloration de la paire de crochets est activée ou non. Utilisez « workbench.colorCustomizations » pour remplacer les couleurs de surbrillance de crochets.",
"codeActions": "Active lampoule daction de code dans léditeur.",
"codeLens": "Contrôle si l'éditeur affiche CodeLens.",
"codeLensFontFamily": "Contrôle la famille de polices pour CodeLens.",
@ -211,6 +212,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.find.autoFindInSelection.always": "Toujours activer automatiquement la recherche dans la sélection.",
"editor.find.autoFindInSelection.multiline": "Activez Rechercher automatiquement dans la sélection quand plusieurs lignes de contenu sont sélectionnées.",
"editor.find.autoFindInSelection.never": "Ne jamais activer automatiquement la recherche dans la sélection (par défaut).",
"editor.find.seedSearchStringFromSelection.always": "Toujours amorcer la chaîne de recherche à partir de la sélection de léditeur, y compris le mot à la position du curseur.",
"editor.find.seedSearchStringFromSelection.never": "Ne lancez jamais la chaîne de recherche dans la sélection de léditeur.",
"editor.find.seedSearchStringFromSelection.selection": "Chaîne de recherche initiale uniquement dans la sélection de léditeur.",
"editor.gotoLocation.multiple.deprecated": "Ce paramètre est déprécié, utilisez des paramètres distincts comme 'editor.editor.gotoLocation.multipleDefinitions' ou 'editor.editor.gotoLocation.multipleImplementations' à la place.",
"editor.gotoLocation.multiple.goto": "Accéder au résultat principal et activer l'accès sans aperçu pour les autres",
"editor.gotoLocation.multiple.gotoAndPeek": "Accéder au résultat principal et montrer un aperçu",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Détermine si la chaîne de recherche dans le Widget Recherche est initialisée avec la sélection de léditeur.",
"folding": "Contrôle si l'éditeur a le pliage de code activé.",
"foldingHighlight": "Contrôle si l'éditeur doit mettre en évidence les plages pliées.",
"foldingImportsByDefault": "Contrôle si léditeur réduit automatiquement les plages dimportation.",
"foldingStrategy": "Contrôle la stratégie de calcul des plages de pliage.",
"foldingStrategy.auto": "Utilisez une stratégie de pliage propre à la langue, si disponible, sinon utilisez la stratégie basée sur le retrait.",
"foldingStrategy.indentation": "Utilisez la stratégie de pliage basée sur le retrait.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Contrôle si le pointage est affiché.",
"hover.sticky": "Contrôle si le pointage doit rester visible quand la souris est déplacée au-dessus.",
"inlayHints.enable": "Active les indicateurs inlay dans léditeur.",
"inlayHints.fontFamily": "Contrôle la famille de polices des indicateurs inlay dans léditeur.",
"inlayHints.fontFamily": "Contrôle la famille de polices des indicateurs dinlay dans léditeur. Lorsquil est défini sur vide, '#editor.fontFamily#' est utilisé.",
"inlayHints.fontSize": "Contrôle la taille de police des indicateurs inlay dans léditeur. Quand la valeur est définie sur `0`, 90 % de `#editor.fontSize#` est utilisé.",
"inlineSuggest.enabled": "Contrôle si les suggestions en ligne doivent être affichées automatiquement dans léditeur.",
"inlineSuggest.mode": "Contrôle le mode à utiliser pour le rendu des suggestions incluses.",
"inlineSuggest.mode.prefix": "Affichez uniquement une suggestion inlined si le texte de remplacement est un préfixe du texte dinsertion.",
"inlineSuggest.mode.subwordDiff": "Affichez uniquement une suggestion inlined si le texte de remplacement est un sous-mot du texte dinsertion.",
"inlineSuggest.mode.subword": "Affichez uniquement une suggestion inlined si le texte de remplacement est un sous-mot du texte dinsertion.",
"inlineSuggest.mode.subwordSmart": "Affichez uniquement une suggestion inlined si le texte de remplacement est un sous-mot du texte dinsertion, mais que le sous-mot doit commencer après le curseur.",
"letterSpacing": "Contrôle l'espacement des lettres en pixels.",
"lineHeight": "Contrôle la hauteur de ligne. \r\n : utilisez 0 pour calculer automatiquement la hauteur de ligne à partir de la taille de police.\r\n : les valeurs comprises entre 0 et 8 sont utilisées comme multiplicateur avec la taille de police.\r\n : les valeurs supérieures à 8 seront utilisées comme valeurs effectives.",
"lineHeight": "Contrôle la hauteur de ligne. \r\n - Utilisez 0 pour calculer automatiquement la hauteur de ligne à partir de la taille de police.\r\n : les valeurs comprises entre 0 et 8 sont utilisées comme multiplicateur avec la taille de police.\r\n : les valeurs supérieures ou égales à 8 seront utilisées comme valeurs effectives.",
"lineNumbers": "Contrôle l'affichage des numéros de ligne.",
"lineNumbers.interval": "Les numéros de ligne sont affichés toutes les 10 lignes.",
"lineNumbers.off": "Les numéros de ligne ne sont pas affichés.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Contrôle le nombre de caractères supplémentaires, au-delà duquel léditeur défile horizontalement.",
"scrollBeyondLastLine": "Contrôle si léditeur défile au-delà de la dernière ligne.",
"scrollPredominantAxis": "Faites défiler uniquement le long de l'axe prédominant quand le défilement est à la fois vertical et horizontal. Empêche la dérive horizontale en cas de défilement vertical sur un pavé tactile.",
"scrollbar.horizontal": "Contrôle la visibilité de la barre de défilement horizontale.",
"scrollbar.horizontal.auto": "La barre de défilement horizontale sera visible uniquement lorsque cela est nécessaire.",
"scrollbar.horizontal.fit": "La barre de défilement horizontale est toujours masquée.",
"scrollbar.horizontal.visible": "La barre de défilement horizontale est toujours visible.",
"scrollbar.horizontalScrollbarSize": "Hauteur de la barre de défilement horizontale.",
"scrollbar.scrollByPage": "Contrôle si les clics permettent de faire défiler par page ou daccéder à la position de clic.",
"scrollbar.vertical": "Contrôle la visibilité de la barre de défilement verticale.",
"scrollbar.vertical.auto": "La barre de défilement verticale sera visible uniquement lorsque cela est nécessaire.",
"scrollbar.vertical.fit": "La barre de défilement verticale est toujours masquée.",
"scrollbar.vertical.visible": "La barre de défilement verticale est toujours visible.",
"scrollbar.verticalScrollbarSize": "Largeur de la barre de défilement verticale.",
"selectLeadingAndTrailingWhitespace": "Indique si les espaces blancs de début et de fin doivent toujours être sélectionnés.",
"selectionClipboard": "Contrôle si le presse-papiers principal Linux doit être pris en charge.",
"selectionHighlight": "Contrôle si l'éditeur doit mettre en surbrillance les correspondances similaires à la sélection.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Contrôle si la sortie de la suggestion doit être affichée en aperçu dans léditeur.",
"suggest.previewMode": "Contrôle le mode à utiliser pour le rendu de laperçu de suggestion.",
"suggest.previewMode.prefix": "Affichez un aperçu uniquement si le texte de remplacement est un préfixe du texte dinsertion.",
"suggest.previewMode.subwordDiff": "Affichez un aperçu uniquement si le texte de remplacement est un sous-mot du texte dinsertion.",
"suggest.previewMode.subword": "Affichez un aperçu uniquement si le texte de remplacement est un sous-mot du texte dinsertion.",
"suggest.previewMode.subwordSmart": "Afficher un aperçu si le texte de remplacement est un sous-mot du texte dinsertion ou sil sagit dun préfixe du texte dinsertion.",
"suggest.shareSuggestSelections": "Contrôle si les sélections de suggestion mémorisées sont partagées entre plusieurs espaces de travail et fenêtres (nécessite '#editor.suggestSelection#').",
"suggest.showIcons": "Contrôle s'il faut montrer ou masquer les icônes dans les suggestions.",
"suggest.showInlineDetails": "Détermine si les détails du widget de suggestion sont inclus dans l'étiquette ou uniquement dans le widget de détails",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "LID est déprécié. Utilisez à la place 'editorLineNumber.activeForeground'.",
"editorActiveIndentGuide": "Couleur des guides d'indentation de l'éditeur actif",
"editorActiveLineNumber": "Couleur des numéros de lignes actives de l'éditeur",
"editorBracketHighlightForeground1": "Couleur de premier plan des crochets (1). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightForeground2": "Couleur de premier plan des crochets (2). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightForeground3": "Couleur de premier plan des crochets (3). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightForeground4": "Couleur de premier plan des crochets (4). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightForeground5": "Couleur de premier plan des crochets (5). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightForeground6": "Couleur de premier plan des crochets (6). Nécessite lactivation de la coloration de la paire de crochets.",
"editorBracketHighlightUnexpectedBracketForeground": "Couleur de premier plan des parenthèses inattendues",
"editorBracketMatchBackground": "Couleur d'arrière-plan pour les accolades associées",
"editorBracketMatchBorder": "Couleur pour le contour des accolades associées",
"editorCodeLensForeground": "Couleur pour les indicateurs CodeLens",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Action de la source"
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Affichez les corrections. Correction préférée disponible ({0})",
"quickFix": "Afficher les correctifs",
"quickFixWithKb": "Afficher les correctifs ({0})"
"codeAction": "Afficher les actions de code",
"codeActionWithKb": "Afficher les actions de code ({0})",
"preferredcodeActionWithKb": "Afficher les actions de code. Correctif rapide disponible par défaut ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Afficher les commandes Code Lens de la ligne actuelle"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Fermer",
"label.find": "Rechercher",
"label.matchesLocation": "{0} sur {1}",
"label.nextMatchButton": "Prochaine correspondance",
"label.nextMatchButton": "Correspondance suivante",
"label.noResults": "Aucun résultat",
"label.previousMatchButton": "Correspondance précédente",
"label.replace": "Remplacer",
"label.replaceAllButton": "Tout remplacer",
"label.replaceButton": "Remplacer",
"label.toggleReplaceButton": "Changer le mode de remplacement",
"label.toggleReplaceButton": "Activer/désactiver le remplacement",
"label.toggleSelectionFind": "Rechercher dans la sélection",
"placeholder.find": "Rechercher",
"placeholder.replace": "Remplacer",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Couleur d'arrière-plan des gammes pliées. La couleur ne doit pas être opaque pour ne pas cacher les décorations sous-jacentes.",
"foldLevelAction.label": "Niveau de pliage {0}",
"foldRecursivelyAction.label": "Plier de manière récursive",
"gotoNextFold.label": "Atteindre le pli suivant",
"gotoParentFold.label": "Atteindre le pli parent",
"gotoPreviousFold.label": "Atteindre le pli précédent",
"toggleFoldAction.label": "Activer/désactiver le pliage",
"unFoldRecursivelyAction.label": "Déplier de manière récursive",
"unfoldAction.label": "Déplier",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} problème(s) sur {1}",
"editorMarkerNavigationBackground": "Arrière-plan du widget de navigation dans les marqueurs de l'éditeur.",
"editorMarkerNavigationError": "Couleur d'erreur du widget de navigation dans les marqueurs de l'éditeur.",
"editorMarkerNavigationErrorHeaderBackground": "Arrière-plan du titre derreur du widget de navigation dans les marqueurs de léditeur.",
"editorMarkerNavigationInfo": "Couleur dinformation du widget de navigation du marqueur de l'éditeur.",
"editorMarkerNavigationInfoHeaderBackground": "Arrière-plan du titre des informations du widget de navigation dans les marqueurs de léditeur.",
"editorMarkerNavigationWarning": "Couleur d'avertissement du widget de navigation dans les marqueurs de l'éditeur.",
"editorMarkerNavigationWarningBackground": "Arrière-plan du titre derreur du widget de navigation dans les marqueurs de léditeur.",
"marker aria": "{0} à {1}. ",
"problems": "{0} problèmes sur {1}"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Accepter",
"inlineSuggestionFollows": "Suggestion :",
"showNextInlineSuggestion": "Suivant",
"showPreviousInlineSuggestion": "Précédent"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "La combinaison de touches ({0}, {1}) nest pas une commande."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Multiplicateur de vitesse de défilement quand vous appuyez sur Alt.",
"Mouse Wheel Scroll Sensitivity": "Un multiplicateur à utiliser sur les deltaX et deltaY des événements de défilement de roulette de souris.",
"automatic keyboard navigation setting": "Contrôle si la navigation au clavier dans les listes et les arborescences est automatiquement déclenchée simplement par la frappe. Si défini sur 'false', la navigation au clavier est seulement déclenchée avec l'exécution de la commande 'list.toggleKeyboardNavigation', à laquelle vous pouvez attribuer un raccourci clavier.",
"expand mode": "Contrôle la façon dont les dossiers de l'arborescence sont développés quand vous cliquez sur les noms de dossiers. Notez que certaines arborescences et listes peuvent choisir d'ignorer ce paramètre, s'il est non applicable.",
"horizontalScrolling setting": "Contrôle si les listes et les arborescences prennent en charge le défilement horizontal dans le banc d'essai. Avertissement : L'activation de ce paramètre a un impact sur les performances.",

View File

@ -89,7 +89,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"miUndo": "&&Annulla",
"redo": "Ripeti",
"selectAll": "Seleziona tutto",
"undo": "Annulla"
"undo": "Annulla azione"
},
"vs/editor/browser/widget/codeEditorWidget": {
"cursors.maximum": "Il numero di cursori è stato limitato a {0}."
@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Controlla se l'editor deve chiudere automaticamente le citazioni dopo che sono state aperte.",
"autoIndent": "Controlla se l'editor deve regolare automaticamente il rientro quando gli utenti digitano, incollano, spostano le righe o applicano il rientro.",
"autoSurround": "Controlla se l'editor deve racchiudere automaticamente le selezioni quando si digitano virgolette o parentesi quadre.",
"bracketPairColorization.enabled": "Controlla se la colorazione delle coppie di parentesi quadre è abilitata. Usare 'workbench.colorCustomizations' per eseguire l'override dei colori di evidenziazione delle parentesi quadre.",
"codeActions": "Abilita la lampadina delle azioni codice nell'editor.",
"codeLens": "Controlla se l'editor visualizza CodeLens.",
"codeLensFontFamily": "Controlla la famiglia di caratteri per CodeLens.",
@ -211,6 +212,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.find.autoFindInSelection.always": "Attiva sempre automaticamente la funzione Trova nella selezione.",
"editor.find.autoFindInSelection.multiline": "Attiva automaticamente la funzione Trova nella selezione quando sono selezionate più righe di contenuto.",
"editor.find.autoFindInSelection.never": "Non attivare mai automaticamente la funzione Trova nella selezione (impostazione predefinita).",
"editor.find.seedSearchStringFromSelection.always": "Fornisci sempre la stringa di ricerca dalla selezione dell'editor, inclusa la parola alla posizione del cursore.",
"editor.find.seedSearchStringFromSelection.never": "Non fornire mai la stringa di ricerca dalla selezione dell'editor.",
"editor.find.seedSearchStringFromSelection.selection": "Fornisci la stringa di ricerca solo dalla selezione dell'editor.",
"editor.gotoLocation.multiple.deprecated": "Questa impostazione è deprecata. In alternativa, usare impostazioni diverse, come 'editor.editor.gotoLocation.multipleDefinitions' o 'editor.editor.gotoLocation.multipleImplementations'.",
"editor.gotoLocation.multiple.goto": "Passa al risultato principale e abilita l'esplorazione senza anteprima per gli altri",
"editor.gotoLocation.multiple.gotoAndPeek": "Passa al risultato principale e mostra una visualizzazione rapida",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Controlla se inizializzare la stringa di ricerca nel Widget Trova con il testo selezionato nell'editor.",
"folding": "Controlla se per l'editor è abilitata la riduzione del codice.",
"foldingHighlight": "Controlla se l'editor deve evidenziare gli intervalli con riduzione del codice.",
"foldingImportsByDefault": "Controlla se l'editor comprime automaticamente gli intervalli di importazione.",
"foldingStrategy": "Controlla la strategia per il calcolo degli intervalli di riduzione.",
"foldingStrategy.auto": "Usa una strategia di riduzione specifica della lingua, se disponibile; altrimenti ne usa una basata sui rientri.",
"foldingStrategy.indentation": "Usa la strategia di riduzione basata sui rientri.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Controlla se mostrare l'area sensibile al passaggio del mouse.",
"hover.sticky": "Controlla se l'area sensibile al passaggio del mouse deve rimanere visibile quando vi si passa sopra con il puntatore del mouse.",
"inlayHints.enable": "Abilita i suggerimenti incorporati nell'Editor.",
"inlayHints.fontFamily": "Controlla la famiglia di caratteri dei suggerimenti incorporati nell'Editor.",
"inlayHints.fontFamily": "Controlla la famiglia di caratteri dei suggerimenti incorporati nell'Editor. Se impostato su vuoto, viene usato '#editor.fontFamily#'.",
"inlayHints.fontSize": "Controlla le dimensioni del carattere dei suggerimenti incorporati nell'Editor. Quando è impostato su `0`, viene usato il 90% del valore di `#editor.fontSize#`.",
"inlineSuggest.enabled": "Controlla se visualizzare automaticamente i suggerimenti inline nell'Editor.",
"inlineSuggest.mode": "Verificare la modalità da utilizzare per eseguire il rendering dei suggerimenti inline.",
"inlineSuggest.mode.prefix": "Eseguire il rendering di un suggerimento inline solo se il testo di sostituzione è un prefisso del testo di inserimento.",
"inlineSuggest.mode.subwordDiff": "Eseguire il rendering di un suggerimento inline solo se il testo di sostituzione è una parola secondaria del testo di inserimento.",
"inlineSuggest.mode.subword": "Eseguire il rendering di un suggerimento inline solo se il testo di sostituzione è una parola secondaria del testo di inserimento.",
"inlineSuggest.mode.subwordSmart": "Esegue il rendering di un suggerimento inline solo se il testo di sostituzione è una sottoparola del testo di inserimento, ma la sottoparola deve iniziare dopo il cursore.",
"letterSpacing": "Controlla la spaziatura tra le lettere in pixel.",
"lineHeight": "Verificare l'altezza della riga. \r\n -Utilizzare 0 per calcolare automaticamente l'altezza della riga dalla dimensione del carattere.\r\n -I valori compresi tra 0 e 8 verranno usati come moltiplicatore con le dimensioni del carattere.\r\n -I valori maggiori di 8 verranno usati come valori effettivi.",
"lineHeight": "Controlla l'altezza della riga. \r\n - Usare 0 per calcolare automaticamente l'altezza della riga dalle dimensioni del carattere.\r\n - I valori compresi tra 0 e 8 verranno usati come moltiplicatore con le dimensioni del carattere.\r\n - I valori maggiori o uguali a 8 verranno usati come valori effettivi.",
"lineNumbers": "Controlla la visualizzazione dei numeri di riga.",
"lineNumbers.interval": "I numeri di riga vengono visualizzati ogni 10 righe.",
"lineNumbers.off": "I numeri di riga non vengono visualizzati.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Controlla il numero di caratteri aggiuntivi oltre i quali l'editor scorrerà orizzontalmente.",
"scrollBeyondLastLine": "Controlla se l'editor scorrerà oltre l'ultima riga.",
"scrollPredominantAxis": "Scorre solo lungo l'asse predominante durante lo scorrimento verticale e orizzontale simultaneo. Impedisce la deviazione orizzontale quando si scorre in verticale su un trackpad.",
"scrollbar.horizontal": "Controlla la visibilità della barra di scorrimento orizzontale.",
"scrollbar.horizontal.auto": "La barra di scorrimento orizzontale sarà visibile solo quando necessario.",
"scrollbar.horizontal.fit": "La barra di scorrimento orizzontale sarà sempre nascosta.",
"scrollbar.horizontal.visible": "La barra di scorrimento orizzontale sarà sempre visibile.",
"scrollbar.horizontalScrollbarSize": "Altezza della barra di scorrimento orizzontale.",
"scrollbar.scrollByPage": "Controlla se i clic consentono di attivare lo scorrimento per pagina o di passare direttamente alla posizione di clic.",
"scrollbar.vertical": "Controlla la visibilità della barra di scorrimento verticale.",
"scrollbar.vertical.auto": "La barra di scorrimento verticale sarà visibile solo quando necessario.",
"scrollbar.vertical.fit": "La barra di scorrimento verticale sarà sempre nascosta.",
"scrollbar.vertical.visible": "La barra di scorrimento verticale sarà sempre visibile.",
"scrollbar.verticalScrollbarSize": "Larghezza della barra di scorrimento verticale.",
"selectLeadingAndTrailingWhitespace": "Indica se gli spazi vuoti iniziali e finali devono essere sempre selezionati.",
"selectionClipboard": "Controlla se gli appunti primari di Linux devono essere supportati.",
"selectionHighlight": "Controlla se l'editor deve evidenziare gli elementi corrispondenti simili alla selezione.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Controlla se visualizzare in anteprima il risultato del suggerimento nell'Editor.",
"suggest.previewMode": "Verificare la modalità da utilizzare per eseguire il rendering dell'anteprima del suggerimento.",
"suggest.previewMode.prefix": "Eseguire il rendering di unanteprima solo se il testo di sostituzione è un prefisso del testo di inserimento.",
"suggest.previewMode.subwordDiff": "Eseguire il rendering di unanteprima solo se il testo di sostituzione è una parola secondaria del testo di inserimento.",
"suggest.previewMode.subword": "Eseguire il rendering di unanteprima solo se il testo di sostituzione è una parola secondaria del testo di inserimento.",
"suggest.previewMode.subwordSmart": "Eseguire il rendering di un'anteprima se il testo di sostituzione è una sottoparola del testo di inserimento o se è un prefisso del testo di inserimento.",
"suggest.shareSuggestSelections": "Controlla se condividere le selezioni dei suggerimenti memorizzati tra aree di lavoro e finestre (richiede `#editor.suggestSelection#`).",
"suggest.showIcons": "Controlla se mostrare o nascondere le icone nei suggerimenti.",
"suggest.showInlineDetails": "Controlla se i dettagli del suggerimento vengono visualizzati inline con l'etichetta o solo nel widget dei dettagli",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Id è deprecato. In alternativa usare 'editorLineNumber.activeForeground'.",
"editorActiveIndentGuide": "Colore delle guide di indentazione dell'editor attivo",
"editorActiveLineNumber": "Colore del numero di riga attivo dell'editor",
"editorBracketHighlightForeground1": "Colore primo piano delle parentesi quadre (1). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightForeground2": "Colore primo piano delle parentesi quadre (2). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightForeground3": "Colore primo piano delle parentesi quadre (3). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightForeground4": "Colore primo piano delle parentesi quadre (4). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightForeground5": "Colore primo piano delle parentesi quadre (5). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightForeground6": "Colore primo piano delle parentesi quadre (6). Richiede l'abilitazione della colorazione delle coppie di parentesi quadre.",
"editorBracketHighlightUnexpectedBracketForeground": "Colore di primo piano delle parentesi impreviste.",
"editorBracketMatchBackground": "Colore di sfondo delle parentesi corrispondenti",
"editorBracketMatchBorder": "Colore delle caselle di parentesi corrispondenti",
"editorCodeLensForeground": "Colore primo piano delle finestre di CodeLens dell'editor",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Azione origine..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Mostra correzioni. Correzione preferita disponibile ({0})",
"quickFix": "Mostra correzioni",
"quickFixWithKb": "Mostra correzioni ({0})"
"codeAction": "Mostra Azioni codice",
"codeActionWithKb": "Mostra Azioni codice ({0})",
"preferredcodeActionWithKb": "Mostra azioni codice. Correzione rapida preferita disponibile ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Mostra comandi di CodeLens per la riga corrente"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Chiudi",
"label.find": "Trova",
"label.matchesLocation": "{0} di {1}",
"label.nextMatchButton": "Corrispondenza successiva",
"label.nextMatchButton": "Risultato successivo",
"label.noResults": "Nessun risultato",
"label.previousMatchButton": "Corrispondenza precedente",
"label.previousMatchButton": "Risultato precedente",
"label.replace": "Sostituisci",
"label.replaceAllButton": "Sostituisci tutto",
"label.replaceButton": "Sostituisci",
"label.toggleReplaceButton": "Attiva/Disattiva modalità sostituzione",
"label.toggleReplaceButton": "Attiva/Disattiva sostituzione",
"label.toggleSelectionFind": "Trova nella selezione",
"placeholder.find": "Trova",
"placeholder.replace": "Sostituisci",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Colore di sfondo degli intervalli con riduzione. Il colore non deve essere opaco per evitare di nascondere le decorazioni sottostanti.",
"foldLevelAction.label": "Livello riduzione {0}",
"foldRecursivelyAction.label": "Riduci in modo ricorsivo",
"gotoNextFold.label": "Vai alla cartella successiva",
"gotoParentFold.label": "Vai alla cartella principale",
"gotoPreviousFold.label": "Vai alla cartella precedente",
"toggleFoldAction.label": "Attiva/Disattiva riduzione",
"unFoldRecursivelyAction.label": "Espandi in modo ricorsivo",
"unfoldAction.label": "Espandi",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} di {1} problema",
"editorMarkerNavigationBackground": "Sfondo del widget di spostamento tra marcatori dell'editor.",
"editorMarkerNavigationError": "Colore per gli errori del widget di spostamento tra marcatori dell'editor.",
"editorMarkerNavigationErrorHeaderBackground": "Intestazione errore per lo sfondo del widget di spostamento tra marcatori dell'editor.",
"editorMarkerNavigationInfo": "Colore delle informazioni del widget di navigazione marcatori dell'editor.",
"editorMarkerNavigationInfoHeaderBackground": "Intestazione informativa per lo sfondo del widget di spostamento tra marcatori dell'editor.",
"editorMarkerNavigationWarning": "Colore per gli avvisi del widget di spostamento tra marcatori dell'editor.",
"editorMarkerNavigationWarningBackground": "Intestazione avviso per lo sfondo del widget di spostamento tra marcatori dell'editor.",
"marker aria": "{0} a {1}. ",
"problems": "{0} di {1} problemi"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Accettare",
"inlineSuggestionFollows": "Suggerimento:",
"showNextInlineSuggestion": "Avanti",
"showPreviousInlineSuggestion": "Indietro"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "La combinazione di tasti ({0}, {1}) non è un comando."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Moltiplicatore della velocità di scorrimento quando si preme Alt.",
"Mouse Wheel Scroll Sensitivity": "Moltiplicatore da usare sui valori deltaX e deltaY degli eventi di scorrimento della rotellina del mouse.",
"automatic keyboard navigation setting": "Controlla se gli spostamenti da tastiera per elenchi e alberi vengono attivati semplicemente premendo un tasto. Se è impostato su `false`, gli spostamenti da tastiera vengono attivati solo durante l'esecuzione del comando `list.toggleKeyboardNavigation`, al quale è possibile assegnare un tasto di scelta rapida.",
"expand mode": "Controlla l'espansione delle cartelle di alberi quando si fa clic sui nomi delle cartelle. Tenere presente che alcuni alberi ed elenchi potrebbero scegliere di ignorare questa impostazione se non è applicabile.",
"horizontalScrolling setting": "Controlla se elenchi e alberi supportano lo scorrimento orizzontale nell'area di lavoro. Avviso: l'attivazione di questa impostazione può influire sulle prestazioni.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "ユーザーが開始引用符を追加した後、エディター自動的に引用符を閉じるかどうかを制御します。",
"autoIndent": "ユーザーが行を入力、貼り付け、移動、またはインデントするときに、エディターでインデントを自動的に調整するかどうかを制御します。",
"autoSurround": "引用符または角かっこを入力するときに、エディターが選択範囲を自動的に囲むかどうかを制御します。",
"bracketPairColorization.enabled": "角かっこのペアの彩色を有効にするかどうかを制御します。角かっこの強調表示の色をオーバーライドするには、'workbench.colorCustomizations' を使用します。",
"codeActions": "エディターでコード アクションの電球を有効にします。",
"codeLens": "エディターで CodeLens を表示するかどうかを制御します。",
"codeLensFontFamily": "CodeLens のフォント ファミリを制御します。",
@ -209,8 +210,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleReferences": "ターゲットの場所が複数存在する場合の '参照へ移動' コマンドの動作を制御します。",
"editor.editor.gotoLocation.multipleTypeDefinitions": "複数のターゲットの場所があるときの '型定義へ移動' コマンドの動作を制御します。",
"editor.find.autoFindInSelection.always": "[選択範囲を検索] を常に自動的にオンにします。",
"editor.find.autoFindInSelection.multiline": "複数行のコンテンツが選択されている場合は、自動的に [選択範囲を検索] をオンにします。",
"editor.find.autoFindInSelection.multiline": "複数行のコンテンツが選択されている場合は、[選択範囲を検索] を自動的にオンにします。",
"editor.find.autoFindInSelection.never": "[選択範囲を検索] を自動的にオンにしません (既定)。",
"editor.find.seedSearchStringFromSelection.always": "カーソル位置にある単語を含め、エディターの選択範囲から検索文字列を常にシードします。",
"editor.find.seedSearchStringFromSelection.never": "エディターの選択範囲から検索文字列をシードしません。",
"editor.find.seedSearchStringFromSelection.selection": "エディターの選択範囲から検索文字列のみをシードします。",
"editor.gotoLocation.multiple.deprecated": "この設定は非推奨です。代わりに、'editor.editor.gotoLocation.multipleDefinitions' や 'editor.editor.gotoLocation.multipleImplementations' などの個別の設定を使用してください。",
"editor.gotoLocation.multiple.goto": "プライマリ結果に移動し、他のユーザーへのピークレス ナビゲーションを有効にします",
"editor.gotoLocation.multiple.gotoAndPeek": "主な結果に移動し、ピーク ビューを表示します",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "エディターの選択範囲から検索ウィジェット内の検索文字列を与えるかどうかを制御します。",
"folding": "エディターでコードの折りたたみを有効にするかどうかを制御します。",
"foldingHighlight": "エディターで折りたたまれた範囲を強調表示するかどうかをコントロールします。",
"foldingImportsByDefault": "エディターがインポート範囲を自動的に折りたたむかどうかを制御します。",
"foldingStrategy": "折りたたみ範囲の計算方法を制御します。",
"foldingStrategy.auto": "利用可能な場合は言語固有の折りたたみ方法を使用し、利用可能ではない場合はインデントベースの方法を使用します。",
"foldingStrategy.indentation": "インデントベースの折りたたみ方法を使用します。",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "ホバーを表示するかどうかを制御します。",
"hover.sticky": "ホバーにマウスを移動したときに、ホバーを表示し続けるかどうかを制御します。",
"inlayHints.enable": "エディターでインレー ヒントを有効にします。",
"inlayHints.fontFamily": "エディターでインレー ヒントのフォント ファミリを制御します。",
"inlayHints.fontFamily": "エディターでインレー ヒントのフォント ファミリを制御します。空に設定すると、`#editor.fontFamily#` が使用されます。",
"inlayHints.fontSize": "エディターでインレー ヒントのフォント サイズを制御します。'0' に設定すると、`#editor.fontSize#` の 90% が使用されます。",
"inlineSuggest.enabled": "エディターにインライン候補を自動的に表示するかどうかを制御します。",
"inlineSuggest.mode": "インライン候補をレンダリングするために使用するモードを制御します。",
"inlineSuggest.mode.prefix": "置換テキストが挿入テキストのプレフィックスである場合にのみインライン候補を表示します。",
"inlineSuggest.mode.subwordDiff": "置換テキストが挿入テキストのサブワードである場合にのみインライン候補をレンダリングします。",
"inlineSuggest.mode.subword": "置換テキストが挿入テキストのサブワードである場合にのみインライン候補をレンダリングします。",
"inlineSuggest.mode.subwordSmart": "置換テキストが挿入テキストのサブワードである場合にのみインライン候補をレンダリングしますが、サブワードはカーソルの後に開始する必要があります。",
"letterSpacing": "文字間隔 (ピクセル単位) を制御します。",
"lineHeight": "行の高さを制御します。\r\n - 0 を使用してフォント サイズから行の高さを自動的に計算します。\r\n - 0 から 8 までの値は、フォント サイズを示す乗数として使用されます。\r\n - 8 より大きい値は有効値として使用されます。",
"lineHeight": "行の高さを制御します。\r\n - 0 を使用してフォント サイズから行の高さを自動的に計算します。\r\n - 0 から 8 までの値は、フォント サイズの乗数として使用されます。\r\n - 8 以上の値は有効値として使用されます。",
"lineNumbers": "行番号の表示を制御します。",
"lineNumbers.interval": "行番号は 10 行ごとに表示されます。",
"lineNumbers.off": "行番号は表示されません。",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "エディターが水平方向に余分にスクロールする文字数を制御します。",
"scrollBeyondLastLine": "エディターが最後の行を越えてスクロールするかどうかを制御します。",
"scrollPredominantAxis": "垂直および水平方向の両方に同時にスクロールする場合は、主要な軸に沿ってスクロールします。トラックパッド上で垂直方向にスクロールする場合は、水平ドリフトを防止します。",
"scrollbar.horizontal": "水平スクロールバーの表示を制御します。",
"scrollbar.horizontal.auto": "水平スクロールバーは、必要な場合にのみ表示されます。",
"scrollbar.horizontal.fit": "水平スクロールバーは常に非表示になります。",
"scrollbar.horizontal.visible": "水平スクロールバーは常に表示されます。",
"scrollbar.horizontalScrollbarSize": "水平スクロールバーの高さ。",
"scrollbar.scrollByPage": "クリックするとページ単位でスクロールするか、クリック位置にジャンプするかを制御します。",
"scrollbar.vertical": "垂直スクロールバーの表示を制御します。",
"scrollbar.vertical.auto": "垂直スクロールバーは、必要な場合にのみ表示されます。",
"scrollbar.vertical.fit": "垂直スクロールバーは常に非表示になります。",
"scrollbar.vertical.visible": "垂直スクロールバーは常に表示されます。",
"scrollbar.verticalScrollbarSize": "垂直スクロールバーの幅。",
"selectLeadingAndTrailingWhitespace": "先頭と末尾の空白を常に選択するかどうか。",
"selectionClipboard": "Linux の PRIMARY クリップボードをサポートするかどうかを制御します。",
"selectionHighlight": "エディターが選択項目と類似の一致項目を強調表示するかどうかを制御します。",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "提案の結果をエディターでプレビューするかどうかを制御します。",
"suggest.previewMode": "候補のプレビューをレンダリングするために使用するモードを制御します。",
"suggest.previewMode.prefix": "置換テキストが挿入テキストのプレフィックスである場合にのみプレビューを表示します。",
"suggest.previewMode.subwordDiff": "置換テキストが挿入テキストのサブワードである場合にのみプレビューを表示します。",
"suggest.previewMode.subword": "置換テキストが挿入テキストのサブワードである場合にのみプレビューを表示します。",
"suggest.previewMode.subwordSmart": "置換テキストが挿入テキストのサブワードである場合か、または挿入テキストのプレフィックスである場合にのみプレビューをします。",
"suggest.shareSuggestSelections": "保存された候補セクションを複数のワークプレースとウィンドウで共有するかどうかを制御します (`#editor.suggestSelection#` が必要)。",
"suggest.showIcons": "提案のアイコンを表示するか、非表示にするかを制御します。",
"suggest.showInlineDetails": "候補の詳細をラベル付きのインラインで表示するか、詳細ウィジェットにのみ表示するかを制御します",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "id は使用しないでください。代わりに 'EditorLineNumber.activeForeground' を使用してください。",
"editorActiveIndentGuide": "アクティブなエディターのインデント ガイドの色。",
"editorActiveLineNumber": "エディターのアクティブ行番号の色",
"editorBracketHighlightForeground1": "角かっこ (1) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightForeground2": "角かっこ (2) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightForeground3": "角かっこ (3) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightForeground4": "角かっこ (4) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightForeground5": "角かっこ (5) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightForeground6": "角かっこ (6) の前景色。角かっこのペアの色付けを有効にする必要があります。",
"editorBracketHighlightUnexpectedBracketForeground": "予期しないブラケットの前景色。",
"editorBracketMatchBackground": "一致するかっこの背景色",
"editorBracketMatchBorder": "一致するかっこ内のボックスの色",
"editorCodeLensForeground": "CodeLens エディターの前景色。",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "ソース アクション..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "修正プログラムを表示します。推奨される利用可能な修正プログラム ({0})",
"quickFix": "修正プログラムを表示する",
"quickFixWithKb": "修正プログラム ({0}) を表示する"
"codeAction": "コード アクションの表示",
"codeActionWithKb": "コード アクションの表示 ({0})",
"preferredcodeActionWithKb": "コードアクションを表示します。使用可能な優先のクイック修正 ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "現在の行のコード レンズ コマンドを表示"
@ -624,11 +649,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.matchesLocation": "{0} / {1} 件",
"label.nextMatchButton": "次の一致項目",
"label.noResults": "結果はありません。",
"label.previousMatchButton": "前の検索結果",
"label.previousMatchButton": "前の一致項目",
"label.replace": "置換",
"label.replaceAllButton": "すべて置換",
"label.replaceButton": "置換",
"label.toggleReplaceButton": "置換モードの切り替え",
"label.toggleReplaceButton": "置換の切り替え",
"label.toggleSelectionFind": "選択範囲を検索",
"placeholder.find": "検索",
"placeholder.replace": "置換",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "折り曲げる範囲の背景色。基の装飾を隠さないように、色は不透明であってはなりません。",
"foldLevelAction.label": "レベル {0} で折りたたむ",
"foldRecursivelyAction.label": "再帰的に折りたたむ",
"gotoNextFold.label": "次のフォールドに移動する",
"gotoParentFold.label": "親フォールドに移動する",
"gotoPreviousFold.label": "前のフォールドに移動する",
"toggleFoldAction.label": "折りたたみの切り替え",
"unFoldRecursivelyAction.label": "再帰的に展開する",
"unfoldAction.label": "展開",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "問題 {0} / {1}",
"editorMarkerNavigationBackground": "エディターのマーカー ナビゲーション ウィジェットの背景。",
"editorMarkerNavigationError": "エディターのマーカー ナビゲーション ウィジェットのエラーの色。",
"editorMarkerNavigationErrorHeaderBackground": "エディターのマーカー ナビゲーション ウィジェット エラーの見出しの背景。",
"editorMarkerNavigationInfo": "エディターのマーカー ナビゲーション ウィジェットの情報の色。",
"editorMarkerNavigationInfoHeaderBackground": "エディターのマーカー ナビゲーション ウィジェット情報の見出しの背景。",
"editorMarkerNavigationWarning": "エディターのマーカー ナビゲーション ウィジェットの警告の色。",
"editorMarkerNavigationWarningBackground": "エディターのマーカー ナビゲーション ウィジェット警告の見出しの背景。",
"marker aria": "{0} ({1})。",
"problems": "{1} 件中 {0} 件の問題"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "同意する",
"inlineSuggestionFollows": "おすすめ:",
"showNextInlineSuggestion": "次へ",
"showPreviousInlineSuggestion": "前へ"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "キーの組み合わせ ({0}、{1}) はコマンドではありません。"
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "[Alt] を押すと、スクロール速度が倍増します。",
"Mouse Wheel Scroll Sensitivity": "マウス ホイール スクロール イベントの deltaX と deltaY で使用される乗数。",
"automatic keyboard navigation setting": "リストやツリーでのキーボード ナビゲーションを、単に入力するだけで自動的にトリガーするかどうかを制御します。`false` に設定した場合、キーボード ナビゲーションは `list.toggleKeyboardNavigation` コマンドを実行したときにのみトリガーされます。これに対してキーボード ショートカットを割り当てることができます。",
"expand mode": "フォルダー名をクリックしたときにツリー フォルダーが展開される方法を制御します。適用できない場合、一部のツリーやリストではこの設定が無視されることがあります。",
"horizontalScrolling setting": "リストとツリーがワークベンチで水平スクロールをサポートするかどうかを制御します。警告: この設定をオンにすると、パフォーマンスに影響があります。",
@ -1168,7 +1202,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"multiSelectModifier.alt": "Windows および Linux 上の `Alt` キーと macOS 上の `Option` キーに割り当てます。",
"multiSelectModifier.ctrlCmd": "Windows および Linux 上の `Control` キーと macOS 上の `Command` キーに割り当てます。",
"openModeModifier": "マウスを使用して、ツリーとリスト内の項目を開く方法を制御します (サポートされている場合)。適用できない場合、一部のツリーやリストではこの設定が無視されることがあります。",
"render tree indent guides": "ツリーでインデントのガイドを表示する必要があるかどうかを制御します。",
"render tree indent guides": "ツリーでインデントのガイドを表示するかどうかを制御します。",
"tree indent setting": "ツリーのインデントをピクセル単位で制御します。",
"workbenchConfigurationTitle": "ワークベンチ"
},

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "사용자가 여는 따옴표를 추가한 후 편집기에서 따옴표를 자동으로 닫을지 여부를 제어합니다.",
"autoIndent": "사용자가 줄을 입력, 붙여넣기, 이동 또는 들여쓰기 할 때 편집기에서 들여쓰기를 자동으로 조정하도록 할지 여부를 제어합니다.",
"autoSurround": "따옴표 또는 대괄호 입력 시 편집기가 자동으로 선택 영역을 둘러쌀지 여부를 제어합니다.",
"bracketPairColorization.enabled": "대괄호 쌍 색 지정이 활성화되었는지 여부를 제어합니다. 대괄호 강조 색상을 재정의하려면 'workbench.colorCustomizations'를 사용하세요.",
"codeActions": "편집기에서 코드 동작 전구를 사용하도록 설정합니다.",
"codeLens": "편집기에서 CodeLens를 표시할 것인지 여부를 제어합니다.",
"codeLensFontFamily": "CodeLens의 글꼴 패밀리를 제어합니다.",
@ -211,6 +212,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.find.autoFindInSelection.always": "선택 영역에서 찾기를 항상 자동으로 켭니다.",
"editor.find.autoFindInSelection.multiline": "여러 줄의 콘텐츠를 선택하면 선택 항목에서 찾기가 자동으로 켜집니다.",
"editor.find.autoFindInSelection.never": "선택 영역에서 찾기를 자동으로 켜지 않습니다(기본값).",
"editor.find.seedSearchStringFromSelection.always": "커서 위치의 단어를 포함하여 항상 편집기 선택 영역에서 검색 문자열을 시드합니다.",
"editor.find.seedSearchStringFromSelection.never": "편집기 선택 영역에서 검색 문자열을 시드하지 마세요.",
"editor.find.seedSearchStringFromSelection.selection": "편집기 선택 영역에서만 검색 문자열을 시드하세요.",
"editor.gotoLocation.multiple.deprecated": "이 설정은 더 이상 사용되지 않습니다. 대신 'editor.editor.gotoLocation.multipleDefinitions' 또는 'editor.editor.gotoLocation.multipleImplementations'와 같은 별도의 설정을 사용하세요.",
"editor.gotoLocation.multiple.goto": "기본 결과로 이동하고 다른 항목에 대해 peek 없는 탐색을 사용하도록 설정",
"editor.gotoLocation.multiple.gotoAndPeek": "기본 결과로 이동하여 Peek 보기를 표시합니다.",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "편집기 선택에서 Find Widget의 검색 문자열을 시딩할지 여부를 제어합니다.",
"folding": "편집기에 코드 접기가 사용하도록 설정되는지 여부를 제어합니다.",
"foldingHighlight": "편집기에서 접힌 범위를 강조 표시할지 여부를 제어합니다.",
"foldingImportsByDefault": "편집기에서 가져오기 범위를 자동으로 축소할지 여부를 제어합니다.",
"foldingStrategy": "접기 범위를 계산하기 위한 전략을 제어합니다.",
"foldingStrategy.auto": "사용 가능한 경우 언어별 접기 전략을 사용합니다. 그렇지 않은 경우 들여쓰기 기반 전략을 사용합니다.",
"foldingStrategy.indentation": "들여쓰기 기반 접기 전략을 사용합니다.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "호버 표시 여부를 제어합니다.",
"hover.sticky": "마우스를 해당 항목 위로 이동할 때 호버를 계속 표시할지 여부를 제어합니다.",
"inlayHints.enable": "편집기에서 인레이 힌트를 사용하도록 설정합니다.",
"inlayHints.fontFamily": "편집기에서 인레이 힌트의 글꼴 패밀리를 제어합니다.",
"inlayHints.fontFamily": "편집기에서 인레이 힌트의 글꼴 모음을 제어합니다. 공백으로 설정하면 `#editor.fontFamily#`가 사용됩니다.",
"inlayHints.fontSize": "편집기에서 인레이 힌트의 글꼴 크기를 제어합니다. `0`으로 설정하면 `#editor.fontSize#`의 90%가 사용됩니다.",
"inlineSuggest.enabled": "편집기에서 인라인 제안을 자동으로 표시할지 여부를 제어합니다.",
"inlineSuggest.mode": "인라인 제안을 렌더링하는 데 사용할 모드를 제어합니다.",
"inlineSuggest.mode.prefix": "바꾸기 텍스트가 삽입 텍스트의 접두사인 경우에만 인라인 제안을 렌더링합니다.",
"inlineSuggest.mode.subwordDiff": "바꾸기 텍스트가 삽입 텍스트의 하위 단어인 경우에만 인라인 제안을 렌더링합니다.",
"inlineSuggest.mode.subword": "바꾸기 텍스트가 삽입 텍스트의 하위 단어인 경우에만 인라인 제안을 렌더링합니다.",
"inlineSuggest.mode.subwordSmart": "대체 텍스트가 삽입 텍스트의 하위 단어인 경우에만 인라인 제안을 렌더링하지만 하위 단어는 커서 뒤에 시작해야 합니다.",
"letterSpacing": "문자 간격(픽셀)을 제어합니다.",
"lineHeight": "선 높이를 제어합니다. \r\n - 0을 사용하여 글꼴 크기에서 줄 높이를 자동으로 계산합니다.\r\n - 0에서 8 사이의 값은 글꼴 크기의 승수로 사용됩니다.\r\n - 8보다 값이 유효 값으로 사용됩니다.",
"lineHeight": "선 높이를 제어합니다. \r\n - 0을 사용하여 글꼴 크기에서 줄 높이를 자동으로 계산합니다.\r\n - 0에서 8 사이의 값은 글꼴 크기의 승수로 사용됩니다.\r\n - 8보다 크거나 같은 값이 유효 값으로 사용됩니다.",
"lineNumbers": "줄 번호의 표시 여부를 제어합니다.",
"lineNumbers.interval": "줄 번호는 매 10 줄마다 렌더링이 이루어집니다.",
"lineNumbers.off": "줄 번호는 렌더링되지 않습니다.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "편집기에서 가로로 스크롤되는 범위를 벗어나는 추가 문자의 수를 제어합니다.",
"scrollBeyondLastLine": "편집기에서 마지막 줄 이후로 스크롤할지 여부를 제어합니다.",
"scrollPredominantAxis": "세로와 가로로 동시에 스크롤할 때에만 주축을 따라서 스크롤합니다. 트랙패드에서 세로로 스크롤할 때 가로 드리프트를 방지합니다.",
"scrollbar.horizontal": "가로 스크롤 막대의 표시 유형을 제어합니다.",
"scrollbar.horizontal.auto": "가로 스크롤 막대는 필요한 경우에만 표시됩니다.",
"scrollbar.horizontal.fit": "가로 스크롤 막대를 항상 숨깁니다.",
"scrollbar.horizontal.visible": "가로 스크롤 막대가 항상 표시됩니다.",
"scrollbar.horizontalScrollbarSize": "가로 스크롤 막대의 높이입니다.",
"scrollbar.scrollByPage": "클릭이 페이지별로 스크롤되는지 또는 클릭 위치로 이동할지 여부를 제어합니다.",
"scrollbar.vertical": "세로 스크롤 막대의 표시 유형을 제어합니다.",
"scrollbar.vertical.auto": "세로 스크롤 막대는 필요한 경우에만 표시됩니다.",
"scrollbar.vertical.fit": "세로 스크롤 막대를 항상 숨깁니다.",
"scrollbar.vertical.visible": "세로 스크롤 막대가 항상 표시됩니다.",
"scrollbar.verticalScrollbarSize": "세로 스크롤 막대의 너비입니다.",
"selectLeadingAndTrailingWhitespace": "선행 및 후행 공백을 항상 선택해야 하는지 여부입니다.",
"selectionClipboard": "Linux 주 클립보드의 지원 여부를 제어합니다.",
"selectionHighlight": "편집기가 선택 항목과 유사한 일치 항목을 강조 표시해야하는지 여부를 제어합니다.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "편집기에서 제안 결과를 미리볼지 여부를 제어합니다.",
"suggest.previewMode": "제안 미리 보기를 렌더링하는 데 사용할 모드를 제어합니다.",
"suggest.previewMode.prefix": "바꾸기 텍스트가 삽입 텍스트의 접두사인 경우에만 미리 보기를 렌더링합니다.",
"suggest.previewMode.subwordDiff": "바꾸기 텍스트가 삽입 텍스트의 하위 단어인 경우에만 미리 보기를 렌더링합니다.",
"suggest.previewMode.subword": "바꾸기 텍스트가 삽입 텍스트의 하위 단어인 경우에만 미리 보기를 렌더링합니다.",
"suggest.previewMode.subwordSmart": "대체 텍스트가 삽입 텍스트의 하위 단어이거나 삽입 텍스트의 접두사인 경우 미리 보기를 렌더링합니다.",
"suggest.shareSuggestSelections": "저장된 제안 사항 선택 항목을 여러 작업 영역 및 창에서 공유할 것인지 여부를 제어합니다(`#editor.suggestSelection#` 필요).",
"suggest.showIcons": "제안의 아이콘을 표시할지 여부를 제어합니다.",
"suggest.showInlineDetails": "제안 세부 정보가 레이블과 함께 인라인에 표시되는지 아니면 세부 정보 위젯에만 표시되는지를 제어합니다.",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "ID는 사용되지 않습니다. 대신 'editorLineNumber.activeForeground'를 사용하세요.",
"editorActiveIndentGuide": "활성 편집기 들여쓰기 안내선 색입니다.",
"editorActiveLineNumber": "편집기 활성 영역 줄번호 색상",
"editorBracketHighlightForeground1": "대괄호의 전경색(1)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightForeground2": "대괄호의 전경색(2)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightForeground3": "대괄호의 전경색(3)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightForeground4": "대괄호의 전경색(4)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightForeground5": "대괄호의 전경색(5)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightForeground6": "대괄호의 전경색(6)입니다. 대괄호 쌍 색 지정을 사용하도록 설정해야 합니다.",
"editorBracketHighlightUnexpectedBracketForeground": "예기치 않은 대괄호의 전경색입니다.",
"editorBracketMatchBackground": "일치하는 괄호 뒤의 배경색",
"editorBracketMatchBorder": "일치하는 브래킷 박스의 색상",
"editorCodeLensForeground": "편집기 코드 렌즈의 전경색입니다.",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "소스 작업..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "수정 사항을 표시합니다. 사용 가능한 기본 수정({0})",
"quickFix": "수정 사항 표시",
"quickFixWithKb": "수정 사항 표시({0})"
"codeAction": "코드 작업 표시",
"codeActionWithKb": "코드 작업 표시({0})",
"preferredcodeActionWithKb": "코드 작업 표시. 기본 설정 빠른 수정 사용 가능({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "현재 줄에 대한 코드 렌즈 명령 표시"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "닫기",
"label.find": "찾기",
"label.matchesLocation": "{1}의 {0}",
"label.nextMatchButton": "다음 일치 항목",
"label.nextMatchButton": "다음 검색 결과",
"label.noResults": "결과 없음",
"label.previousMatchButton": "이전 일치",
"label.previousMatchButton": "이전 검색 결과",
"label.replace": "바꾸기",
"label.replaceAllButton": "모두 바꾸기",
"label.replaceButton": "바꾸기",
"label.toggleReplaceButton": "바꾸기 모드 설정/해제",
"label.toggleReplaceButton": "바꾸기 설정/해제",
"label.toggleSelectionFind": "선택 항목에서 찾기",
"placeholder.find": "찾기",
"placeholder.replace": "바꾸기",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "접힌 범위의 배경색입니다. 색은 기본 장식을 숨기지 않기 위해 불투명해서는 안 됩니다.",
"foldLevelAction.label": "수준 {0} 접기",
"foldRecursivelyAction.label": "재귀적으로 접기",
"gotoNextFold.label": "다음 폴딩으로 이동",
"gotoParentFold.label": "부모 폴딩으로 이동",
"gotoPreviousFold.label": "이전 폴딩으로 이동",
"toggleFoldAction.label": "접기 전환",
"unFoldRecursivelyAction.label": "재귀적으로 펼치기",
"unfoldAction.label": "펼치기",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "문제 {1}개 중 {0}개",
"editorMarkerNavigationBackground": "편집기 표식 탐색 위젯 배경입니다.",
"editorMarkerNavigationError": "편집기 표식 탐색 위젯 오류 색입니다.",
"editorMarkerNavigationErrorHeaderBackground": "편집기 마커 탐색 위젯 오류 제목 배경.",
"editorMarkerNavigationInfo": "편집기 표식 탐색 위젯 정보 색입니다.",
"editorMarkerNavigationInfoHeaderBackground": "편집기 마커 탐색 위젯 정보 제목 배경.",
"editorMarkerNavigationWarning": "편집기 표식 탐색 위젯 경고 색입니다.",
"editorMarkerNavigationWarningBackground": "편집기 마커 탐색 위젯 경고 제목 배경.",
"marker aria": "{1}의 {0}입니다. ",
"problems": "문제 {1}개 중 {0}개"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "수락",
"inlineSuggestionFollows": "제안:",
"showNextInlineSuggestion": "다음",
"showPreviousInlineSuggestion": "이전"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "키 조합({0}, {1})은 명령이 아닙니다."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Alt 키를 누를 때 스크롤 속도 승수입니다.",
"Mouse Wheel Scroll Sensitivity": "마우스 휠 스크롤 이벤트의 deltaX 및 deltaY에서 사용할 승수입니다.",
"automatic keyboard navigation setting": "목록 및 트리에서 키보드 탐색이 입력만으로 자동 트리거되는지 여부를 제어합니다. 'false'로 설정하면 'list.toggleKeyboardNavigation' 명령을 실행할 때만 키보드 탐색이 트리거되어 바로 가기 키를 할당할 수 있습니다.",
"expand mode": "폴더 이름을 클릭할 때 트리 폴더가 확장되는 방법을 제어합니다. 일부 트리와 목록에서는 이 설정을 적용할 수 없는 경우 무시하도록 선택할 수 있습니다.",
"horizontalScrolling setting": "워크벤치에서 목록 및 트리의 가로 스크롤 여부를 제어합니다. 경고: 이 설정을 켜면 성능에 영향을 미칩니다.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Określa, czy edytor ma automatycznie zamykać cudzysłowy po dodaniu przez użytkownika cudzysłowu otwierającego.",
"autoIndent": "Określa, czy edytor powinien automatycznie dostosowywać wcięcie, gdy użytkownik wpisuje, wkleja, przenosi lub wcina wiersze.",
"autoSurround": "Określa, czy edytor ma automatycznie otaczać zaznaczenia podczas wpisywania cudzysłowów lub nawiasów.",
"bracketPairColorization.enabled": "Określa, czy kolorowanie par nawiasów jest włączone. Użyj ustawień „workbench.colorCustomizations”, aby zastąpić kolory wyróżnienia nawiasu.",
"codeActions": "Włącza żarówkę akcji kodu w edytorze.",
"codeLens": "Określa, czy w edytorze są wyświetlane wskaźniki CodeLens.",
"codeLensFontFamily": "Określa rodziną czcionek dla funkcji CodeLens.",
@ -211,6 +212,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.find.autoFindInSelection.always": "Zawsze automatycznie włączaj opcję Znajdź w zaznaczeniu.",
"editor.find.autoFindInSelection.multiline": "Włączaj opcję Znajdź w zaznaczeniu automatycznie po zaznaczeniu wielu wierszy zawartości.",
"editor.find.autoFindInSelection.never": "Nigdy nie włączaj automatycznie opcji Znajdź w zaznaczeniu (ustawienie domyślne).",
"editor.find.seedSearchStringFromSelection.always": "Zawsze inicjuj ciąg wyszukiwania z zaznaczenia edytora, w tym wyraz w położeniu kursora.",
"editor.find.seedSearchStringFromSelection.never": "Nigdy nie inicjuj ciągu wyszukiwania z zaznaczenia edytora.",
"editor.find.seedSearchStringFromSelection.selection": "Inicjuj tylko ciąg wyszukiwania z zaznaczenia edytora.",
"editor.gotoLocation.multiple.deprecated": "To ustawienie jest przestarzałe, zamiast tego użyj oddzielnych ustawień, takich jak „editor.editor.gotoLocation.multipleDefinitions” lub „editor.editor.gotoLocation.multipleImplementations”.",
"editor.gotoLocation.multiple.goto": "Przejdź do wyniku podstawowego i włącz nawigację bez wglądu do innych",
"editor.gotoLocation.multiple.gotoAndPeek": "Przejdź do wyniku podstawowego i pokaż widok wglądu",
@ -255,6 +259,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"find.seedSearchStringFromSelection": "Określa, czy ciąg wyszukiwania w widgecie Znajdź jest inicjowany z zaznaczenia w edytorze.",
"folding": "Określa, czy w edytorze jest włączone składanie kodu.",
"foldingHighlight": "Określa, czy edytor ma wyróżniać złożone zakresy.",
"foldingImportsByDefault": "Kontroluje, czy edytor automatycznie zwija zakresy importu.",
"foldingStrategy": "Określa strategię obliczania zakresów składania.",
"foldingStrategy.auto": "Użyj strategii składania specyficznej dla języka, jeśli jest dostępna, w przeciwnym razie użyj strategii na podstawie wcięcia.",
"foldingStrategy.indentation": "Użyj strategii składania opartej na wcięciach.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Określa, czy aktywowanie ma być pokazywane.",
"hover.sticky": "Określa, czy aktywowanie powinno pozostać widoczne, gdy wskaźnik myszy zostanie nad nim przesunięty.",
"inlayHints.enable": "Włącza podpowiedzi śródwierszowe w edytorze.",
"inlayHints.fontFamily": "Kontroluje rodzinę czcionek w podpowiedziach śródwierszowych w edytorze.",
"inlayHints.fontFamily": "Kontroluje rodzinę czcionek w podpowiedziach dotyczących wkładek w edytorze. Po ustawieniu wartości pustej jest używany plik \"#editor.fontSize#\".",
"inlayHints.fontSize": "Kontroluje rozmiar czcionki w podpowiedziach śródwierszowych w edytorze. W przypadku ustawienia na wartość \"0\" używane jest 90% wartości \"#editor.fontSize#\".",
"inlineSuggest.enabled": "Określa, czy automatycznie wyświetlać wbudowane sugestie w edytorze.",
"inlineSuggest.mode": "Określa, który tryb ma być używany do renderowania sugestii wbudowanych.",
"inlineSuggest.mode.prefix": "Renderuj tylko wbudowaną sugestię, jeśli tekst zastępujący jest prefiksem tekstu wstawiania.",
"inlineSuggest.mode.subwordDiff": "Renderuj tylko wbudowaną sugestię, jeśli tekst zastępujący jest słowem podrzędnym tekstu wstawiania.",
"inlineSuggest.mode.subword": "Renderuj tylko wbudowaną sugestię, jeśli tekst zastępujący jest słowem podrzędnym tekstu wstawiania.",
"inlineSuggest.mode.subwordSmart": "Renderuj tylko sugestię śródwierszową, jeśli tekst zastępujący jest słowem podrzędnym tekstu wstawiania, ale słowo podrzędne musi zaczynać się po kursorze.",
"letterSpacing": "Określa odstępy liter w pikselach.",
"lineHeight": "Steruje wysokością linii. \r\n — użyj wartości 0, aby automatycznie obliczyć wysokość linii na podstawie rozmiaru czcionki.\r\n — wartości z zakresu od 0 do 8 będą używane jako mnożnik z rozmiarem czcionki.\r\n — wartości większe niż 8 będą używane jako wartości efektywne.",
"lineHeight": "Kontroluje wysokość linii. \r\n — użyj wartości 0, aby automatycznie obliczyć wysokość linii na podstawie rozmiaru czcionki.\r\n — wartości w przedziale od 0 do 8 będą używane jako mnożnik z rozmiarem czcionki.\r\n — wartości większe lub równe 8 będą używane jako wartości rzeczywiste.",
"lineNumbers": "Steruje wyświetlaniem numerów wierszy.",
"lineNumbers.interval": "Numery wierszy są renderowane co 10 wierszy.",
"lineNumbers.off": "Numery wierszy nie są renderowane.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Określa liczbę dodatkowych znaków, po których edytor będzie przewijany w poziomie.",
"scrollBeyondLastLine": "Określa, czy edytor umożliwia przewijanie poza ostatni wiersz.",
"scrollPredominantAxis": "Przewijanie tylko wzdłuż dominującej osi, gdy przewijasz jednocześnie w pionie i w poziomie. Zapobiega poziomemu dryfowi podczas przewijania pionowego na gładziku.",
"scrollbar.horizontal": "Kontroluje widoczność poziomego paska przewijania.",
"scrollbar.horizontal.auto": "Poziomy pasek przewijania będzie widoczny tylko wtedy, gdy jest to konieczne.",
"scrollbar.horizontal.fit": "Poziomy pasek przewijania będzie zawsze ukryty.",
"scrollbar.horizontal.visible": "Poziomy pasek przewijania będzie zawsze widoczny.",
"scrollbar.horizontalScrollbarSize": "Wysokość poziomego paska przewijania.",
"scrollbar.scrollByPage": "Kontroluje, czy kliknięcia powodują przewijanie stron czy przeskok do miejsca kliknięcia.",
"scrollbar.vertical": "Kontroluje widoczność pionowego paska przewijania.",
"scrollbar.vertical.auto": "Pionowy pasek przewijania będzie widoczny tylko wtedy, gdy jest to konieczne.",
"scrollbar.vertical.fit": "Pionowy pasek przewijania będzie zawsze ukryty.",
"scrollbar.vertical.visible": "Pionowy pasek przewijania będzie zawsze widoczny.",
"scrollbar.verticalScrollbarSize": "Szerokość pionowego paska przewijania.",
"selectLeadingAndTrailingWhitespace": "Czy biały znak na początku i na końcu powinien być zawsze wybierany.",
"selectionClipboard": "Określa, czy podstawowy schowek systemu Linux powinien być obsługiwany.",
"selectionHighlight": "Określa, czy edytor powinien wyróżniać dopasowania podobne do zaznaczenia.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Kontroluje, czy ma być dostępny podgląd wyników sugestii w edytorze.",
"suggest.previewMode": "Określa, który tryb ma być używany do renderowania podglądu sugestii.",
"suggest.previewMode.prefix": "Podgląd jest renderowany tylko wtedy, gdy prefiks jest podrzędny do tekstu wstawiania.",
"suggest.previewMode.subwordDiff": "Podgląd jest renderowany tylko wtedy, gdy tekst zamiany jest podrzędny do tekstu wstawiania.",
"suggest.previewMode.subword": "Podgląd jest renderowany tylko wtedy, gdy tekst zamiany jest podrzędny do tekstu wstawiania.",
"suggest.previewMode.subwordSmart": "Renderuj podgląd, jeśli tekst zastępujący jest słowem podrzędnym tekstu wstawiania lub jeśli jest prefiksem tekstu wstawiania.",
"suggest.shareSuggestSelections": "Określa, czy zapamiętane wybory sugestii są współużytkowane przez wiele obszarów roboczych i okien (wymaga ustawienia „#editor.suggestSelection#”).",
"suggest.showIcons": "Określa, czy ikony mają być pokazywane, czy ukrywane w sugestiach.",
"suggest.showInlineDetails": "Określa, czy szczegóły sugestii mają być wyświetlane śródwierszowo z etykietą, czy tylko w widżecie szczegółów",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Identyfikator jest przestarzały. Zamiast tego użyj właściwości „editorLineNumber.activeForeground”.",
"editorActiveIndentGuide": "Kolor aktywnych prowadnic wcięć edytora.",
"editorActiveLineNumber": "Kolor aktywnego numeru wiersza edytora",
"editorBracketHighlightForeground1": "Kolor pierwszego planu nawiasów (1). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightForeground2": "Kolor pierwszego planu nawiasów (2). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightForeground3": "Kolor pierwszego planu nawiasów (3). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightForeground4": "Kolor pierwszego planu nawiasów (4). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightForeground5": "Kolor pierwszego planu nawiasów (5). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightForeground6": "Kolor pierwszego planu nawiasów (6). Wymaga włączenia kolorowania pary nawiasów.",
"editorBracketHighlightUnexpectedBracketForeground": "Kolor pierwszego planu nieoczekiwanych nawiasów kwadratowych.",
"editorBracketMatchBackground": "Kolor tła za pasującymi nawiasami",
"editorBracketMatchBorder": "Kolor pól pasujących nawiasów",
"editorCodeLensForeground": "Kolor pierwszego planu wskaźników CodeLens edytora",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Akcja źródłowa..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Pokaż poprawki. Preferowana poprawka jest dostępna ({0})",
"quickFix": "Pokaż poprawki",
"quickFixWithKb": "Pokaż poprawki ({0})"
"codeAction": "Pokaż akcje kodu",
"codeActionWithKb": "Pokaż akcje kodu ({0})",
"preferredcodeActionWithKb": "Pokaż akcje kodu. Preferowana szybka poprawka jest dostępna ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Pokaż polecenia CodeLens dla bieżącego wiersza"
@ -628,7 +653,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.replace": "Zamień",
"label.replaceAllButton": "Zamień wszystko",
"label.replaceButton": "Zamień",
"label.toggleReplaceButton": "Przełącz tryb zamiany",
"label.toggleReplaceButton": "Przełącz zastępowanie",
"label.toggleSelectionFind": "Znajdź w zaznaczeniu",
"placeholder.find": "Znajdź",
"placeholder.replace": "Zamień",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Kolor tła za złożonym zakresami. Kolor nie może być nieprzezroczysty, aby nie ukrywać podstawowych dekoracji.",
"foldLevelAction.label": "Poziom składania {0}",
"foldRecursivelyAction.label": "Składaj cyklicznie",
"gotoNextFold.label": "Przejdź do następnego składania",
"gotoParentFold.label": "Przeskocz do składania nadrzędnego",
"gotoPreviousFold.label": "Przejdź do poprzedniego składania",
"toggleFoldAction.label": "Przełącz złożenie",
"unFoldRecursivelyAction.label": "Rozłóż rekursywnie",
"unfoldAction.label": "Rozłóż",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} z {1} problemu",
"editorMarkerNavigationBackground": "Tło widgetu nawigacji po znacznikach w edytorze.",
"editorMarkerNavigationError": "Kolor błędu widgetu nawigacji po znacznikach w edytorze.",
"editorMarkerNavigationErrorHeaderBackground": "Tło nagłówka błędów dla widżetu nawigowania po znacznikach w edytorze.",
"editorMarkerNavigationInfo": "Kolor informacji widgetu nawigacji po znacznikach w edytorze.",
"editorMarkerNavigationInfoHeaderBackground": "Tło nagłówka informacji dla widżetu nawigowania po znacznikach w edytorze.",
"editorMarkerNavigationWarning": "Kolor ostrzeżenia widgetu nawigacji po znacznikach w edytorze.",
"editorMarkerNavigationWarningBackground": "Tło nagłówka ostrzeżeń dla widżetu nawigowania po znacznikach w edytorze.",
"marker aria": "{0} w {1}. ",
"problems": "{0} z {1} problemów"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Akceptuj",
"inlineSuggestionFollows": "Sugestia:",
"showNextInlineSuggestion": "Następne",
"showPreviousInlineSuggestion": "Poprzednie"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "Kombinacja klawiszy ({0}, {1}) nie jest poleceniem."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Mnożnik szybkości przewijania po naciśnięciu klawisza Alt.",
"Mouse Wheel Scroll Sensitivity": "Mnożnik do użycia w zdarzeniach przewijania deltaX i deltaY kółka myszy.",
"automatic keyboard navigation setting": "Kontroluje, czy nawigacja za pomocą klawiatury w listach i drzewach jest automatycznie wyzwalana przez rozpoczęcie pisania. Jeśli ustawiono wartość „false”, nawigacja za pomocą klawiatury jest wyzwalana tylko przez wykonanie polecenia „list.toggleKeyboardNavigation”, do którego można przypisać skrót klawiaturowy.",
"expand mode": "Określa, w jaki sposób foldery drzewiaste są rozwijane po kliknięciu nazw folderów. Pamiętaj, że niektóre drzewa i listy mogą ignorować to ustawienie, jeśli nie ma zastosowania.",
"horizontalScrolling setting": "Kontroluje, czy listy i drzewa obsługują przewijanie w poziomie w środowisku roboczym. Ostrzeżenie: włączenie tego ustawienia wpływa na wydajność.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Controla se o editor deverá fechar as aspas automaticamente depois que o usuário adicionar aspas de abertura.",
"autoIndent": "Controla se o editor deve ajustar automaticamente o recuo quando os usuários digitam, colam, movem ou recuam linhas.",
"autoSurround": "Controla se o editor deve envolver as seleções automaticamente.",
"bracketPairColorization.enabled": "Controla se a colorização do par de colchetes está habilitada ou não. Use 'workbench.colorCustomizations' para substituir as cores de realce de colchetes.",
"codeActions": "Habilita a lâmpada de ação do código no editor.",
"codeLens": "Controla se o editor mostra CodeLens.",
"codeLensFontFamily": "Controla a família de fontes do CodeLens.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Controla o comportamento do comando 'Go to Implementations' quando há vários locais de destino.",
"editor.editor.gotoLocation.multipleReferences": "Controla o comportamento do comando 'Go to References' quando há vários locais de destino.",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Controla o comportamento do comando 'Go to Type Definition' quando há vários locais de destino.",
"editor.find.autoFindInSelection.always": "Sempre ativar a opção Localizar na seleção automaticamente.",
"editor.find.autoFindInSelection.multiline": "Ativar Localizar na seleção automaticamente quando várias linhas de conteúdo forem selecionadas.",
"editor.find.autoFindInSelection.never": "Nunca ativar a opção Localizar na seleção automaticamente (padrão).",
"editor.find.autoFindInSelection.always": "Sempre ativar Localizar na seleção automaticamente.",
"editor.find.autoFindInSelection.multiline": "Ative Localizar na Seleção automaticamente quando várias linhas de conteúdo forem selecionadas.",
"editor.find.autoFindInSelection.never": "Nunca ativar Localizar na seleção automaticamente (padrão).",
"editor.find.seedSearchStringFromSelection.always": "Sempre propague a cadeia de caracteres de pesquisa da seleção do editor, incluindo a palavra na posição do cursor.",
"editor.find.seedSearchStringFromSelection.never": "Nunca propagar a cadeia de caracteres da pesquisa da seleção do editor.",
"editor.find.seedSearchStringFromSelection.selection": "Somente propagar a cadeia de caracteres da pesquisa da seleção do editor.",
"editor.gotoLocation.multiple.deprecated": "Essa configuração foi preterida. Use configurações separadas como 'editor.editor.gotoLocation.multipleDefinitions' ou 'editor.editor.gotoLocation.multipleImplementations'.",
"editor.gotoLocation.multiple.goto": "Ir para o resultado primário e habilitar a navegação sem espiada para outros",
"editor.gotoLocation.multiple.gotoAndPeek": "Ir para o resultado primário e mostrar uma exibição com espiada",
@ -248,13 +252,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"emptySelectionClipboard": "Controla se a cópia sem uma seleção copia a linha atual.",
"fastScrollSensitivity": "Multiplicador de velocidade de rolagem ao pressionar `Alt`.",
"find.addExtraSpaceOnTop": "Controla se Localizar Widget deve adicionar linhas extras na parte superior do editor. Quando true, você poderá rolar para além da primeira linha quando Localizar Widget estiver visível.",
"find.autoFindInSelection": "Controla a condição para ativar a localização na seleção automaticamente.",
"find.autoFindInSelection": "Controla automaticamente a condição para habilitar a Localização na Seleção.",
"find.cursorMoveOnType": "Controla se o cursor deve ir para a localização de correspondências durante a digitação.",
"find.globalFindClipboard": "Controla se Localizar Widget deve ler ou modificar a área de transferência de localização compartilhada no macOS.",
"find.loop": "Controla se a pesquisa é reiniciada automaticamente do início (ou do fim) quando nenhuma correspondência adicional é encontrada.",
"find.seedSearchStringFromSelection": "Controla se a cadeia de caracteres de pesquisa em Localizar Widget é propagada da seleção do editor.",
"folding": "Controla se o editor tem a dobragem de código habilitada.",
"foldingHighlight": "Controla se o editor deve realçar intervalos dobrados.",
"foldingImportsByDefault": "Controla se o editor recolhe automaticamente os intervalos de importação.",
"foldingStrategy": "Controla a estratégia para os intervalos de dobragem de computação.",
"foldingStrategy.auto": "Usar uma estratégia de dobragem específica a um idioma, se disponível, senão usar uma baseada em recuo.",
"foldingStrategy.indentation": "Usar a estratégia de dobragem baseada em recuo.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Controla se o foco é mostrado.",
"hover.sticky": "Controla se o foco deve permanecer visível quando o mouse é movido sobre ele.",
"inlayHints.enable": "Habilita as dicas embutidas no editor.",
"inlayHints.fontFamily": "Controla a família de fontes das dicas embutidas no editor.",
"inlayHints.fontFamily": "Controla a família de fontes de dicas de incrustações no editor. Quando definido como vazio, o `#editor.fontFamily#` é usado.",
"inlayHints.fontSize": "Controla o tamanho da fonte das dicas embutidas no editor. Quando esta configuração é definida como `0`, os 90% do `#editor.fontSize#` são usados.",
"inlineSuggest.enabled": "Controla se quer mostrar automaticamente sugestões em linha no editor.",
"inlineSuggest.mode": "Controla qual modo usar para renderizar a visualização da sugestão.",
"inlineSuggest.mode.prefix": "Só renderize uma sugestão embutida se o texto de substituição for um prefixo do texto de inserção.",
"inlineSuggest.mode.subwordDiff": "Só renderize uma sugestão embutida se o texto de substituição for uma subpalavra do texto de inserção.",
"inlineSuggest.mode.subword": "Só renderize uma sugestão embutida se o texto de substituição for uma subpalavra do texto de inserção.",
"inlineSuggest.mode.subwordSmart": "Somente renderize uma sugestão embutida se o texto de substituição for uma subpalavra do texto inserido, mas a subpalavra deve iniciar após o cursor.",
"letterSpacing": "Controla o espaçamento de letras em pixels.",
"lineHeight": "Controla a altura da linha. \r\n - Use 0 para calcular automaticamente a altura da linha a partir do tamanho da fonte. \r\n - Valores entre 0 e 8 serão usados como um multiplicador com o tamanho da fonte.\r\n - Valores maiores que 8 serão usados como efetivos valores.",
"lineHeight": "Controla a altura da linha. \r\n - Use 0 para calcular automaticamente a altura da linha do tamanho da fonte.\r\n - Os valores entre 0 e 8 serão usados como um multiplicador com o tamanho da fonte.\r\n - Valores maiores ou iguais a 8 serão usados como valores efetivos.",
"lineNumbers": "Controla a exibição de números de linha.",
"lineNumbers.interval": "Os números de linha são renderizados a cada dez linhas.",
"lineNumbers.off": "Os números de linha não são renderizados.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Controla o número de caracteres extras acima do qual o editor será rolado horizontalmente.",
"scrollBeyondLastLine": "Controla se o editor será rolado para além da última linha.",
"scrollPredominantAxis": "Rolar apenas ao longo do eixo predominante ao rolar vertical e horizontalmente ao mesmo tempo. Evita o descompasso horizontal ao rolar verticalmente em um trackpad.",
"scrollbar.horizontal": "Controla a visibilidade da barra de rolagem horizontal.",
"scrollbar.horizontal.auto": "A barra de rolagem horizontal estará visível somente quando necessário.",
"scrollbar.horizontal.fit": "A barra de rolagem horizontal sempre estará oculta.",
"scrollbar.horizontal.visible": "A barra de rolagem horizontal sempre estará visível.",
"scrollbar.horizontalScrollbarSize": "A altura da barra de rolagem horizontal.",
"scrollbar.scrollByPage": "Controla se os cliques rolam por página ou saltam para a posição do clique.",
"scrollbar.vertical": "Controla a visibilidade da barra de rolagem vertical.",
"scrollbar.vertical.auto": "A barra de rolagem vertical estará visível somente quando necessário.",
"scrollbar.vertical.fit": "A barra de rolagem vertical sempre estará oculta.",
"scrollbar.vertical.visible": "A barra de rolagem vertical sempre estará visível.",
"scrollbar.verticalScrollbarSize": "A largura da barra de rolagem vertical.",
"selectLeadingAndTrailingWhitespace": "Se os espaços em branco à direita e à esquerda sempre devem ser selecionados.",
"selectionClipboard": "Controla se a área de transferência primária do Linux deve ser compatível.",
"selectionHighlight": "Controla se o editor deve realçar correspondências semelhantes à seleção.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Controla se a visualização do resultado da sugestão é apresentada no editor.",
"suggest.previewMode": "Controla qual modo usar para renderizar a visualização da sugestão.",
"suggest.previewMode.prefix": "Só renderize uma prévia se o texto de substituição for um prefixo do texto de inserção.",
"suggest.previewMode.subwordDiff": "Só renderize uma prévia se o texto de substituição for uma subpalavra do texto de inserção.",
"suggest.previewMode.subword": "Só renderize uma prévia se o texto de substituição for uma subpalavra do texto de inserção.",
"suggest.previewMode.subwordSmart": "Renderize uma visualização se o texto de substituição for uma subpalavra do texto inserido ou se for um prefixo do texto inserido.",
"suggest.shareSuggestSelections": "Controla se as seleções de sugestão lembradas são compartilhadas entre vários workspaces e janelas (precisa de `#editor.suggestSelection#`).",
"suggest.showIcons": "Controla se os ícones em sugestões devem ser mostrados ou ocultados.",
"suggest.showInlineDetails": "Controla se os detalhes da sugestão são mostrados embutidos com o rótulo ou somente no widget de detalhes",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "A ID foi preterida. Use 'editorLineNumber.activeForeground'.",
"editorActiveIndentGuide": "Cor dos guias de recuo do editor ativo.",
"editorActiveLineNumber": "Cor do número da linha ativa do editor",
"editorBracketHighlightForeground1": "Cor do primeiro plano dos colchetes (1). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightForeground2": "Cor do primeiro plano dos colchetes (2). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightForeground3": "Cor do primeiro plano dos colchetes (3). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightForeground4": "Cor do primeiro plano dos colchetes (4). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightForeground5": "Cor do primeiro plano dos colchetes (5). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightForeground6": "Cor do primeiro plano dos colchetes (6). Requer a habilitação da colorização do par de colchetes.",
"editorBracketHighlightUnexpectedBracketForeground": "Cor do primeiro plano de colchetes inesperados.",
"editorBracketMatchBackground": "Cor da tela de fundo atrás dos colchetes correspondentes",
"editorBracketMatchBorder": "Cor das caixas de colchetes correspondentes",
"editorCodeLensForeground": "Cor de primeiro plano do editor CodeLens",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Ação de Origem..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Mostrar Correções. Correção Preferencial Disponível ({0})",
"quickFix": "Mostrar Correções",
"quickFixWithKb": "Mostrar Correções ({0})"
"codeAction": "Mostrar as Ações do Código",
"codeActionWithKb": "Mostrar as Ações do Código ({0})",
"preferredcodeActionWithKb": "Mostrar as Ações do Código. Correção Rápida Preferencial Disponível ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Mostrar Comandos do CodeLens para a Linha Atual"
@ -622,14 +647,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Fechar",
"label.find": "Localizar",
"label.matchesLocation": "{0} de {1}",
"label.nextMatchButton": "Próxima correspondência",
"label.nextMatchButton": "Próxima Correspondência",
"label.noResults": "Nenhum resultado",
"label.previousMatchButton": "Correspondência anterior",
"label.previousMatchButton": "Correspondência Anterior",
"label.replace": "Substituir",
"label.replaceAllButton": "Substituir Tudo",
"label.replaceButton": "Substituir",
"label.toggleReplaceButton": "Ativar/Desativar o Modo de substituição",
"label.toggleSelectionFind": "Localizar na seleção",
"label.toggleReplaceButton": "Ativar/Desativar a Substituição",
"label.toggleSelectionFind": "Encontrar na Seleção",
"placeholder.find": "Localizar",
"placeholder.replace": "Substituir",
"title.matchesCountLimit": "Somente os primeiros {0} resultados serão realçados, mas todas as operações de localização funcionarão em todo o texto."
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Cor da tela de fundo atrás dos intervalos dobrados. A cor não deve ser opaca para não ocultar decorações subjacentes.",
"foldLevelAction.label": "Nível de Dobra {0}",
"foldRecursivelyAction.label": "Dobrar Recursivamente",
"gotoNextFold.label": "Acessar Próxima Dobra",
"gotoParentFold.label": "Acessar Dobra Pai",
"gotoPreviousFold.label": "Acessar Dobra Anterior",
"toggleFoldAction.label": "Ativar/Desativar Dobra",
"unFoldRecursivelyAction.label": "Desdobrar Recursivamente",
"unfoldAction.label": "Desdobrar",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} de {1} problema",
"editorMarkerNavigationBackground": "Tela de fundo do widget de navegação do marcador do editor.",
"editorMarkerNavigationError": "Cor do erro do widget de navegação do marcador do editor.",
"editorMarkerNavigationErrorHeaderBackground": "Plano de fundo do cabeçalho de erro do widget de navegação do marcador do editor.",
"editorMarkerNavigationInfo": "Cor das informações do widget de navegação do marcador do editor.",
"editorMarkerNavigationInfoHeaderBackground": "Plano de fundo do cabeçalho de informação do widget de navegação do marcador do editor.",
"editorMarkerNavigationWarning": "Cor do aviso do widget de navegação do marcador do editor.",
"editorMarkerNavigationWarningBackground": "Plano de fundo do cabeçalho de aviso do widget de navegação do marcador do editor.",
"marker aria": "{0} em {1}.",
"problems": "{0} de {1} problemas"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Aceitar",
"inlineSuggestionFollows": "Sugestão:",
"showNextInlineSuggestion": "Próximo",
"showPreviousInlineSuggestion": "Anterior"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "A combinação de teclas ({0}, {1}) não é um comando."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Multiplicador de velocidade de rolagem ao pressionar Alt.",
"Mouse Wheel Scroll Sensitivity": "Um multiplicador a ser usado no deltaX e deltaY dos eventos de rolagem da roda do mouse.",
"automatic keyboard navigation setting": "Controla se a navegação pelo teclado em listas e árvores é disparada automaticamente ao digitar. Se definida como `false`, a navegação pelo teclado é disparada apenas ao executar o comando `list.toggleKeyboardNavigation`, ao qual você pode atribuir um atalho de teclado.",
"expand mode": "Controla como as pastas de árvore são expandidas ao clicar nos nomes das pastas. Observe que algumas árvores e listas poderão optar por ignorar essa configuração se ela não for aplicável.",
"horizontalScrolling setting": "Controla se as listas e árvores dão suporte à rolagem horizontal no workbench. Aviso: a ativação desta configuração tem uma implicação de desempenho.",

File diff suppressed because it is too large Load Diff

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Определяет, должен ли редактор автоматически закрывать кавычки, если пользователь добавил открывающую кавычку.",
"autoIndent": "Определяет, должен ли редактор автоматически изменять отступы, когда пользователи вводят, вставляют или перемещают текст или изменяют отступы строк.",
"autoSurround": "Определяет, должен ли редактор автоматически обрамлять выделения при вводе кавычек или квадратных скобок.",
"bracketPairColorization.enabled": "Активирует раскраску парных скобок. Переопределить цвета выделения скобок можно с помощью \"workbench.colorCustomizations\".",
"codeActions": "Включает индикатор действия кода в редакторе.",
"codeLens": "Определяет, отображается ли CodeLens в редакторе.",
"codeLensFontFamily": "Управляет семейством шрифтов для CodeLens.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Управляет поведением команды \"Перейти к реализациям\" при наличии нескольких целевых расположений.",
"editor.editor.gotoLocation.multipleReferences": "Управляет поведением команды \"Перейти к ссылкам\" при наличии нескольких целевых расположений.",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Управляет поведением команды \"Перейти к определению типа\" при наличии нескольких целевых расположений.",
"editor.find.autoFindInSelection.always": "Всегда включать функцию \"Найти в выделении\" автоматически.",
"editor.find.autoFindInSelection.multiline": "Автоматическое включение функции \"Найти в выделении\" при выборе нескольких строк содержимого.",
"editor.find.autoFindInSelection.never": "Никогда не включать функцию \"Найти в выделении\" автоматически (по умолчанию).",
"editor.find.autoFindInSelection.always": "Всегда включать функцию «Найти в выделении» автоматически.",
"editor.find.autoFindInSelection.multiline": "Автоматическое включение функции «Найти в выделении» при выборе нескольких строк содержимого.",
"editor.find.autoFindInSelection.never": "Никогда не включать функцию «Найти в выделении» автоматически (по умолчанию).",
"editor.find.seedSearchStringFromSelection.always": "Всегда вставлять начальные значения в строку поиска из выделенного фрагмента редактора, включая слова в позиции курсора.",
"editor.find.seedSearchStringFromSelection.never": "Никогда не вставлять начальные значения в строку поиска из выделенного фрагмента редактора.",
"editor.find.seedSearchStringFromSelection.selection": "Вставлять начальные значения в строку поиска только из выделенного фрагмента редактора.",
"editor.gotoLocation.multiple.deprecated": "Этот параметр устарел. Используйте вместо него отдельные параметры, например, 'editor.editor.gotoLocation.multipleDefinitions' или 'editor.editor.gotoLocation.multipleImplementations'.",
"editor.gotoLocation.multiple.goto": "Перейдите к основному результату и включите быструю навигацию для остальных",
"editor.gotoLocation.multiple.gotoAndPeek": "Перейти к основному результату и показать быстрый редактор",
@ -248,13 +252,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"emptySelectionClipboard": "Управляет тем, копируется ли текущая строка при копировании без выделения.",
"fastScrollSensitivity": "Коэффициент увеличения скорости прокрутки при нажатии клавиши ALT.",
"find.addExtraSpaceOnTop": "Определяет, должно ли мини-приложение поиска добавлять дополнительные строки в начале окна редактора. Если задано значение true, вы можете прокрутить первую строку при отображаемом мини-приложении поиска.",
"find.autoFindInSelection": "Управляет условием автоматического включения поиска в выделенном фрагменте.",
"find.autoFindInSelection": "Управляет условием автоматического включения функции «Найти в выделении».",
"find.cursorMoveOnType": "Определяет, должен ли курсор перемещаться для поиска совпадений при вводе.",
"find.globalFindClipboard": "Определяет, должно ли мини-приложение поиска считывать или изменять общий буфер обмена поиска в macOS.",
"find.loop": "Определяет, будет ли поиск автоматически перезапускаться с начала (или с конца), если не найдено никаких других соответствий.",
"find.seedSearchStringFromSelection": "Определяет, можно ли передать строку поиска в мини-приложение поиска из текста, выделенного в редакторе.",
"folding": "Определяет, включено ли свертывание кода в редакторе.",
"foldingHighlight": "Определяет, должен ли редактор выделять сложенные диапазоны.",
"foldingImportsByDefault": "Определяет, будет ли редактор автоматически сворачивать диапазоны импорта.",
"foldingStrategy": "Управляет стратегией для вычисления свертываемых диапазонов.",
"foldingStrategy.auto": "Используйте стратегию свертывания для конкретного языка, если она доступна, в противном случае используйте стратегию на основе отступов.",
"foldingStrategy.indentation": "Используйте стратегию свертывания на основе отступов.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Управляет тем, отображается ли наведение.",
"hover.sticky": "Управляет тем, должно ли наведение оставаться видимым при наведении на него курсора мыши.",
"inlayHints.enable": "Включает встроенные указания в редакторе.",
"inlayHints.fontFamily": "Управляет семейством шрифтов встроенных указаний в редакторе.",
"inlayHints.fontFamily": "Определяет семейство шрифтов для указаний-вкладок в редакторе. Если никакое значение не задано, используется `#editor.fontFamily#`.",
"inlayHints.fontSize": "Определяет размер шрифта встроенных указаний в редакторе. Если задано значение \"0\", используется 90 % от \"#editor.fontSize#\".",
"inlineSuggest.enabled": "Определяет, следует ли автоматически показывать встроенные предложения в редакторе.",
"inlineSuggest.mode": "Определяет, какой режим следует использовать для отрисовки встроенных предложений.",
"inlineSuggest.mode.prefix": "Отображать только встроенное предложение, если заменяемый текст является префиксом вставляемого текста.",
"inlineSuggest.mode.subwordDiff": "Отображать только встроенное предложение, если заменяемый текст является подсловом вставляемого текста.",
"inlineSuggest.mode.subword": "Отображать только встроенное предложение, если заменяемый текст является подсловом вставляемого текста.",
"inlineSuggest.mode.subwordSmart": "Отображать встроенное предложение только в том случае, если замещающий текст является подсловом вставляемого текста, но подслово должно начинаться после курсора.",
"letterSpacing": "Управляет интервалом между буквами в пикселях.",
"lineHeight": "Определяет высоту строки. \r\n  Используйте 0, чтобы автоматически вычислить высоту строки на основе размера шрифта.\r\n  Значения от 0 до 8 будут использоваться в качестве множителя для размера шрифта.\r\n  Значения больше 8 будут использоваться в качестве действующих значений.",
"lineHeight": "Определяет высоту строки. \r\n Используйте 0, чтобы автоматически вычислить высоту строки на основе размера шрифта.\r\n Значения от 0 до 8 будут использоваться в качестве множителя для размера шрифта.\r\n Значения больше или равные 8 будут использоваться в качестве действующих значений.",
"lineNumbers": "Управляет отображением номеров строк.",
"lineNumbers.interval": "Номера строк отображаются каждые 10 строк.",
"lineNumbers.off": "Номера строк не отображаются.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Управляет количеством дополнительных символов, на которое содержимое редактора будет прокручиваться по горизонтали.",
"scrollBeyondLastLine": "Определяет, будет ли содержимое редактора прокручиваться за последнюю строку.",
"scrollPredominantAxis": "Прокрутка только вдоль основной оси при прокрутке по вертикали и горизонтали одновременно. Предотвращает смещение по горизонтали при прокрутке по вертикали на трекпаде.",
"scrollbar.horizontal": "Управляет видимостью горизонтальной полосы прокрутки.",
"scrollbar.horizontal.auto": "Горизонтальная полоса прокрутки будет видна только при необходимости.",
"scrollbar.horizontal.fit": "Горизонтальная полоса прокрутки всегда будет скрыта.",
"scrollbar.horizontal.visible": "Горизонтальная полоса прокрутки всегда будет видна.",
"scrollbar.horizontalScrollbarSize": "Высота горизонтальной полосы прокрутки.",
"scrollbar.scrollByPage": "Управляет прокруткой при нажатии страницы или переходом к позиции щелчка.",
"scrollbar.vertical": "Управляет видимостью вертикальной полосы прокрутки.",
"scrollbar.vertical.auto": "Вертикальная полоса прокрутки будет видна только при необходимости.",
"scrollbar.vertical.fit": "Вертикальная полоса прокрутки всегда будет скрыта.",
"scrollbar.vertical.visible": "Вертикальная полоса прокрутки всегда будет видна.",
"scrollbar.verticalScrollbarSize": "Ширина вертикальной полосы прокрутки.",
"selectLeadingAndTrailingWhitespace": "Должны ли всегда быть выбраны начальный и конечный пробелы.",
"selectionClipboard": "Контролирует, следует ли поддерживать первичный буфер обмена Linux.",
"selectionHighlight": "Определяет, должен ли редактор выделять совпадения, аналогичные выбранному фрагменту.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Определяет, следует ли просматривать результат предложения в редакторе.",
"suggest.previewMode": "Определяет, какой режим использовать для отображения предварительной версии предложений.",
"suggest.previewMode.prefix": "Подготавливать предварительный просмотр, только если заменяемый текст является префиксом вставляемого текста.",
"suggest.previewMode.subwordDiff": "Подготавливать предварительный просмотр, только если заменяемый текст является подсловом вставляемого текста.",
"suggest.previewMode.subword": "Подготавливать предварительный просмотр, только если заменяемый текст является подсловом вставляемого текста.",
"suggest.previewMode.subwordSmart": "Выполнить предварительный просмотр, если замещающий текст является подсловом вставляемого текста или если это префикс вставляемого текста.",
"suggest.shareSuggestSelections": "Определяет, используются ли сохраненные варианты выбора предложений совместно несколькими рабочими областями и окнами (требуется \"#editor.suggestSelection#\").",
"suggest.showIcons": "Указывает, нужно ли отображать значки в предложениях.",
"suggest.showInlineDetails": "Определяет, отображаются ли сведения о предложении встроенным образом вместе с меткой или только в мини-приложении сведений.",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Параметр 'Id' является устаревшим. Используйте вместо него параметр 'editorLineNumber.activeForeground'.",
"editorActiveIndentGuide": "Цвет активных направляющих для отступов редактора.",
"editorActiveLineNumber": "Цвет номера активной строки редактора",
"editorBracketHighlightForeground1": "Цвет переднего плана для скобок (1). Требуется включить раскраску парных скобок.",
"editorBracketHighlightForeground2": "Цвет переднего плана для скобок (2). Требуется включить раскраску парных скобок.",
"editorBracketHighlightForeground3": "Цвет переднего плана для скобок (3). Требуется включить раскраску парных скобок.",
"editorBracketHighlightForeground4": "Цвет переднего плана для скобок (4). Требуется включить раскраску парных скобок.",
"editorBracketHighlightForeground5": "Цвет переднего плана для скобок (5). Требуется включить раскраску парных скобок.",
"editorBracketHighlightForeground6": "Цвет переднего плана для скобок (6). Требуется включить раскраску парных скобок.",
"editorBracketHighlightUnexpectedBracketForeground": "Цвет переднего плана непредвиденных скобок.",
"editorBracketMatchBackground": "Цвет фона парных скобок",
"editorBracketMatchBorder": "Цвет прямоугольников парных скобок",
"editorCodeLensForeground": "Цвет переднего плана элемента CodeLens в редакторе",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Действие с исходным кодом..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Отображение исправлений. Доступно предпочитаемое исправление ({0})",
"quickFix": "Показать исправления",
"quickFixWithKb": "Показать исправления ({0})"
"codeAction": "Показать действия кода",
"codeActionWithKb": "Показать действия кода ({0})",
"preferredcodeActionWithKb": "Показать действия кода. Доступно предпочтительное быстрое исправление ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Показать команды CodeLens для текущей строки"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Закрыть",
"label.find": "Найти",
"label.matchesLocation": "{0} из {1}",
"label.nextMatchButton": "Следующее соответствие",
"label.nextMatchButton": "Следующее совпадение",
"label.noResults": "Результаты отсутствуют",
"label.previousMatchButton": "Предыдущее соответствие",
"label.previousMatchButton": "Предыдущее совпадение",
"label.replace": "Заменить",
"label.replaceAllButton": "Заменить все",
"label.replaceButton": "Заменить",
"label.toggleReplaceButton": "Режим \"Переключение замены\"",
"label.toggleReplaceButton": "Переключение замены",
"label.toggleSelectionFind": "Найти в выделении",
"placeholder.find": "Найти",
"placeholder.replace": "Заменить",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Цвет фона за свернутыми диапазонами. Этот цвет не должен быть непрозрачным, чтобы не скрывать расположенные ниже декоративные элементы.",
"foldLevelAction.label": "Уровень папки {0}",
"foldRecursivelyAction.label": "Свернуть рекурсивно",
"gotoNextFold.label": "Перейти к следующему свертыванию",
"gotoParentFold.label": "Перейти к родительскому свертыванию",
"gotoPreviousFold.label": "Перейти к предыдущему свертыванию",
"toggleFoldAction.label": "Переключить свертывание",
"unFoldRecursivelyAction.label": "Развернуть рекурсивно",
"unfoldAction.label": "Развернуть",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "Проблемы: {0} из {1}",
"editorMarkerNavigationBackground": "Фон мини-приложения навигации по меткам редактора.",
"editorMarkerNavigationError": "Цвет ошибки в мини-приложении навигации по меткам редактора.",
"editorMarkerNavigationErrorHeaderBackground": "Фон заголовка ошибки в мини-приложении навигации по меткам редактора.",
"editorMarkerNavigationInfo": "Цвет информационного сообщения в мини-приложении навигации по меткам редактора.",
"editorMarkerNavigationInfoHeaderBackground": "Фон заголовка информационного сообщения в мини-приложении навигации по меткам редактора.",
"editorMarkerNavigationWarning": "Цвет предупреждения в мини-приложении навигации по меткам редактора.",
"editorMarkerNavigationWarningBackground": "Фон заголовка предупреждения в мини-приложении навигации по меткам редактора.",
"marker aria": "{0} в {1}. ",
"problems": "Проблемы: {0} из {1}"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Принять",
"inlineSuggestionFollows": "Предложение:",
"showNextInlineSuggestion": "Далее",
"showPreviousInlineSuggestion": "Назад"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "Сочетание клавиш ({0} и {1}) не является командой."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Коэффициент увеличения скорости прокрутки при нажатии клавиши ALT.",
"Mouse Wheel Scroll Sensitivity": "Множитель, используемый для параметров deltaX и deltaY событий прокрутки колесика мыши.",
"automatic keyboard navigation setting": "Указывает, активируется ли навигация с помощью клавиатуры в списках и деревьях автоматически простым вводом. Если задано значение \"false\", навигация с клавиатуры активируется только при выполнении команды \"list.toggleKeyboardNavigation\", для которой можно назначить сочетание клавиш.",
"expand mode": "Управляет тем, как папки дерева разворачиваются при нажатии на имена папок. Обратите внимание, что этот параметр может игнорироваться в некоторых деревьях и списках, если он не применяется к ним.",
"horizontalScrolling setting": "Определяет, поддерживают ли горизонтальную прокрутку списки и деревья на рабочем месте. Предупреждение! Включение этого параметра может повлиять на производительность.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "Kullanıcı bir açma tırnağı eklediğinde, düzenleyicinin tırnağı otomatik olarak kapatıp kapatmayacağını denetler.",
"autoIndent": "Kullanıcı satır yazarken, yapıştırırken, taşırken veya girintilerken düzenleyicinin girintiyi otomatik olarak ayarlayıp ayarlayamayacağını denetler.",
"autoSurround": "Düzenleyicinin, tırnak işaretleri veya parantezler yazarken seçimleri otomatik olarak çevreleyip çevrelemeyeceğini denetler.",
"bracketPairColorization.enabled": "Köşeli ayraç çifti renklendirmesinin etkinleştirilip etkinleştirilmeyeceğini denetler. Köşeli ayraç vurgu renklerini geçersiz kılmak için 'workbench.colorCustomizations' kullanın.",
"codeActions": "Düzenleyicide kod eylemi ampulünü etkinleştirir.",
"codeLens": "Düzenleyicinin CodeLens'i gösterip göstermediğini denetler.",
"codeLensFontFamily": "CodeLens için yazı tipi ailesini denetler.",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "Birden çok hedef konum mevcut olduğunda 'Uygulamaya Git' komutunun davranışını denetler.",
"editor.editor.gotoLocation.multipleReferences": "Birden çok hedef konum mevcut olduğunda 'Başvurulara Git' komutunun davranışını denetler.",
"editor.editor.gotoLocation.multipleTypeDefinitions": "Birden çok hedef konum mevcut olduğunda 'Tür Tanımına Git' komutunun davranışını denetler.",
"editor.find.autoFindInSelection.always": "Seçimde otomatik olarak bul özelliğini her zaman açın.",
"editor.find.autoFindInSelection.multiline": "Birden çok içerik satırı seçildiğinde Seçimde bul'u otomatik olarak aç.",
"editor.find.autoFindInSelection.never": "Seçimde otomatik olarak bul (varsayılan) özelliğini hiçbir zaman açmayın.",
"editor.find.autoFindInSelection.always": "Seçimde Bul özelliğini otomatik olarak her zaman aç.",
"editor.find.autoFindInSelection.multiline": "Birden çok içerik satırı seçildiğinde Seçimde Bul'u otomatik olarak aç.",
"editor.find.autoFindInSelection.never": "Seçimde Bul özelliğini hiçbir zaman otomatik olarak açma (varsayılan).",
"editor.find.seedSearchStringFromSelection.always": "İmleç konumundaki sözcük dahil olmak üzere, her zaman düzenleyici seçiminden arama dizesi çekirdeği oluştur.",
"editor.find.seedSearchStringFromSelection.never": "Asla düzenleyici seçiminden arama dizesi çekirdeği oluşturma.",
"editor.find.seedSearchStringFromSelection.selection": "Sadece düzenleyici seçiminden arama dizesi çekirdeği oluştur.",
"editor.gotoLocation.multiple.deprecated": "Bu ayar kullanım dışı. Bunun yerine lütfen 'editor.editor.gotoLocation.multipleDefinitions' veya 'editor.editor.gotoLocation.multipleImplementations' gibi ayrı ayarları kullanın.",
"editor.gotoLocation.multiple.goto": "Birincil sonuca git ve diğerlerinde göz atmasız gezintiyi etkinleştir",
"editor.gotoLocation.multiple.gotoAndPeek": "Birincil sonuca git ve göz atma görünümü göster",
@ -248,13 +252,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"emptySelectionClipboard": "Seçmeden kopyalamanın geçerli satırı mı kopyalayacağını denetler.",
"fastScrollSensitivity": "`Alt` tuşuna basılırken kaydırma hızı çarpanı.",
"find.addExtraSpaceOnTop": "Bulma Pencere Öğesinin düzenleyicinin en üstüne ek satırlar ekleyip eklemeyeceğini denetler. Değeri true olduğunda, Bulma Pencere Öğesi görünürken ekranı ilk satırın ötesine kaydırabilirsiniz.",
"find.autoFindInSelection": "Seçimde bulmayı otomatik olarak açmak için koşulu denetler.",
"find.autoFindInSelection": "Seçimde Bul özelliğini otomatik olarak açmak için koşulu denetler.",
"find.cursorMoveOnType": "Yazma sırasında imlecin eşleşme bulmak için atlayıp atlamayacağını denetler.",
"find.globalFindClipboard": "Bulma Pencere Öğesinin macOS'te paylaşılan bulma panosunu okuyup okumayacağını denetler.",
"find.loop": "Daha fazla eşleşme bulunamazsa aramanın baştan (veya sondan) otomatik olarak yeniden başlatılmasını denetler.",
"find.seedSearchStringFromSelection": "Bulma Pencere Öğesi içindeki arama dizesinin düzenleyici seçiminden alınıp alınmayacağını denetler.",
"folding": "Düzenleyicide kod katlamanın etkin olup olmayacağını denetler.",
"foldingHighlight": "Düzenleyicinin katlanmış aralıkları vurgulayıp vurgulamayacağını denetler.",
"foldingImportsByDefault": "Düzenleyicinin içeri aktarma aralıklarını otomatik olarak daraltıp daraltmayacağını denetler.",
"foldingStrategy": "Katlama aralıklarını hesaplama stratejisini denetler.",
"foldingStrategy.auto": "Varsa dile özgü bir katlama stratejisi; aksi takdirde girinti tabanlı bir katlama stratejisi kullan.",
"foldingStrategy.indentation": "Girinti tabanlı katlama stratejisini kullan.",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "Vurgulamanın gösterilip gösterilmeyeceğini denetler.",
"hover.sticky": "Fare ile üzerine gelindiğinde vurgulamanın görünür kalıp kalmayacağını denetler.",
"inlayHints.enable": "Düzenleyicideki dolgu ipuçlarını etkinleştirir.",
"inlayHints.fontFamily": "Düzenleyicideki dolgu ipuçlarının yazı tipi ailesini denetler.",
"inlayHints.fontFamily": "Düzenleyicideki dolgu ipuçlarının yazı tipi boyutunu denetler. Boş olarak ayarlandığında, #editor.fontSize# değeri kullanılır.",
"inlayHints.fontSize": "Düzenleyicideki dolgu ipuçlarının yazı tipi boyutunu denetler. `0` olarak ayarlandığında, `#editor.fontSize#` değerinin %90'ı kullanılır.",
"inlineSuggest.enabled": "Satır içi önerilerin düzenleyicide otomatik olarak gösterilip gösterilmeyeceğini denetler.",
"inlineSuggest.mode": "Satır içi önerileri işlemek için hangi modun kullanılacağını denetler.",
"inlineSuggest.mode.prefix": "Satır içi bir öneriyi yalnızca değiştirme metni, ekleme metninin bir ön ekiyse işle.",
"inlineSuggest.mode.subwordDiff": "Satır içi bir öneriyi yalnızca değiştirme metni, ekleme metninin bir alt kelimesiyse işle.",
"inlineSuggest.mode.subword": "Satır içi bir öneriyi yalnızca değiştirme metni, ekleme metninin bir alt kelimesiyse işle.",
"inlineSuggest.mode.subwordSmart": "Satır içi bir öneriyi yalnızca değiştirme metni ekleme metninin bir alt kelimesi ise, ancak alt sözcüğün imleçten sonra başlaması gerekiyorsa işle.",
"letterSpacing": "Piksel cinsinden harf aralığını denetler.",
"lineHeight": "Satır yüksekliğini denetler. \r\n - Satır yüksekliğini yazı tipi boyutundan otomatik olarak hesaplamak için 0 kullanın.\r\n - 0 ile 8 arasındaki değerler, yazı tipi boyutuyla çarpan olarak kullanılır.\r\n - 8den büyük değerler, etkili değerler olarak kullanılır.",
"lineHeight": "Satır yüksekliğini kontrol eder. \r\n - Satır yüksekliğini yazı tipi boyutundan otomatik olarak hesaplamak için 0 değerini kullanın.\r\n - 0 ile 8 arasındaki değerler, yazı tipi boyutuyla çarpan olarak kullanılır.\r\n - 8 ve daha büyük değerler etkin değerler olarak kullanılır.",
"lineNumbers": "Satır numaralarının görüntülenmesini denetler.",
"lineNumbers.interval": "Satır numaraları 10 satırda bir işlenir.",
"lineNumbers.off": "Satır numaraları işlenmez.",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "Sonrasında düzenleyicinin yatay olarak kaydırılacağı fazladan karakter sayısını denetler.",
"scrollBeyondLastLine": "Düzenleyicinin ekranı son satırın ötesine kaydırıp kaydırmayacağını denetler.",
"scrollPredominantAxis": "Aynı anda hem dikey hem de yatay kaydırma sırasında yalnızca hakim olan eksen boyunca kaydırın. Bir dokunmatik yüzey üzerinde dikey kaydırma sırasında yatay dışa kaymayı engeller.",
"scrollbar.horizontal": "Yatay kaydırma çubuğunun görünürlüğünü kontrol eder.",
"scrollbar.horizontal.auto": "Yatay kaydırma çubuğu yalnızca gerektiğinde görünür.",
"scrollbar.horizontal.fit": "Yatay kaydırma çubuğu her zaman gizlenir.",
"scrollbar.horizontal.visible": "Yatay kaydırma çubuğu her zaman görünür.",
"scrollbar.horizontalScrollbarSize": "Yatay kaydırma çubuğunun yüksekliği.",
"scrollbar.scrollByPage": "Tıklamayla sayfaya göre kaydırma mı yapılacağını yoksa tıklama konumuna mı atlanacağını kontrol eder.",
"scrollbar.vertical": "Dikey kaydırma çubuğunun görünürlüğünü kontrol eder.",
"scrollbar.vertical.auto": "Dikey kaydırma çubuğu yalnızca gerektiğinde görünür.",
"scrollbar.vertical.fit": "Dikey kaydırma çubuğu her zaman gizlenir.",
"scrollbar.vertical.visible": "Dikey kaydırma çubuğu her zaman görünür.",
"scrollbar.verticalScrollbarSize": "Dikey kaydırma çubuğunun genişliği.",
"selectLeadingAndTrailingWhitespace": "Öndeki ve sondaki boşlukların her zaman seçilip seçilmeyeceği.",
"selectionClipboard": "Linux birincil panosunun desteklenip desteklenmeyeceğini denetler.",
"selectionHighlight": "Düzenleyicinin seçime benzer eşleşmeleri vurgulayıp vurgulamayacağını denetler.",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "Öneri sonucunun düzenleyicide önizlenip önizlenmeyeceğini denetler.",
"suggest.previewMode": "Önerilen önizlemeyi işlemek için hangi modun kullanılacağını denetler.",
"suggest.previewMode.prefix": "Önizlemeyi yalnızca değiştirme metni, ekleme metninin ön ekiyse işleyin.",
"suggest.previewMode.subwordDiff": "Önizlemeyi yalnızca değiştirme metni, ekleme metninin bir alt kelimesiyse işleyin.",
"suggest.previewMode.subword": "Önizlemeyi yalnızca değiştirme metni, ekleme metninin bir alt kelimesiyse işleyin.",
"suggest.previewMode.subwordSmart": "Değiştirme metni ekleme metninin bir alt kelimesi ise veya ekleme metninin bir ön eki ise, bir önizleme oluştur.",
"suggest.shareSuggestSelections": "Hatırlanan öneri seçimlerinin birden çok çalışma alanı ve pencere arasında paylaşılıp paylaşılmayacağını denetler (`#editor.suggestSelection#` gerekir).",
"suggest.showIcons": "Önerilerde simge gösterme veya gizlemeyi denetler.",
"suggest.showInlineDetails": "Öneri ayrıntılarının, etiketle satır içi olarak mı, yoksa yalnızca ayrıntılar pencere öğesinde mi gösterileceğini denetler",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Kimlik kullanım dışı. Bunun yerine 'editorLineNumber.activeForeground' kullanın.",
"editorActiveIndentGuide": "Etkin düzenleyici girinti kılavuzlarının rengi.",
"editorActiveLineNumber": "Düzenleyici etkin satır numarasının rengi",
"editorBracketHighlightForeground1": "Köşeli ayracın (1) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightForeground2": "Köşeli ayracın (2) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightForeground3": "Köşeli ayracın (3) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightForeground4": "Köşeli ayracın (4) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightForeground5": "Köşeli ayracın (5) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightForeground6": "Köşeli ayracın (6) ön plan rengi. Köşeli ayraç çifti renklendirmesinin etkinleştirilmesi gerekir.",
"editorBracketHighlightUnexpectedBracketForeground": "Beklenmeyen parantezlerin ön plan rengi.",
"editorBracketMatchBackground": "Eşleşen köşeli ayraçların arka plan rengi",
"editorBracketMatchBorder": "Eşleşen ayraçlar kutularının rengi",
"editorCodeLensForeground": "Düzenleyici CodeLens'inin ön plan rengi",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "Kaynak Eylemi..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "Düzeltmeleri Göster. Tercih Edilen Düzeltme Kullanılabilir ({0})",
"quickFix": "Düzeltmeleri Göster",
"quickFixWithKb": "Düzeltmeleri Göster ({0})"
"codeAction": "Kod Eylemlerini Göster",
"codeActionWithKb": "Kod Eylemlerini Göster ({0})",
"preferredcodeActionWithKb": "Kod Eylemlerini Göster. Tercih Edilen Hızlı Düzeltme Mevcut ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "Geçerli Satır İçin CodeLens Komutlarını Göster"
@ -622,14 +647,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "Kapat",
"label.find": "Bul",
"label.matchesLocation": "{0}/{1}",
"label.nextMatchButton": "Sonraki eşleşme",
"label.nextMatchButton": "Sonraki Eşleşme",
"label.noResults": "Sonuç yok",
"label.previousMatchButton": "Önceki eşleşme",
"label.previousMatchButton": "Önceki Eşleşme",
"label.replace": "Değiştir",
"label.replaceAllButton": "Tümünü Değiştir",
"label.replaceButton": "Değiştir",
"label.toggleReplaceButton": "Değiştirme Modunu Aç/Kapat",
"label.toggleSelectionFind": "Seçimde bul",
"label.toggleReplaceButton": "Değiştirmeyi Aç/Kapat",
"label.toggleSelectionFind": "Seçimde Bul",
"placeholder.find": "Bul",
"placeholder.replace": "Değiştir",
"title.matchesCountLimit": "Yalnızca ilk {0} sonuç vurgulanır, ancak tüm bulma işlemleri metnin tamamında sonuç verir."
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "Katlanan aralıkların arka plan rengi. Alttaki süslemeleri gizlememesi için rengin opak olmaması gerekir.",
"foldLevelAction.label": "Katlama Düzeyi {0}",
"foldRecursivelyAction.label": "Özyinelemeli Katla",
"gotoNextFold.label": "Sonraki Katlamaya Git",
"gotoParentFold.label": "Üst Katlamaya Git",
"gotoPreviousFold.label": "Önceki Katlamaya Git",
"toggleFoldAction.label": "Katlamayı Aç/Kapat",
"unFoldRecursivelyAction.label": "Katlamayı Özyinelemeli Olarak Kaldır",
"unfoldAction.label": "Katlamayı Kaldır",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{1} / {0} sorun",
"editorMarkerNavigationBackground": "Düzenleyici işaretçi gezinmesi pencere öğesi arka planı.",
"editorMarkerNavigationError": "Düzenleyici işaretçi gezinmesi pencere öğesi hata rengi.",
"editorMarkerNavigationErrorHeaderBackground": "Düzenleyici işaretçi gezinmesi pencere öğesi hata başlığı arka planı.",
"editorMarkerNavigationInfo": "Düzenleyici işaretleyici gezinmesi pencere öğesi bilgi rengi.",
"editorMarkerNavigationInfoHeaderBackground": "Düzenleyici işaretçi gezinmesi pencere öğesi bilgi başlığı arka planı.",
"editorMarkerNavigationWarning": "Düzenleyici işaretleyici gezinmesi pencere öğesi uyarı rengi.",
"editorMarkerNavigationWarningBackground": "Düzenleyici işaretçi gezinmesi pencere öğesi uyarı başlığı arka planı.",
"marker aria": "{0}, konum: {1}. ",
"problems": "{1}/{0} sorun"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "Kabul et",
"inlineSuggestionFollows": "Öneri:",
"showNextInlineSuggestion": "Sonraki",
"showPreviousInlineSuggestion": "Önceki"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "({0}, {1}) tuş bileşimi bir komut değil."
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "Alt tuşuna basılırken kaydırma hızı çarpanı.",
"Mouse Wheel Scroll Sensitivity": "Fare tekerleği kaydırma olaylarının deltaX ve deltaY değerleri üzerinde kullanılacak çarpan.",
"automatic keyboard navigation setting": "Liste ve ağaçlarda klavye gezinmesinin otomatik tetiklenmesi için yazmaya başlamanın yeterli olup olmadığını denetler. `false` olarak ayarlanırsa klavye gezinmesi yalnızca bir klavye kısayolu atayabileceğiniz `list.toggleKeyboardNavigation` komutu yürütülürken tetiklenir.",
"expand mode": "Klasör adlarına tıklandığında ağaç klasörlerinin nasıl genişletileceğini denetler. Uygulanamıyorsa, bazı ağaçların ve listelerin bu ayarı yoksaymayı seçebileceğine dikkat edin.",
"horizontalScrolling setting": "Liste ve ağaçların workbench'te yatay kaydırmayı destekleyip desteklemeyeceğini denetler. Uyarı: Bu ayarı açmanın, performansa etkisi olur.",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "控制编辑器是否在左引号后自动插入右引号。",
"autoIndent": "控制编辑器是否应在用户键入、粘贴、移动或缩进行时自动调整缩进。",
"autoSurround": "控制在键入引号或方括号时,编辑器是否应自动将所选内容括起来。",
"bracketPairColorization.enabled": "控制是否启用括号对着色。使用 “workbench.colorCustomizations” 替代括号突出显示颜色。",
"codeActions": "在编辑器中启用代码操作小灯泡提示。",
"codeLens": "控制是否在编辑器中显示 CodeLens。",
"codeLensFontFamily": "控制 CodeLens 的字体系列。",
@ -208,9 +209,12 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.editor.gotoLocation.multipleImplemenattions": "控制存在多个目标位置时\"转到实现\"命令的行为。",
"editor.editor.gotoLocation.multipleReferences": "控制存在多个目标位置时\"转到引用\"命令的行为。",
"editor.editor.gotoLocation.multipleTypeDefinitions": "控制存在多个目标位置时\"转到类型定义\"命令的行为。",
"editor.find.autoFindInSelection.always": "始终自动打开“在选择中查找”。",
"editor.find.autoFindInSelection.multiline": "选择多行内容时,自动打开“在选择中查找”。",
"editor.find.autoFindInSelection.never": "切勿自动打开“在选择中查找”(默认)。",
"editor.find.autoFindInSelection.always": "始终自动打开“在选定内容中查找”。",
"editor.find.autoFindInSelection.multiline": "选择多行内容时,自动打开“在选定内容中查找”。",
"editor.find.autoFindInSelection.never": "从不自动打开“在选定内容中查找”(默认)。",
"editor.find.seedSearchStringFromSelection.always": "始终为编辑器选择中的搜索字符串设定种子,包括光标位置的字词。",
"editor.find.seedSearchStringFromSelection.never": "切勿为编辑器选择中的搜索字符串设定种子。",
"editor.find.seedSearchStringFromSelection.selection": "仅为编辑器选择中的搜索字符串设定种子。",
"editor.gotoLocation.multiple.deprecated": "此设置已弃用,请改用单独的设置,如\"editor.editor.gotoLocation.multipleDefinitions\"或\"editor.editor.gotoLocation.multipleImplementations\"。",
"editor.gotoLocation.multiple.goto": "转到主结果,并对其他人启用防偷窥导航",
"editor.gotoLocation.multiple.gotoAndPeek": "转到主结果并显示预览视图",
@ -248,13 +252,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"emptySelectionClipboard": "控制在没有选择内容时进行复制是否复制当前行。",
"fastScrollSensitivity": "按下\"Alt\"时滚动速度倍增。",
"find.addExtraSpaceOnTop": "控制 \"查找小部件\" 是否应在编辑器顶部添加额外的行。如果为 true, 则可以在 \"查找小工具\" 可见时滚动到第一行之外。",
"find.autoFindInSelection": "控制选内容中自动开启查找的条件。",
"find.autoFindInSelection": "控制自动打开“在选内容中查找的条件。",
"find.cursorMoveOnType": "控制在键入时光标是否应跳转以查找匹配项。",
"find.globalFindClipboard": "控制“查找”小组件是否读取或修改 macOS 的共享查找剪贴板。",
"find.loop": "控制在找不到其他匹配项时,是否自动从开头(或结尾)重新开始搜索。",
"find.seedSearchStringFromSelection": "控制是否将编辑器选中内容作为搜索词填入到查找小组件中。",
"folding": "控制编辑器是否启用了代码折叠。",
"foldingHighlight": "控制编辑器是否应突出显示折叠范围。",
"foldingImportsByDefault": "控制编辑器是否自动折叠导入范围。",
"foldingStrategy": "控制计算折叠范围的策略。",
"foldingStrategy.auto": "使用特定于语言的折叠策略(如果可用),否则使用基于缩进的策略。",
"foldingStrategy.indentation": "使用基于缩进的折叠策略。",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "控制是否显示悬停提示。",
"hover.sticky": "控制当鼠标移动到悬停提示上时,其是否保持可见。",
"inlayHints.enable": "在编辑器中启用内联提示。",
"inlayHints.fontFamily": "在编辑器中控制内联提示的字体系列。",
"inlayHints.fontFamily": "在编辑器中控制内嵌提示的字体系列。设置为空时,使用 `#editor.fontFamily#`。",
"inlayHints.fontSize": "控制在编辑器中内联提示的字号。设置为 `0` 时,将使用 `#editor.fontSize#` 的 90%。",
"inlineSuggest.enabled": "控制是否在编辑器中自动显示内联建议。",
"inlineSuggest.mode": "控制使用何种模式呈现内联建议。",
"inlineSuggest.mode.prefix": "仅当替换文本是插入文本的前缀时才呈现内联建议。",
"inlineSuggest.mode.subwordDiff": "仅当替换文本是插入文本的字词时才呈现内联建议。",
"inlineSuggest.mode.subword": "仅当替换文本是插入文本的字词时才呈现内联建议。",
"inlineSuggest.mode.subwordSmart": "只有当替换文本为插入文本的子字时才呈现内联建议,但子字必须在光标之后开始。",
"letterSpacing": "控制字母间距(像素)。",
"lineHeight": "控制行高。\r\n - 使用 0 根据字号自动计算行高。\r\n - 介于 0 和 8 之间的值将用作字号的乘数。\r\n - 大于 8 的值将用作有效值。",
"lineHeight": "控制行高。\r\n - 使用 0 根据字号自动计算行高。\r\n - 介于 0 和 8 之间的值将用作字号的乘数。\r\n - 大于或等于 8 的值将用作有效值。",
"lineNumbers": "控制行号的显示。",
"lineNumbers.interval": "每 10 行显示一次行号。",
"lineNumbers.off": "不显示行号。",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "控制编辑器水平滚动时可以超过范围的字符数。",
"scrollBeyondLastLine": "控制编辑器是否可以滚动到最后一行之后。",
"scrollPredominantAxis": "同时垂直和水平滚动时,仅沿主轴滚动。在触控板上垂直滚动时,可防止水平漂移。",
"scrollbar.horizontal": "控制水平滚动条的可见性。",
"scrollbar.horizontal.auto": "水平滚动条仅在必要时可见。",
"scrollbar.horizontal.fit": "水平滚动条将始终隐藏。",
"scrollbar.horizontal.visible": "水平滚动条将始终可见。",
"scrollbar.horizontalScrollbarSize": "水平滚动条的高度。",
"scrollbar.scrollByPage": "控制单击按页滚动还是跳转到单击位置。",
"scrollbar.vertical": "控制垂直滚动条的可见性。",
"scrollbar.vertical.auto": "垂直滚动条仅在必要时可见。",
"scrollbar.vertical.fit": "垂直滚动条将始终隐藏。",
"scrollbar.vertical.visible": "垂直滚动条将始终可见。",
"scrollbar.verticalScrollbarSize": "垂直滚动条的宽度。",
"selectLeadingAndTrailingWhitespace": "是否应始终选择前导和尾随空格。",
"selectionClipboard": "控制是否支持 Linux 主剪贴板。",
"selectionHighlight": "控制编辑器是否应突出显示与所选内容类似的匹配项。",
@ -350,7 +367,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"showFoldingControls.always": "始终显示折叠控件。",
"showFoldingControls.mouseover": "仅在鼠标位于装订线上方时显示折叠控件。",
"showUnused": "控制是否淡化未使用的代码。",
"smoothScrolling": "控制编辑器是否在滚动时使用动画。",
"smoothScrolling": "控制编辑器是否使用动画滚动。",
"snippetSuggestions": "控制代码片段是否与其他建议一起显示及其排列的位置。",
"snippetSuggestions.bottom": "在其他建议下方显示代码片段建议。",
"snippetSuggestions.inline": "在其他建议中穿插显示代码片段建议。",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "控制是否在编辑器中预览建议结果。",
"suggest.previewMode": "控制用于呈现建议预览的模式。",
"suggest.previewMode.prefix": "仅当替换文本是插入文本的前缀时才呈现预览。",
"suggest.previewMode.subwordDiff": "仅当替换文本是插入文本的子词时才呈现预览。",
"suggest.previewMode.subword": "仅当替换文本是插入文本的子词时才呈现预览。",
"suggest.previewMode.subwordSmart": "如果替换文本为插入文本的子字或前缀,则呈现预览。",
"suggest.shareSuggestSelections": "控制是否在多个工作区和窗口间共享记忆的建议选项(需要 `#editor.suggestSelection#`)。",
"suggest.showIcons": "控制是否在建议中显示或隐藏图标。",
"suggest.showInlineDetails": "控制建议详细信息是随标签一起显示还是仅显示在详细信息小组件中",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "\"Id\" 已被弃用,请改用 \"editorLineNumber.activeForeground\"。",
"editorActiveIndentGuide": "编辑器活动缩进参考线的颜色。",
"editorActiveLineNumber": "编辑器活动行号的颜色",
"editorBracketHighlightForeground1": "括号的前景色(1)。需要启用括号对着色。",
"editorBracketHighlightForeground2": "括号的前景色(2)。需要启用括号对着色。",
"editorBracketHighlightForeground3": "括号的前景色(3)。需要启用括号对着色。",
"editorBracketHighlightForeground4": "括号的前景色(4)。需要启用括号对着色。",
"editorBracketHighlightForeground5": "括号的前景色(5)。需要启用括号对着色。",
"editorBracketHighlightForeground6": "括号的前景色(6)。需要启用括号对着色。",
"editorBracketHighlightUnexpectedBracketForeground": "方括号出现意外的前景色。",
"editorBracketMatchBackground": "匹配括号的背景色",
"editorBracketMatchBorder": "匹配括号外框的颜色",
"editorCodeLensForeground": "编辑器 CodeLens 的前景色",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "源代码操作..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "显示修复程序。首选可用修复程序 ({0})",
"quickFix": "显示修补程序",
"quickFixWithKb": "显示修补程序({0})"
"codeAction": "显示代码操作",
"codeActionWithKb": "显示代码操作({0})",
"preferredcodeActionWithKb": "显示代码操作。首选可用的快速修复({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "显示当前行的 Code Lens 命令"
@ -628,7 +653,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.replace": "替换",
"label.replaceAllButton": "全部替换",
"label.replaceButton": "替换",
"label.toggleReplaceButton": "切换替换模式",
"label.toggleReplaceButton": "切换替换",
"label.toggleSelectionFind": "在选定内容中查找",
"placeholder.find": "查找",
"placeholder.replace": "替换",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "折叠范围后面的背景颜色。颜色必须设为透明,以免隐藏底层装饰。",
"foldLevelAction.label": "折叠级别 {0}",
"foldRecursivelyAction.label": "以递归方式折叠",
"gotoNextFold.label": "转到下一个折叠",
"gotoParentFold.label": "跳转到父级折叠",
"gotoPreviousFold.label": "转到上一个折叠",
"toggleFoldAction.label": "切换折叠",
"unFoldRecursivelyAction.label": "以递归方式展开",
"unfoldAction.label": "展开",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} 个问题(共 {1} 个)",
"editorMarkerNavigationBackground": "编辑器标记导航小组件背景色。",
"editorMarkerNavigationError": "编辑器标记导航小组件错误颜色。",
"editorMarkerNavigationErrorHeaderBackground": "编辑器标记导航小组件错误标题背景色。",
"editorMarkerNavigationInfo": "编辑器标记导航小组件信息颜色。",
"editorMarkerNavigationInfoHeaderBackground": "编辑器标记导航小组件信息标题背景色。",
"editorMarkerNavigationWarning": "编辑器标记导航小组件警告颜色。",
"editorMarkerNavigationWarningBackground": "编辑器标记导航小组件警告标题背景色。",
"marker aria": "{1} 中的 {0}",
"problems": "{0} 个问题(共 {1} 个)"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "接受",
"inlineSuggestionFollows": "建议:",
"showNextInlineSuggestion": "下一个",
"showPreviousInlineSuggestion": "上一个"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "组合键({0}{1})不是命令。"
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "按 Alt 时滚动速度乘数。",
"Mouse Wheel Scroll Sensitivity": "要在鼠标滚轮滚动事件的 deltaX 和 deltaY 上使用的乘数。",
"automatic keyboard navigation setting": "控制列表和树中的键盘导航是否仅通过键入自动触发。如果设置为 `false` ,键盘导航只在执行 `list.toggleKeyboardNavigation` 命令时触发,您可以为该命令指定键盘快捷方式。",
"expand mode": "控制在单击文件夹名称时如何扩展树文件夹。请注意,如果不适用,某些树和列表可能会选择忽略此设置。",
"horizontalScrolling setting": "控制列表和树是否支持工作台中的水平滚动。警告: 打开此设置影响会影响性能。",
@ -1163,7 +1197,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"keyboardNavigationSettingKey.filter": "筛选器键盘导航将筛选出并隐藏与键盘输入不匹配的所有元素。",
"keyboardNavigationSettingKey.highlight": "高亮键盘导航会突出显示与键盘输入相匹配的元素。进一步向上和向下导航将仅遍历突出显示的元素。",
"keyboardNavigationSettingKey.simple": "简单键盘导航聚焦与键盘输入相匹配的元素。仅对前缀进行匹配。",
"list smoothScrolling setting": "控制列表和树是否具有平滑滚动。",
"list smoothScrolling setting": "控制列表和树是否具有平滑滚动效果。",
"multiSelectModifier": "在通过鼠标多选树和列表条目时使用的修改键 (例如“资源管理器”、“打开的编辑器”和“源代码管理”视图)。“在侧边打开”功能所需的鼠标动作 (若可用) 将会相应调整,不与多选修改键冲突。",
"multiSelectModifier.alt": "映射为 `Alt` (Windows 和 Linux) 或 `Option` (macOS)。",
"multiSelectModifier.ctrlCmd": "映射为 `Ctrl` (Windows 和 Linux) 或 `Command` (macOS)。",

View File

@ -169,6 +169,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"autoClosingQuotes": "控制編輯器是否應在使用者新增開始引號後,自動加上關閉引號。",
"autoIndent": "控制編輯器是否應在使用者鍵入、貼上、移動或縮排行時自動調整縮排。",
"autoSurround": "控制編輯器是否應在鍵入引號或括弧時自動包圍選取範圍。",
"bracketPairColorization.enabled": "控制是否啟用成對方括弧著色。使用 'workbench.colorCustomizations' 覆寫括弧亮顯顏色。",
"codeActions": "在編輯器中啟用程式碼動作燈泡。",
"codeLens": "控制編輯器是否顯示 codelens。",
"codeLensFontFamily": "控制 CodeLens 的字型家族。",
@ -211,6 +212,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"editor.find.autoFindInSelection.always": "一律自動開啟 [在選取範圍中尋找]。",
"editor.find.autoFindInSelection.multiline": "選取多行內容時,自動開啟 [在選取範圍中尋找]。",
"editor.find.autoFindInSelection.never": "永不自動開啟 [在選取範圍中尋找] (預設)。",
"editor.find.seedSearchStringFromSelection.always": "一律從編輯器選取範圍中植入搜尋字串,包括游標位置的字。",
"editor.find.seedSearchStringFromSelection.never": "永不從編輯器選取範圍中植入搜尋字串。",
"editor.find.seedSearchStringFromSelection.selection": "只有來自編輯器選取範圍中的植入搜尋字串。",
"editor.gotoLocation.multiple.deprecated": "此設定已淘汰,請改用 'editor.editor.gotoLocation.multipleDefinitions' 或 'editor.editor.gotoLocation.multipleImplementations' 等單獨設定。",
"editor.gotoLocation.multiple.goto": "前往主要結果,並對其他人啟用無預覽瀏覽",
"editor.gotoLocation.multiple.gotoAndPeek": "移至主要結果並顯示預覽檢視",
@ -248,13 +252,14 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"emptySelectionClipboard": "控制複製時不選取任何項目是否會複製目前程式行。",
"fastScrollSensitivity": "按下 `Alt` 時的捲動速度乘數。",
"find.addExtraSpaceOnTop": "控制尋找小工具是否應在編輯器頂端額外新增行。若為 true當您可看到尋找小工具時您的捲動範圍會超過第一行。",
"find.autoFindInSelection": "控制自動開啟在選取範圍中尋找的條件。",
"find.autoFindInSelection": "控制自動開啟 [在選取範圍中尋找] 的條件。",
"find.cursorMoveOnType": "控制在輸入期間是否要跳過游標來尋找相符的項目。",
"find.globalFindClipboard": "控制尋找小工具是否在 macOS 上讀取或修改共用尋找剪貼簿。",
"find.loop": "當再也找不到其他相符項目時,控制是否自動從開頭 (或結尾) 重新開始搜尋。",
"find.seedSearchStringFromSelection": "控制 [尋找小工具] 中的搜尋字串是否來自編輯器選取項目。",
"folding": "控制編輯器是否啟用程式碼摺疊功能。",
"foldingHighlight": "控制編輯器是否應將折疊的範圍醒目提示。",
"foldingImportsByDefault": "控制編輯器是否會自動摺疊匯入範圍。",
"foldingStrategy": "控制計算資料夾範圍的策略。",
"foldingStrategy.auto": "使用語言特定摺疊策略 (如果可用),否則使用縮排式策略。",
"foldingStrategy.indentation": "使用縮排式摺疊策略。",
@ -274,14 +279,15 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"hover.enabled": "控制是否顯示暫留。",
"hover.sticky": "控制當滑鼠移過時,是否應保持顯示暫留。",
"inlayHints.enable": "啟用編輯器中的內嵌提示。",
"inlayHints.fontFamily": "控制編輯器中的內嵌提示字型家族。",
"inlayHints.fontFamily": "控制編輯器中,內嵌提示的字型家族。設定為空白時,會使用 `#editor.fontFamily#`。",
"inlayHints.fontSize": "控制編輯器中的內嵌提示字型大小。設定為 `0` 時,會使用 90% 的 `#editor.fontSize#`。",
"inlineSuggest.enabled": "控制是否要在編輯器中自動顯示內嵌建議。",
"inlineSuggest.mode": "控制要用於呈現內嵌建議的模式。",
"inlineSuggest.mode.prefix": "只有在取代文字是插入文字的前置詞時,才呈現內嵌建議。",
"inlineSuggest.mode.subwordDiff": "只有在取代文字是插入文字的部分字組時,才呈現內嵌建議。",
"inlineSuggest.mode.subword": "只有在取代文字是插入文字的部分字組時,才呈現內嵌建議。",
"inlineSuggest.mode.subwordSmart": "如果取代文字是插入文字的部分字組,但部分字組必須在游標之後開始時,只呈現內嵌建議。",
"letterSpacing": "控制字母間距 (像素)。",
"lineHeight": "控制行高。\r\n - 使用 0 從字型大小自動計算行高。\r\n - 使用介於 0 和 8 之間的值作為字型大小的乘數。\r\n - 大於 8 的值將用來作為有效值。",
"lineHeight": "控制行高。\r\n - 使用 0 從字型大小自動計算行高。\r\n - 使用介於 0 和 8 之間的值作為字型大小的乘數。\r\n - 大於或等於 8 的值將用來作為有效值。",
"lineNumbers": "控制行號的顯示。",
"lineNumbers.interval": "每 10 行顯示行號。",
"lineNumbers.off": "不顯示行號。",
@ -342,6 +348,17 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"scrollBeyondLastColumn": "控制編輯器水平捲動的額外字元數。",
"scrollBeyondLastLine": "控制編輯器是否捲動到最後一行之外。",
"scrollPredominantAxis": "同時進行垂直與水平捲動時,僅沿主軸捲動。避免在軌跡板上進行垂直捲動時發生水平漂移。",
"scrollbar.horizontal": "控制項水平捲軸的可見度。",
"scrollbar.horizontal.auto": "水平捲軸只有在必要時才可見。",
"scrollbar.horizontal.fit": "水平捲軸永遠隱藏。",
"scrollbar.horizontal.visible": "水平捲軸永遠可見。",
"scrollbar.horizontalScrollbarSize": "水平捲軸的高度。",
"scrollbar.scrollByPage": "控制項按一下是否按頁面滾動或跳到按一下位置。",
"scrollbar.vertical": "控制項垂直捲軸的可見度。",
"scrollbar.vertical.auto": "垂直捲軸只有在必要時才可見。",
"scrollbar.vertical.fit": "垂直捲軸永遠隱藏。",
"scrollbar.vertical.visible": "垂直捲軸永遠可見。",
"scrollbar.verticalScrollbarSize": "垂直捲軸的寬度。",
"selectLeadingAndTrailingWhitespace": "是否應一律選取前置和後置的空白字元。",
"selectionClipboard": "控制是否支援 Linux 主要剪貼簿。",
"selectionHighlight": "控制編輯器是否應醒目提示與選取項目類似的相符項目。",
@ -366,7 +383,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"suggest.preview": "控制是否要在編輯器中預覽建議結果。",
"suggest.previewMode": "控制要用於呈現建議預覽的模式。",
"suggest.previewMode.prefix": "只有在取代文字是插入文字的前置詞時,才呈現預覽。",
"suggest.previewMode.subwordDiff": "只有在取代文字是插入文字的部分字組時,才呈現預覽。",
"suggest.previewMode.subword": "只有在取代文字是插入文字的部分字組時,才呈現預覽。",
"suggest.previewMode.subwordSmart": "如果取代文字是插入文字的部分字組,或它是插入文字的前置詞,即呈現預覽。",
"suggest.shareSuggestSelections": "控制記錄的建議選取項目是否在多個工作區和視窗間共用 (需要 `#editor.suggestSelection#`)。",
"suggest.showIcons": "控制要在建議中顯示或隱藏圖示。",
"suggest.showInlineDetails": "控制建議詳細資料是以內嵌於標籤的方式顯示,還是只在詳細資料小工具中顯示",
@ -484,6 +502,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"deprecatedEditorActiveLineNumber": "Id 已取代。請改用 'editorLineNumber.activeForeground' 。",
"editorActiveIndentGuide": "使用中編輯器縮排輔助線的色彩。",
"editorActiveLineNumber": "編輯器使用中行號的色彩",
"editorBracketHighlightForeground1": "括弧 (1) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightForeground2": "括弧 (2) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightForeground3": "括弧 (3) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightForeground4": "括弧 (4) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightForeground5": "括弧 (5) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightForeground6": "括弧 (6) 的前景色彩。需要啟用成對方括弧著色。",
"editorBracketHighlightUnexpectedBracketForeground": "未預期括弧的前景色彩。",
"editorBracketMatchBackground": "成對括號背景色彩",
"editorBracketMatchBorder": "成對括號邊框色彩",
"editorCodeLensForeground": "編輯器程式碼濾鏡的前景色彩",
@ -573,9 +598,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"source.label": "來源動作..."
},
"vs/editor/contrib/codeAction/lightBulbWidget": {
"prefferedQuickFixWithKb": "顯示修正程式。偏好的修正程式可用 ({0})",
"quickFix": "顯示修正",
"quickFixWithKb": "顯示修正 ({0})"
"codeAction": "顯示程式碼動作",
"codeActionWithKb": "顯示程式碼動作 ({0})",
"preferredcodeActionWithKb": "顯示程式碼動作。偏好的快速修正可用 ({0})"
},
"vs/editor/contrib/codelens/codelensController": {
"showLensOnLine": "顯示目前行的 Code Lens 命令"
@ -622,13 +647,13 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"label.closeButton": "關閉",
"label.find": "尋找",
"label.matchesLocation": "{1} 的 {0}",
"label.nextMatchButton": "下一個項目",
"label.nextMatchButton": "下一個符項目",
"label.noResults": "查無結果",
"label.previousMatchButton": "上一個項目",
"label.previousMatchButton": "上一個符項目",
"label.replace": "取代",
"label.replaceAllButton": "全部取代",
"label.replaceButton": "取代",
"label.toggleReplaceButton": "切換取代模式",
"label.toggleReplaceButton": "切換取代",
"label.toggleSelectionFind": "在選取範圍中尋找",
"placeholder.find": "尋找",
"placeholder.replace": "取代",
@ -644,6 +669,9 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"foldBackgroundBackground": "已摺疊範圍後的背景色彩。色彩不得處於不透明狀態,以免隱藏底層裝飾。",
"foldLevelAction.label": "摺疊層級 {0}",
"foldRecursivelyAction.label": "以遞迴方式摺疊",
"gotoNextFold.label": "移至下個摺疊",
"gotoParentFold.label": "移至父代摺疊",
"gotoPreviousFold.label": "移至上個摺疊",
"toggleFoldAction.label": "切換摺疊",
"unFoldRecursivelyAction.label": "以遞迴方式展開",
"unfoldAction.label": "展開",
@ -688,8 +716,11 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"change": "{0} 個問題 (共 {1} 個)",
"editorMarkerNavigationBackground": "編輯器標記導覽小工具的背景。",
"editorMarkerNavigationError": "編輯器標記導覽小工具錯誤的色彩。",
"editorMarkerNavigationErrorHeaderBackground": "編輯器標記導覽小工具錯誤標題背景。",
"editorMarkerNavigationInfo": "編輯器標記導覽小工具資訊的色彩",
"editorMarkerNavigationInfoHeaderBackground": "編輯器標記導覽小工具資訊標題背景。",
"editorMarkerNavigationWarning": "編輯器標記導覽小工具警告的色彩。",
"editorMarkerNavigationWarningBackground": "編輯器標記導覽小工具警告標題背景。",
"marker aria": "{0} 於 {1}。",
"problems": "{0} 個問題 (共 {1} 個)"
},
@ -797,6 +828,7 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
},
"vs/editor/contrib/inlineCompletions/inlineCompletionsHoverParticipant": {
"acceptInlineSuggestion": "接受",
"inlineSuggestionFollows": "建議:",
"showNextInlineSuggestion": "下一步",
"showPreviousInlineSuggestion": "上一步"
},
@ -1156,6 +1188,8 @@ this.MonacoEnvironment = this.MonacoEnvironment || {}; this.MonacoEnvironment.Lo
"missing.chord": "按鍵組合 ({0}, {1}) 不是命令。"
},
"vs/platform/list/browser/listService": {
"Fast Scroll Sensitivity": "按 Alt 時的捲動速度乘數。",
"Mouse Wheel Scroll Sensitivity": "要用於滑鼠滾輪捲動事件 deltaX 和 deltaY 的乘數。",
"automatic keyboard navigation setting": "控制是否只要鍵入即可自動觸發清單和樹狀結構中的鍵盤瀏覽。若設為 `false`,只有在執行 `list.toggleKeyboardNavigation` 命令時,才會觸發鍵盤瀏覽,您可為其指定鍵盤快速鍵。",
"expand mode": "控制當按下資料夾名稱時,樹狀目錄資料夾的展開方式。請注意,若不適用,某些樹狀目錄和清單可能會選擇忽略此設定。",
"horizontalScrolling setting": "控制在工作台中,清單與樹狀結構是否支援水平捲動。警告: 開啟此設定將會影響效能。",

View File

@ -0,0 +1,228 @@
{
"base": "vs-dark",
"inherit": true,
"rules": [
{
"foreground": "666c68",
"background": "151c19",
"token": "comment"
},
{
"foreground": "c23b00",
"token": "storage"
},
{
"foreground": "c23b00",
"token": "support.type"
},
{
"foreground": "ffffff",
"background": "151c19",
"token": "string.unquoted.embedded"
},
{
"foreground": "ffffff",
"background": "151c19",
"token": "text source"
},
{
"foreground": "ffffff",
"background": "151c19",
"token": "string.unquoted"
},
{
"foreground": "e9470000",
"background": "1a0700",
"token": "constant.character.escaped"
},
{
"foreground": "e9470000",
"background": "1a0700",
"token": "string source - string.unquoted.embedded"
},
{
"foreground": "e9470000",
"background": "1a0700",
"token": "string string source"
},
{
"foreground": "c23800",
"background": "1a0700",
"token": "string - string source"
},
{
"foreground": "c23800",
"background": "1a0700",
"token": "string source string"
},
{
"foreground": "c23800",
"background": "1a0700",
"token": "meta.scope.heredoc"
},
{
"foreground": "e98800",
"token": "constant.numeric"
},
{
"foreground": "648bd2",
"token": "variable.language"
},
{
"foreground": "648bd2",
"token": "variable.other"
},
{
"foreground": "e98800",
"token": "constant"
},
{
"foreground": "a8b3ab",
"background": "161d1a",
"token": "other.preprocessor"
},
{
"foreground": "a8b3ab",
"background": "161d1a",
"token": "entity.name.preprocessor"
},
{
"foreground": "a8b3ab",
"token": "entity.name.function"
},
{
"foreground": "a8b3ab",
"token": "keyword.operator"
},
{
"foreground": "a8b3ab",
"token": "keyword.other.name-of-parameter"
},
{
"foreground": "9a2f00",
"token": "entity.name.class"
},
{
"foreground": "648bd2",
"token": "variable.parameter"
},
{
"foreground": "666c68",
"token": "storage.type.method"
},
{
"foreground": "a39e64",
"token": "keyword"
},
{
"foreground": "a39e64",
"token": "storage.type.function.php"
},
{
"foreground": "ffffff",
"background": "990000ad",
"token": "invalid"
},
{
"foreground": "000000",
"background": "ffd0d0",
"token": "invalid.trailing-whitespace"
},
{
"foreground": "588e60",
"token": "support.function"
},
{
"foreground": "5778b6",
"token": "support.class"
},
{
"foreground": "5778b6",
"token": "support.type"
},
{
"foreground": "5778b6",
"token": "entity.name"
},
{
"foreground": "c87500",
"token": "support.constant"
},
{
"foreground": "5879b7",
"token": "support.other.variable"
},
{
"foreground": "68685b",
"token": "declaration.xml-processing"
},
{
"foreground": "888888",
"token": "declaration.doctype"
},
{
"foreground": "888888",
"token": "declaration.doctype.DTD"
},
{
"foreground": "a65eff",
"token": "declaration.tag"
},
{
"foreground": "a65eff",
"token": "entity.name.tag"
},
{
"foreground": "909993",
"token": "entity.other.attribute-name"
},
{
"foreground": "90999380",
"token": "punctuation"
},
{
"foreground": "7642b7",
"token": "entity.other.inherited-class"
},
{
"foreground": "ffffff",
"background": "00000059",
"token": "meta.scope.changed-files.svn"
},
{
"foreground": "ffffff",
"background": "00000059",
"token": "markup.inserted.svn"
},
{
"foreground": "ffffff",
"background": "00000059",
"token": "markup.changed.svn"
},
{
"foreground": "ffffff",
"background": "00000059",
"token": "markup.deleted.svn"
},
{
"background": "78807b0a",
"token": "meta.section"
},
{
"background": "78807b0a",
"token": "meta.section meta.section"
},
{
"background": "78807b0a",
"token": "meta.section meta.section meta.section"
}
],
"colors": {
"editor.foreground": "#FFFFFF",
"editor.background": "#222C28",
"editor.selectionBackground": "#91999466",
"editor.lineHighlightBackground": "#0C0D0C40",
"editorCursor.foreground": "#FFFFFF",
"editorWhitespace.foreground": "#666C6880"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long