Problems with terminal [duplicate] - visual-studio-code

This question already has answers here:
Enable or disable VS Code Integrated Terminal Tabs?
(5 answers)
Closed 1 year ago.
My terminal now looks like this:
Today's terminal
But yesterday my terminal was ok and it looked like this:
old terminal
So I would like to have the old terminal.
Thanks.

Open settings.json
and then
"terminal.integrated.tabs.enabled": true
You just have to turn it false

Related

How can I switch cursor from code to terminal? [duplicate]

This question already has answers here:
Switch focus between editor and integrated terminal
(26 answers)
Closed 1 year ago.
I am using VS CODE v1.63(34 bit) on windows 7. I have node installed for executing javascript in the terminal in vs code.
Try to use shortcut like this: Control + tilde => Ctr+~
Tested on Win10 and Ubuntu 20.04

How to do a complete uninstall of Visual Studio Code on a Mac [duplicate]

This question already has answers here:
How to completely uninstall VS Code on mac?
(8 answers)
Closed 1 year ago.
I seem to be making things worse with trying to fix the terminal configuration...I think it would be easier to just start from scratch. Does anyone have some easy to follow steps on how to completely uninstall VS Code?
According to the VS Code documentation, you should delete $HOME/Library/Application Support/Code and ~/.vscode after uninstalling the software to completely remove user data.

Get rid of the "M" mark after file name in vscode [duplicate]

This question already has an answer here:
VSCode: enable or disable editor tabs modified since last git commit, show git status with modified tabs colors
(1 answer)
Closed 1 year ago.
This post was edited and submitted for review last year and failed to reopen the post:
Original close reason(s) were not resolved
I don't know if it is a new feature in vscode. But I just want the "1" mark and the "M" mark after the file names disappear:
Does anyone one know how to turn if off?
For Linux users:
add this line to the settings.json file of vscode:
"workbench.editor.decorations.badges":false,
For macOS Users:
thats coming from the git gui in macOS you can disable it by going to the settings and unchecking the "enable git" like this:
Screenshot
Doing this will not disable command line use of git cli it will only disable the GUI features provided by Vs Code at least as far as Ive tested.

Go to current path in Console or PowerShell Terminal in VS Code [duplicate]

This question already has answers here:
VS Code - Shortcut to change the current directory in the PowerShell console to the currently opened file? [duplicate]
(1 answer)
How to quickly change shell folder to match the currently open file
(5 answers)
Closed 3 years ago.
Quick Question: Is there a shortcut key or an add-on for VS Code that updates the path in the integrated terminal to the path of the file that is currently open??
For example: Powershell in the integrated terminal always opens in my C:\Users\andy folder, but if I have a script in say c:\scripts\powershell\superdooperhacks\andysscript\ I need to cd through a lot of folders to get there (or prepend the command with the entire path).
The only quick way I found so far is to right click on the file and Reveal in Explorer and then open another Powershell session by right-clicking and... you get the idea. That means, I now have three windows open and it defeats the purpose of having an integrated shell.
Try Terminal Here add-on. Exposes the command terminalHere.create that creates a terminal at the current file's directory. This can be accessed through the command palette (ctrl/cmd+shift+p) or by attaching a custom keybinding to it.

how to open emacs via OSX terminal [duplicate]

This question already has answers here:
How to launch GUI Emacs from command line in OSX?
(15 answers)
How to start "emacsformacosx" in terminal
(5 answers)
Closed 9 years ago.
how do you open emacs for OSX?
I have it downloaded in my Applications, but I don't know how to open it via my terminal (calling it "emacs test.cpp")..
I checked out some sites, but their solution didn't work for me.
I have this in my .bashrc (or .zshrc) file.
alias emacs="open -a Emacs.app"
ysakamoto's answer is correct.
I've taken it a step further, I'm using a shellscript using emacsclient to open a file in a running instance of Emacs, or launch a new one if there's none running. Alternatively, it just focuses Emacs/opens an empty session when I don't give it a file. Take a look.