mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 02:11:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			89 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
From: Jakub Jirutka <jakub@jirutka.cz>
 | 
						|
Date: Tue, 4 Jun 2024 13:37:00 +0200
 | 
						|
Subject: [PATCH] Change default settings to respect user privacy
 | 
						|
 | 
						|
--- a/assets/settings/default.json
 | 
						|
+++ b/assets/settings/default.json
 | 
						|
@@ -25,8 +25,10 @@
 | 
						|
   "base_keymap": "VSCode",
 | 
						|
   // Features that can be globally enabled or disabled
 | 
						|
   "features": {
 | 
						|
+    // Disable copilot by default.
 | 
						|
+    "copilot": false,
 | 
						|
     // Which inline completion provider to use.
 | 
						|
-    "inline_completion_provider": "copilot"
 | 
						|
+    "inline_completion_provider": "none"
 | 
						|
   },
 | 
						|
   // The name of a font to use for rendering text in the editor
 | 
						|
   "buffer_font_family": "Zed Mono",
 | 
						|
@@ -304,7 +306,7 @@
 | 
						|
     // Version of this setting.
 | 
						|
     "version": "1",
 | 
						|
     // Whether the assistant is enabled.
 | 
						|
-    "enabled": true,
 | 
						|
+    "enabled": false,
 | 
						|
     // Whether to show the assistant panel button in the status bar.
 | 
						|
     "button": true,
 | 
						|
     // Where to dock the assistant panel. Can be 'left', 'right' or 'bottom'.
 | 
						|
@@ -424,12 +426,12 @@
 | 
						|
   // Control what info is collected by Zed.
 | 
						|
   "telemetry": {
 | 
						|
     // Send debug info like crash reports.
 | 
						|
-    "diagnostics": true,
 | 
						|
+    "diagnostics": false,
 | 
						|
     // Send anonymized usage data like what languages you're using Zed with.
 | 
						|
-    "metrics": true
 | 
						|
+    "metrics": false
 | 
						|
   },
 | 
						|
   // Automatically update Zed
 | 
						|
-  "auto_update": true,
 | 
						|
+  "auto_update": false,
 | 
						|
   // Diagnostics configuration.
 | 
						|
   "diagnostics": {
 | 
						|
     // Whether to show warnings or not by default.
 | 
						|
@@ -478,7 +480,7 @@
 | 
						|
     // May take 2 values:
 | 
						|
     // 1. hour12
 | 
						|
     // 2. hour24
 | 
						|
-    "hour_format": "hour12"
 | 
						|
+    "hour_format": "hour24"
 | 
						|
   },
 | 
						|
   // Settings specific to the terminal
 | 
						|
   "terminal": {
 | 
						|
--- a/assets/settings/initial_user_settings.json
 | 
						|
+++ b/assets/settings/initial_user_settings.json
 | 
						|
@@ -7,6 +7,33 @@
 | 
						|
 // custom settings, run the `open default settings` command
 | 
						|
 // from the command palette or from `Zed` application menu.
 | 
						|
 {
 | 
						|
+  // The default font size for text in the UI
 | 
						|
   "ui_font_size": 16,
 | 
						|
+  // The default font size for text in the editor
 | 
						|
   "buffer_font_size": 16
 | 
						|
+
 | 
						|
+  // The following settings have been changed from the upstream defaults to
 | 
						|
+  // improve security and privacy. Here are the upstream defaults, you can
 | 
						|
+  // uncomment them if you like.
 | 
						|
+  //
 | 
						|
+  // "features": {
 | 
						|
+  //   // Enable copilot (provided by an online service).
 | 
						|
+  //   "copilot": true,
 | 
						|
+  //   "inline_completion_provider": "copilot"
 | 
						|
+  // },
 | 
						|
+  // "assistant": {
 | 
						|
+  //   "version": "1",
 | 
						|
+  //   // Enable the assistant (provided by an online service).
 | 
						|
+  //   "enabled": true
 | 
						|
+  // },
 | 
						|
+  // "telemetry": {
 | 
						|
+  //   // Send debug info like crash reports to Zed Industries.
 | 
						|
+  //   "diagnostics": true,
 | 
						|
+  //   // Send anonymized usage data like what languages you're using Zed with
 | 
						|
+  //   // to Zed Industries.
 | 
						|
+  //   "metrics": true
 | 
						|
+  // },
 | 
						|
+  // "journal": {
 | 
						|
+  //   "hour_format": "hour12"
 | 
						|
+  // }
 | 
						|
 }
 |