You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/types/vscode/typings/vscode.language.d.ts
+22-3Lines changed: 22 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1788,6 +1788,18 @@ declare module 'vscode' {
1788
1788
*/
1789
1789
readonlysupportThemeIcons?: boolean;
1790
1790
1791
+
/**
1792
+
* Indicates that this markdown string can contain raw html tags. Defaults to `false`.
1793
+
*
1794
+
* When `supportHtml` is false, the markdown renderer will strip out any raw html tags
1795
+
* that appear in the markdown text. This means you can only use markdown syntax for rendering.
1796
+
*
1797
+
* When `supportHtml` is true, the markdown render will also allow a safe subset of html tags
1798
+
* and attributes to be rendered. See https://github.com/microsoft/vscode/blob/6d2920473c6f13759c978dd89104c4270a83422d/src/vs/base/browser/markdownRenderer.ts#L296
1799
+
* for a list of all supported tags and attributes.
1800
+
*/
1801
+
supportHtml?: boolean;
1802
+
1791
1803
/**
1792
1804
* Uri that relative paths are resolved relative to.
1793
1805
*
@@ -2076,6 +2088,13 @@ declare module 'vscode' {
2076
2088
*/
2077
2089
exportclassRelativePattern{
2078
2090
2091
+
/**
2092
+
* A base file path to which this pattern will be matched against relatively. The
2093
+
* file path must be absolute, should not have any trailing path separators and
2094
+
* not include any relative segments (`.` or `..`).
2095
+
*/
2096
+
baseUri?: Uri;
2097
+
2079
2098
/**
2080
2099
* A base file path to which this pattern will be matched against relatively.
2081
2100
*/
@@ -2292,7 +2311,7 @@ declare module 'vscode' {
2292
2311
* @param value A value to append 'as given'. The string will be escaped.
2293
2312
* @return This snippet string.
2294
2313
*/
2295
-
appendText(value: string): SnippetString;
2314
+
appendText(string: string): SnippetString;
2296
2315
2297
2316
/**
2298
2317
* Builder-function that appends a tabstop (`$1`, `$2` etc) to
@@ -2302,7 +2321,7 @@ declare module 'vscode' {
2302
2321
* value starting at 1.
2303
2322
* @return This snippet string.
2304
2323
*/
2305
-
appendTabstop(num?: number): SnippetString;
2324
+
appendTabstop(number?: number): SnippetString;
2306
2325
2307
2326
/**
2308
2327
* Builder-function that appends a placeholder (`${1:value}`) to
0 commit comments