forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
* upstream/master: Make use of new execution layer instead of spawning processes (#425) Use localhost instead of 0.0.0.0 for all local socket servers (#417) Provide full signature help with highlighted parameter (#416) Change `os.arch()` to `npm` `arch` to fix wrong arch detection. (#419) Document our Russian support (#424) Bump the version number to the next release as an alpha (#422) Russian translation (#411) Speed up virtual environment detection in workspace (#405)
- Loading branch information
Showing
42 changed files
with
1,828 additions
and
911 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"python.command.python.sortImports.title": "Отсортировать Imports", | ||
"python.command.python.startREPL.title": "Открыть REPL", | ||
"python.command.python.buildWorkspaceSymbols.title": "Собрать символы рабочего пространства", | ||
"python.command.python.runtests.title": "Запустить все тесты", | ||
"python.command.python.debugtests.title": "Запустить все тесты под отладчиком", | ||
"python.command.python.execInTerminal.title": "Выполнить файл в консоли", | ||
"python.command.python.setInterpreter.title": "Выбрать интерпретатор", | ||
"python.command.python.updateSparkLibrary.title": "Обновить библиотеки PySpark", | ||
"python.command.python.refactorExtractVariable.title": "Извлечь в переменную", | ||
"python.command.python.refactorExtractMethod.title": "Извлечь в метод", | ||
"python.command.python.viewTestOutput.title": "Показать вывод теста", | ||
"python.command.python.selectAndRunTestMethod.title": "Запусть тестовый метод...", | ||
"python.command.python.selectAndDebugTestMethod.title": "Отладить тестовый метод...", | ||
"python.command.python.selectAndRunTestFile.title": "Запустить тестовый файл...", | ||
"python.command.python.runCurrentTestFile.title": "Запустить текущий тестовый файл", | ||
"python.command.python.runFailedTests.title": "Запустить непрошедшие тесты", | ||
"python.command.python.execSelectionInTerminal.title": "Выполнить выбранный текст или текущую строку в консоли", | ||
"python.command.python.execSelectionInDjangoShell.title": "Выполнить выбранный текст или текущую строку в оболочке Django", | ||
"python.command.jupyter.runSelectionLine.title": "Выполнить выбранный текст или текущую строку", | ||
"python.command.jupyter.execCurrentCell.title": "Выполнить ячейку", | ||
"python.command.jupyter.execCurrentCellAndAdvance.title": "Выполнить ячейку и перейти к следующей", | ||
"python.command.jupyter.gotToPreviousCell.title": "Перейти к предыдущей ячейке", | ||
"python.command.jupyter.gotToNextCell.title": "Перейти к следующей ячейке", | ||
"python.command.python.goToPythonObject.title": "Перейти к объекту Python", | ||
"python.snippet.launch.standard.label": "Python", | ||
"python.snippet.launch.standard.description": "Отладить программу Python со стандартным выводом", | ||
"python.snippet.launch.pyspark.label": "Python: PySpark", | ||
"python.snippet.launch.pyspark.description": "Отладка PySpark", | ||
"python.snippet.launch.module.label": "Python: Модуль", | ||
"python.snippet.launch.module.description": "Отладка модуля", | ||
"python.snippet.launch.terminal.label": "Python: Интегрированная консоль", | ||
"python.snippet.launch.terminal.description": "Отладка программы Python в интегрированной консоли", | ||
"python.snippet.launch.externalTerminal.label": "Python: Внешний терминал", | ||
"python.snippet.launch.externalTerminal.description": "Отладка программы Python во внешней консоли", | ||
"python.snippet.launch.django.label": "Python: Django", | ||
"python.snippet.launch.django.description": "Отладка приложения Django", | ||
"python.snippet.launch.flask.label": "Python: Flask (0.11.x или новее)", | ||
"python.snippet.launch.flask.description": "Отладка приложения Flask", | ||
"python.snippet.launch.flaskOld.label": "Python: Flask (0.10.x или старее)", | ||
"python.snippet.launch.flaskOld.description": "Отладка приложения Flask (старый стиль)", | ||
"python.snippet.launch.pyramid.label": "Python: Приложение Pyramid", | ||
"python.snippet.launch.pyramid.description": "Отладка приложения Pyramid", | ||
"python.snippet.launch.watson.label": "Python: Приложение Watson", | ||
"python.snippet.launch.watson.description": "Отладка приложения Watson", | ||
"python.snippet.launch.attach.label": "Python: Подключить отладчик", | ||
"python.snippet.launch.attach.description": "Подключить отладчик для удаленной отладки", | ||
"python.snippet.launch.scrapy.label": "Python: Scrapy", | ||
"python.snippet.launch.scrapy.description": "Scrapy в интегрированной консоли" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
import * as os from 'os'; | ||
|
||
import * as arch from 'arch'; | ||
export const WINDOWS_PATH_VARIABLE_NAME = 'Path'; | ||
export const NON_WINDOWS_PATH_VARIABLE_NAME = 'PATH'; | ||
export const IS_WINDOWS = /^win/.test(process.platform); | ||
export const IS_64_BIT = os.arch() === 'x64'; | ||
export const IS_64_BIT = arch() === 'x64'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
import {BaseDebugServer} from "./BaseDebugServer"; | ||
import {LocalDebugServer} from "./LocalDebugServer"; | ||
import {RemoteDebugServer} from "./RemoteDebugServer"; | ||
import {DebugSession, OutputEvent} from "vscode-debugadapter"; | ||
import {IPythonProcess, IDebugServer} from "../Common/Contracts"; | ||
import { DebugSession } from 'vscode-debugadapter'; | ||
import { IPythonProcess, LaunchRequestArguments } from '../Common/Contracts'; | ||
import { BaseDebugServer } from './BaseDebugServer'; | ||
import { LocalDebugServer } from './LocalDebugServer'; | ||
|
||
export function CreateDebugServer(debugSession: DebugSession, pythonProcess: IPythonProcess): BaseDebugServer { | ||
return new LocalDebugServer(debugSession, pythonProcess); | ||
export function CreateDebugServer(debugSession: DebugSession, pythonProcess: IPythonProcess, args: LaunchRequestArguments): BaseDebugServer { | ||
return new LocalDebugServer(debugSession, pythonProcess, args); | ||
} |
Oops, something went wrong.