44 *--------------------------------------------------------------------------------------------*/
55
66/**
7- * Type Definition for Visual Studio Code 1.108 Extension API
7+ * Type Definition for Visual Studio Code 1.110 Extension API
88 * See https://code.visualstudio.com/api for more information
99 */
1010
@@ -6482,6 +6482,21 @@ declare module 'vscode' {
64826482 */
64836483 export type CharacterPair = [string, string];
64846484
6485+ /**
6486+ * Configuration for line comments.
6487+ */
6488+ export interface LineCommentRule {
6489+ /**
6490+ * The line comment token, like `//`
6491+ */
6492+ comment: string;
6493+ /**
6494+ * Whether the comment token should not be indented and placed at the first column.
6495+ * Defaults to false.
6496+ */
6497+ noIndent?: boolean;
6498+ }
6499+
64856500 /**
64866501 * Describes how comments for a language work.
64876502 */
@@ -6490,7 +6505,7 @@ declare module 'vscode' {
64906505 /**
64916506 * The line comment token, like `// this is a comment`
64926507 */
6493- lineComment?: string;
6508+ lineComment?: string | LineCommentRule ;
64946509
64956510 /**
64966511 * The block comment character pair, like `/* block comment */`
@@ -10781,6 +10796,16 @@ declare module 'vscode' {
1078110796 */
1078210797 export const isNewAppInstall: boolean;
1078310798
10799+ /**
10800+ * Indicates whether the application is running in portable mode.
10801+ *
10802+ * Portable mode is enabled when the application is run from a folder that contains
10803+ * a `data` directory, allowing for self-contained installations.
10804+ *
10805+ * Learn more about [Portable Mode](https://code.visualstudio.com/docs/editor/portable).
10806+ */
10807+ export const isAppPortable: boolean;
10808+
1078410809 /**
1078510810 * Indicates whether the users has telemetry enabled.
1078610811 * Can be observed to determine if the extension should send telemetry.
@@ -21211,4 +21236,3 @@ declare module 'vscode' {
2121121236 * we recommend the use of native promises which are available in this editor.
2121221237 */
2121321238interface Thenable<T> extends PromiseLike<T> { }
21214-
0 commit comments