visual-studio-code

Change the number of lines shown in Visual Studio Code's built-in Terminal

拟墨画扇 提交于 2021-02-04 11:10:09
问题 I'm using the terminal which is integrated in Visual Studio Code. When I scroll up it shows the previous lines, but they are not enough for me. I need to see more lines. How can I increase the total number of lines that are displayed by the terminal in VS Code? 回答1: There is a way to change number of lines for that you have to go: file-->preferences-->configuration Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated

Change the number of lines shown in Visual Studio Code's built-in Terminal

扶醉桌前 提交于 2021-02-04 11:09:59
问题 I'm using the terminal which is integrated in Visual Studio Code. When I scroll up it shows the previous lines, but they are not enough for me. I need to see more lines. How can I increase the total number of lines that are displayed by the terminal in VS Code? 回答1: There is a way to change number of lines for that you have to go: file-->preferences-->configuration Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated

Change the number of lines shown in Visual Studio Code's built-in Terminal

倖福魔咒の 提交于 2021-02-04 11:09:25
问题 I'm using the terminal which is integrated in Visual Studio Code. When I scroll up it shows the previous lines, but they are not enough for me. I need to see more lines. How can I increase the total number of lines that are displayed by the terminal in VS Code? 回答1: There is a way to change number of lines for that you have to go: file-->preferences-->configuration Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated

Change the number of lines shown in Visual Studio Code's built-in Terminal

醉酒当歌 提交于 2021-02-04 11:09:12
问题 I'm using the terminal which is integrated in Visual Studio Code. When I scroll up it shows the previous lines, but they are not enough for me. I need to see more lines. How can I increase the total number of lines that are displayed by the terminal in VS Code? 回答1: There is a way to change number of lines for that you have to go: file-->preferences-->configuration Then, it will open file settings.json you should to search Integrated terminal and then you search for terminal.integrated

My C++ program won't compile on Visual Studio code

廉价感情. 提交于 2021-02-04 08:40:31
问题 I'm attempting to use Visual Studio Code for the first time and my C++ won't compile. I have already added mingw's bin and bash.exe from MSYS2 to my PATH. All of my code is in the same directory and straight from microsoft's guide https://code.visualstudio.com/docs/cpp/config-mingw (I did change the paths to mine). All of my files are also in the same directory. I've included the file helloworld.cpp: #include <iostream> using namespace std; int main() { cout << "Hello World"; } tasks.json: {

Using a shell command as VSCode task variable value

∥☆過路亽.° 提交于 2021-02-04 08:34:09
问题 I am trying to define a VSCode task in tasks.json that would adapt to the specific architecture where VSCode runs. To do this, I want to get the architecture as uname --m ( e.g. "aarch64" or "amd64"). My goal is to interpolate the output of uname into an environment variable like so "version": "2.0.0", "tasks": [ { "label": "build", "type": "shell", "command": "cmake", "args": [ "-DMYLIB_INCLUDE_DIR=$MYLIB/include", "-DMYLIB_LIBRARY=$MYLIB/lib" ], "options": { "env": { "MYLIB": "$

How to change Github local repo .git/config credentials to circumvent 403?

橙三吉。 提交于 2021-02-04 08:14:10
问题 I'm trying to push to my remote Github repository from my work PC that has other credentials set up and this is what I get: remote: Permission to *** denied to ***. fatal: unable to access 'https://github.com/***': The requested URL returned error: 403 I tried changing .gitconfig but it didn't help. I suspect VS code is somehow remembering the work credentials but I'm unable to find where is it. 回答1: Found an answer here. At the end, it wasn't about resetting VS code credentials. Find .git

Syntax highlighting suddenly different [duplicate]

喜夏-厌秋 提交于 2021-02-02 09:39:43
问题 This question already has an answer here : How use prev syntax highlighting for vscode (1 answer) Closed 11 months ago . I noticed recently that my vscode started acting a bit funny. Highlighting/changing colors on certain variables seemingly out of nowhere that are really throwing me off (lot of changing colors on return variables, bolding objects etc. A friend of mine is using the same color theme and we compared to make they were different and sure enough, mine has a bunch of whacky stuff

Syntax highlighting suddenly different [duplicate]

喜欢而已 提交于 2021-02-02 09:37:33
问题 This question already has an answer here : How use prev syntax highlighting for vscode (1 answer) Closed 11 months ago . I noticed recently that my vscode started acting a bit funny. Highlighting/changing colors on certain variables seemingly out of nowhere that are really throwing me off (lot of changing colors on return variables, bolding objects etc. A friend of mine is using the same color theme and we compared to make they were different and sure enough, mine has a bunch of whacky stuff

Syntax highlighting suddenly different [duplicate]

懵懂的女人 提交于 2021-02-02 09:36:42
问题 This question already has an answer here : How use prev syntax highlighting for vscode (1 answer) Closed 11 months ago . I noticed recently that my vscode started acting a bit funny. Highlighting/changing colors on certain variables seemingly out of nowhere that are really throwing me off (lot of changing colors on return variables, bolding objects etc. A friend of mine is using the same color theme and we compared to make they were different and sure enough, mine has a bunch of whacky stuff