Skip to content

Commit 1fa7940

Browse files
committed
Disable telemetry by default
1 parent 080fa63 commit 1fa7940

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"sourceMaps": true,
1313
"smartStep": true,
1414
"outFiles": [ "${workspaceFolder}/dist/**/*.js" ],
15-
"preLaunchTask": "npm: watch",
15+
"preLaunchTask": "npm: webpack",
1616
"trace": true
1717
}
1818
]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ exchange | Preview the whole HTTP exchange(request and response)
683683
* `rest-client.showResponseInDifferentTab`: Show response in different tab. (Default is __false__)
684684
* `rest-client.requestNameAsResponseTabTitle`: Show request name as the response tab title. Only valid when using html view, if no request name is specified defaults to "Response". (Default is __false__)
685685
* `rest-client.rememberCookiesForSubsequentRequests`: Save cookies from `Set-Cookie` header in response and use for subsequent requests. (Default is __true__)
686-
* `rest-client.enableTelemetry`: Send out anonymous usage data. (Default is __true__)
686+
* `rest-client.enableTelemetry`: Send out anonymous usage data. (Default is __false__)
687687
* `rest-client.excludeHostsForProxy`: Excluded hosts when using proxy settings. (Default is __[]__)
688688
* `rest-client.fontSize`: Controls the font size in pixels used in the response preview. (Default is __13__)
689689
* `rest-client.fontFamily`: Controls the font family used in the response preview. (Default is __Menlo, Monaco, Consolas, "Droid Sans Mono", "Courier New", monospace, "Droid Sans Fallback"__)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@
410410
},
411411
"rest-client.enableTelemetry": {
412412
"type": "boolean",
413-
"default": true,
413+
"default": false,
414414
"scope": "resource",
415415
"description": "Send out anonymous usage data"
416416
},

src/models/configurationSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ export class SystemSettings implements IRestClientSettings {
273273
this._largeResponseBodySizeLimitInMB = restClientSettings.get<number>("largeResponseBodySizeLimitInMB", 5);
274274
this._previewOption = ParsePreviewOptionStr(restClientSettings.get<string>("previewOption", "full"));
275275
this._formParamEncodingStrategy = ParseFormParamEncodingStr(restClientSettings.get<string>("formParamEncodingStrategy", "automatic"));
276-
this._enableTelemetry = restClientSettings.get<boolean>('enableTelemetry', true);
276+
this._enableTelemetry = restClientSettings.get<boolean>('enableTelemetry', false);
277277
this._suppressResponseBodyContentTypeValidationWarning = restClientSettings.get('suppressResponseBodyContentTypeValidationWarning', false);
278278
this._addRequestBodyLineIndentationAroundBrackets = restClientSettings.get<boolean>('addRequestBodyLineIndentationAroundBrackets', true);
279279
this._decodeEscapedUnicodeCharacters = restClientSettings.get<boolean>('decodeEscapedUnicodeCharacters', false);

0 commit comments

Comments
 (0)