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: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -80,6 +80,11 @@ There are several settings you can configure to customize the behavior of this e
80
80
<td><code>off</code></td>
81
81
<td> Controls when notifications are shown by this extension. Accepted values are <code>onError</code>, <code>onWarning</code>, <code>always</code> and <code>off</code>.</td>
82
82
</tr>
83
+
<tr>
84
+
<td>black-formatter.serverTransport</td>
85
+
<td><code>stdio</code></td>
86
+
<td> Selects the transport protocol to be used by the Black server. When set to <code>stdio</code>, the extension will use the standard input/output streams to communicate with the Black server. When set to <code>pipe</code>, the extension will use a named pipe (on Windows) or Unix Domain Socket (on Linux/Mac) to communicate with the Black server. The <code>stdio</code> transport protocol is the default and recommended option for most users.</td>
Copy file name to clipboardexpand all lines: package.nls.json
+3
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,9 @@
8
8
"settings.importStrategy.useBundled.description": "Always use the bundled version of Black to format Python files.",
9
9
"settings.importStrategy.fromEnvironment.description": "Use the Black binary from the selected Python environment. If the extension fails to find a valid Black binary, it will fallback to using the bundled version of Black.",
10
10
"settings.interpreter.description": "Path to a Python executable or a command that will be used to launch the Black server and any subprocess. Accepts an array of a single or multiple strings. When set to `[]`, the extension will use the path to the selected Python interpreter. If passing a command, each argument should be provided as a separate string in the array.",
11
+
"settings.serverTransport.description": "Selects the transport protocol to be used by the Black server. When set to `stdio`, the extension will use the standard input/output streams to communicate with the Black server. When set to `pipe`, the extension will use a named pipe (on Windows) or Unix Domain Socket (on Linux/Mac) to communicate with the Black server. The `stdio` transport protocol is the default and recommended option for most users.",
12
+
"settings.serverTransport.stdio.description": "Use the standard input/output streams to communicate with the Black server.",
13
+
"settings.serverTransport.pipe.description": "Use a named pipe (on windows) and Unix Domain Socket (on linux/mac) to communicate with the Black server.",
11
14
"settings.showNotifications.description": "Controls when notifications are shown by this extension.",
12
15
"settings.showNotifications.off.description": "All notifications are turned off, any errors or warnings when formatting Python files are still available in the logs.",
13
16
"settings.showNotifications.onError.description": "Notifications are shown only in the case of an error when formatting Python files.",
0 commit comments