Make Terminal highlight recognised code as I enter them in the terminal - terminal

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?

Related

How do I change the prompt color of Anaconda Prompt (cmd) on Windows 10?

I've been trying to change the color of Anaconda Prompts(cmd), which is for now (base) E:\VSCodeProjects>.
I googled for this extensively but seems like:
There is no such option to do this in .condarc. I expected it to be able to change the prompt color like .zshrc.
Also, I can't find any definitive way to change the color of the prompt of native Windows' cmd. All I found were some old ANSI Escape codes someone wrote back in 2009.
The only viable and reliable way I came across is setting the %PROMPT% variable on terminal manually, by doing something like: set "PROMPT=$e[44m%PROMPT%$e[0m". This command explicitly change the color of the prompt instantly without any side-effects but the problem is that I have to execute this command everytime I open the new Anaconda Prompt instance.
At this point, it would be satisfactory enough if there's a way to just execute set "PROMPT=$e[44m%PROMPT%$e[0m" command everytime I open a new Anaconda Prompt instance. However, other more effective approaches are welcome.
Please note that I'm NOT trying to change the color of the whole Anaconda Prompt. I just want to change the color of the prompt. i.e, (base) E:\VSCodeProjects>
I realise this is an old post, but thought I'd respond in case anyone is still looking for an answer. If you right click on the top of the Anaconda Prompt window and then click 'properties' on the pop-up, you are able to access all the customisation options.
Screenshot of method explained above

Edit terminal colors in WebStorm integrated terminal?

Does anyone know how to change the colors for the integrate terminal in WebStorm?
Currently it looks like this for me:
Which makes it super hard to see directory names.
If I could just have directories be a different color with no background or just bold text with no background. The key is I don't need my directories to have a background.
This is how it looks on Windows 10 using bash.exe. I can't currently show what it looks like when running outside of WebStorm, but I can show what it looks like on OSX as I'm having a similar issue:
OSX WebStorm with Material Theme plugin using /bin/zsh:
vs zsh in iTerm:
I'm mostly curious if there is a way to maybe turn off the Material Theme for just the integrated terminal or edit the colors directly there? If need be I can just use the external terminal, but it'd be nice to use the integrated one if I could just read all the text.

unwanted symbol appearing in integrated terminal in vs code

I'm using an embedded terminal in VS code for windows, but using zsh provided by babun as the shell.
I've also configured the prompt in the windows terminal app a little bit.
For some reason, the terminal app shows the prompt how I expect it to look:
terminal on windows
but the integrated terminal shows me a '%' symbol above each line:
integrated terminal in vs code
I'm still fairly new to customizing shells and have not been able to find a solution looking online, or playing around with the theme file myself.
I was hoping someone could look at my theme file below and help me understand what the possible offender for the '%' symbol could by could be:
modified babun.zsh-theme
I modified lines 4 and 10, to show the whole path in line 4 and show no path in line 10. The originals are commented out.

How to get colourful integrated terminal ("cmd") in VS Code

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, ...

RubyMine Terminal Not Working Win10

I recently installed RubyMine v7.1.4 on my Windows 10 machine. I loaded up an existing project and tried to open a terminal window inside RubyMine. When I first open the terminal it is blank and after a few minutes the standard prompt appears. But after the prompt has appeared, I cannot type anything into the terminal. The cursor blinks like it is waiting for input but I cannot type anything.
I am able to use a normal command prompt to run the commands I need to but I would like to get the terminal within RubyMine working. The settings for the terminal appear to be correct, it is pointing at "cmd.exe". I am not sure if it is relevant but my RubyMine installation is on my C: drive but the code repository is on my E: drive.
If you have any suggestions, they would be greatly appreciated. Thanks!
I had the same issue, and discovered that it is also affecting IntelliJ, another JetBrains family IDE; the bug has been reported, but fortunately, you can force your Windows 10 console (full of new features, but perhaps buggy? https://wpdev.uservoice.com/forums/266908) to operate in 'legacy mode' while we wait for a formal fix, which will allow you to get your RubyMine terminals up and running again:
Terminal works in Windows 10 if you use legacy console. To do so, open a
command prompt window, right click on the title, then select Properties. At
the bottom, check "Use legacy console". Confirm the dialog. Go back to the IDE
and launch a new Terminal. It should work.
All credit to: IntelliJ Idea Terminal broken with Windows 10. | JetBrains Bug Report.

Resources