Recently after updating my VS Code I saw the following image in the Release Notes (in the Split terminal feature section)
I can't figure out a way to add such Syntax Highlighting in my terminal. Obviously, this is bash in the integrated terminal. Well, I'm using Command prompt and I don't seem to find any satisfying answer for getting colored text on my terminal (that does not mean just foreground or background color). Mine looks like...
Is there a way to fill this dull terminal with interesting text colors.
The upper one is the output of something called "node"
the second one is your terminal
so the first one is an outputstream of e.g. an program which formats stuff a bit else, also is output of an program in a terminal displayed differently than just the shell
and now to your question, the shell inside vscode has the same theme like your standard shell
so windows -> cmd, ubuntu bash, ...
Related
I have been trying to find what this feature is called. So, while using VS Code in Windows 10 I found that the "git" and "cd" commands are highlighted with yellow color as I type them. I was wondering how I can do it with my Linux setup.
Here's a picture.
What is this feature called? And how can I get my terminal to work like this?
Hey i was coding a C program with vscode today and out of nowhere when I runned my code through code runner the output looked like this
and when I switched it to the regular bash terminal it looks like this
It seems to run the program fine and for bash it runs terminal commands normally so this might only be the font of the terminal.. How can i fix this back?
this is my settings.json
Edit: Typing on the terminal made me realized that as I type, the text cursor comes glitched in the already printed text which might mean that it is not only the fault of the font?
PyCharm offers the option to use the bash terminal (see File->Setting, where this screen comes up:)
Now when I have the bash terminal open while coding in PyCharm, like so
and want to scroll up line by line with the keyboard (in this case to view line by line the output of the previous command, pytest, that I ran that output the error message), I can't, no combination of Ctrl, Sift, Alt, Super, Up, Page Up will work (only Shift+Page Up scrolls up - but by a whole page, not a line, which is too much).
I'm not sure, is this because of bash or because of Pycharm (I'm using Ubuntu (16.04), if that matters).
This issue is really driving me nuts!
I'm using windows 10 and installed cmder, using the fish shell with omf Theme fishface.
But every new row, it will show a new row Mark as this picture. Screenshot for new row mark
How can I get rid of this mark?
** didn't work if I change to another theme too.
Additional information without cmder.
Screenshot with cmd.exe + bash + fish
You can't disable that feature. The fish shell uses a heuristic (inherited from zsh) to determine if the output of the preceding command ended with a newline. If it doesn't it displays the Unicode U+23CE symbol (what you're seeing) or a tilde. Search the code for the symbol PROMPT_SP. Commit 58347d49 that I wrote and merged 2016-12-23 fixed that behavior for the Windows ConEmu terminal emulator. See issue 789. Based on your problem description it appears that heuristic does not work correctly in the cmder terminal. This probably means that terminal emulator has a bug since it doesn't behave like nearly all the terminals that fish runs on. Feel free to open an issue
I use vim and ZSH. When I open a document, the background seems to not be correct at the end of each lines as you can see here :
I tried with different colorscheme and it do the same thing. It works with bash.
What is the solution?
These visual problems usually occur when Vim cannot fully control the terminal: Basic stuff like screen updates work, but things that are handled differently in different terminals (like setting the background color) do not.
Check and compare the values for $TERM in bash and zsh; it's likely the latter one is wrong. You shouldn't hard-code them in a startup file like ~/.bashrc; instead, this variable should be set by your terminal emulator(s). This way, you can also work when you connect remotely via a different terminal emulator (e.g. PuTTY on Windows).