Skip to content

Commit d87eb86

Browse files
committed
merged changes
2 parents ad22c75 + 4430718 commit d87eb86

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Linting, Debugging (multi-threaded, web apps, remote), Intellisense, auto-comple
1010
* Debugging with support for local variables, arguments, expressions, watch window, stack information, break points
1111
* Debugging Multiple threads (Web Applications - Flask, etc) and expanding values (on Windows and Mac)
1212
* Debugging remote processes (attaching to local and remote process)
13-
* Debugging with support for shebang
13+
* Debugging with support for shebang (windows)
1414
* Debugging with custom environment variables
1515
* Unit testing (unittests and nosetests, with config files)
1616
* Sorting imports

src/client/formatters/autoPep8Formatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ export class AutoPep8Formatter extends BaseFormatter {
1919
public formatDocument(document: vscode.TextDocument, options: vscode.FormattingOptions, token: vscode.CancellationToken): Thenable<vscode.TextEdit[]> {
2020
var autopep8Path = this.pythonSettings.formatting.autopep8Path;
2121
var fileDir = path.dirname(document.uri.fsPath);
22-
return super.provideDocumentFormattingEdits(document, options, token, `${autopep8Path} ${document.uri.fsPath}`);
22+
return super.provideDocumentFormattingEdits(document, options, token, `${autopep8Path} "${document.uri.fsPath}"`);
2323
}
2424
}

src/client/formatters/yapfFormatter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ export class YapfFormatter extends BaseFormatter {
1919
public formatDocument(document: vscode.TextDocument, options: vscode.FormattingOptions, token: vscode.CancellationToken): Thenable<vscode.TextEdit[]> {
2020
var yapfPath = this.pythonSettings.formatting.yapfPath;
2121
var fileDir = path.dirname(document.uri.fsPath);
22-
return super.provideDocumentFormattingEdits(document, options, token, `${yapfPath} ${document.uri.fsPath}`);
22+
return super.provideDocumentFormattingEdits(document, options, token, `${yapfPath} "${document.uri.fsPath}"`);
2323
}
2424
}

0 commit comments

Comments
 (0)