Skip to content

WIP: Настройки прокси в первом приближении #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

EvilBeaver
Copy link

На данный момент победить прокси не удалось, но работать должно примерно так, как в PR

@@ -71,6 +74,12 @@ export class ServerDownloader {
this.installDir = installDir;
this.assetName = assetName;
this.token = token;

const configuration = vscode.workspace.getConfiguration(LANGUAGE_1C_BSL_CONFIG);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

по аналогии с token это лучше передавать из-вне

@@ -355,6 +360,7 @@
"request": "^2.88.0",
"request-progress": "^3.0.0",
"request-promise-native": "^1.0.8",
"https-proxy-agent": "^5.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

кажется, тут лишний пакет

@nixel2007
Copy link
Member

@EvilBeaver не хочешь добить?

@EvilBeaver
Copy link
Author

А ноду в vscode обновили? Тут проблема в том, что я уже не работаю в той корп.сети в которой была наглухо закрытая прокся. И поэтому понять успех или неуспех - не смогу.

Там кончилось дело тем, что в vscode была версия ноды, в которой внутри той сети вообще не работало хттп и прокси, даже в чистых JS скриптах.

@nixel2007
Copy link
Member

А ноду в vscode обновили?

сейчас 12.14.1. Какая была на момент отправки пулл-реквеста уже не помню. :(

@nixel2007 nixel2007 force-pushed the develop branch 2 times, most recently from 28f3c05 to 59d1eb3 Compare December 5, 2024 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants