vscode-settings

VSCode: Turn auto scrolling permanently ON

社会主义新天地 提交于 2021-01-21 08:46:30
问题 In Visual Studio Code, is there any way to force the auto-scrolling option of the Output panel permanently enabled? At the moment I have to click on the lock button every time I build my project to disable the scroll lock or better to say enable the auto-scrolling feature and this is so annoying. I took a look at the settings but couldn't find any relevant parameter there. Any ideas? 回答1: An option to turn off the smart scroll feature was included in one of the recent updates (probably in the

VSCode: Turn auto scrolling permanently ON

泄露秘密 提交于 2021-01-21 08:45:47
问题 In Visual Studio Code, is there any way to force the auto-scrolling option of the Output panel permanently enabled? At the moment I have to click on the lock button every time I build my project to disable the scroll lock or better to say enable the auto-scrolling feature and this is so annoying. I took a look at the settings but couldn't find any relevant parameter there. Any ideas? 回答1: An option to turn off the smart scroll feature was included in one of the recent updates (probably in the

VS Code: enable javascript intellisense in typescript project

不想你离开。 提交于 2021-01-21 06:53:31
问题 Is there a way to enable intellisense for Javascript files in a Typescript project? If I import a function from a javascript package like this: import foo from "js-package" and I'm in index.js, I see the intellisense picking up JsDoc comments and listing the parameters taken by the function; if I'm in a .ts file however, I don't get any of this. How do I enable Js intellisense in .ts files, using VS Code? EDIT: This is what happens: Ironic, isn't it? 回答1: You do not need any plugins. Just

VS Code: enable javascript intellisense in typescript project

房东的猫 提交于 2021-01-21 06:53:00
问题 Is there a way to enable intellisense for Javascript files in a Typescript project? If I import a function from a javascript package like this: import foo from "js-package" and I'm in index.js, I see the intellisense picking up JsDoc comments and listing the parameters taken by the function; if I'm in a .ts file however, I don't get any of this. How do I enable Js intellisense in .ts files, using VS Code? EDIT: This is what happens: Ironic, isn't it? 回答1: You do not need any plugins. Just

enabling pylint_django plugin in vscode, pylint stop working

ぃ、小莉子 提交于 2021-01-20 23:40:25
问题 That's my user settings in vscode { "python.pythonPath": "/Users/cristiano/miniconda3/envs/django-rest-2/bin/python", "python.linting.pylintEnabled": true, "python.linting.enabled": true, "python.linting.pylintArgs": [ "--load-plugins", "pylint_django" ], } I installed the plugin via conda, same as the pylint pylint 2.1.1 py36_0 pylint-django 0.11.1 py_1 conda-forge pylint-plugin-utils 0.4 py_0 conda-forge If i commented out the "python.linting.pylintArgs" section, pylint works with no

How to reference another environment variable inside an env file used by .devcontainer running inside a Visual Studio Code docker container?

喜你入骨 提交于 2021-01-20 18:31:59
问题 Summary I am using Visual Studio Code to run a docker container and passing my environment variables as a file. Problem I am trying to format a string dynamically from other environmental variables and having trouble resolving the string. I am able to build the container and debug terminal tab shows no problems. I am currently not using docker-compose.yml , but rather the Visual Studio .devcontainer settings. Code devcontainer.json ... "runArgs": [ "--env-file", "${localWorkspaceFolder}/.env

How to reference another environment variable inside an env file used by .devcontainer running inside a Visual Studio Code docker container?

断了今生、忘了曾经 提交于 2021-01-20 18:26:01
问题 Summary I am using Visual Studio Code to run a docker container and passing my environment variables as a file. Problem I am trying to format a string dynamically from other environmental variables and having trouble resolving the string. I am able to build the container and debug terminal tab shows no problems. I am currently not using docker-compose.yml , but rather the Visual Studio .devcontainer settings. Code devcontainer.json ... "runArgs": [ "--env-file", "${localWorkspaceFolder}/.env

How to reference another environment variable inside an env file used by .devcontainer running inside a Visual Studio Code docker container?

落爺英雄遲暮 提交于 2021-01-20 18:25:12
问题 Summary I am using Visual Studio Code to run a docker container and passing my environment variables as a file. Problem I am trying to format a string dynamically from other environmental variables and having trouble resolving the string. I am able to build the container and debug terminal tab shows no problems. I am currently not using docker-compose.yml , but rather the Visual Studio .devcontainer settings. Code devcontainer.json ... "runArgs": [ "--env-file", "${localWorkspaceFolder}/.env

Something is wrong with Emmet in Visual Studio Code

我的未来我决定 提交于 2021-01-20 17:55:51
问题 After the last update, Emmet is working in some different (incorrect) way. If I'm typing usual code in Emmet syntax like: .row>.col*2 and press Tab it's not working. If I type: h1{Some title} and press Tab it's also not working, but if I put the cursor inside brackets, and then press Tab — in this case it's going to work. This is my Visual Studio Code configuration: "editor.fontSize": 12, "editor.wordWrap": "on", "editor.wrappingIndent": "indent", "editor.minimap.enabled": true, "workbench

Something is wrong with Emmet in Visual Studio Code

蓝咒 提交于 2021-01-20 17:55:07
问题 After the last update, Emmet is working in some different (incorrect) way. If I'm typing usual code in Emmet syntax like: .row>.col*2 and press Tab it's not working. If I type: h1{Some title} and press Tab it's also not working, but if I put the cursor inside brackets, and then press Tab — in this case it's going to work. This is my Visual Studio Code configuration: "editor.fontSize": 12, "editor.wordWrap": "on", "editor.wrappingIndent": "indent", "editor.minimap.enabled": true, "workbench