Open VSCode from Terminal - Conflict with Parallels VSCode version - macos

Following this previous post, I was able to add code to my .bash_profile so that VSCode opens from the Terminal. However, it is the wrong VSCode that opens.
See, I have Parallels installed on my Mac, and that version of Parallels has a VSCode installed on it. When I run the Terminal command from the post mentioned above, Parallels is launched (even if not opened), and then the VSCode on it opens.
I would like to make sure that it's the VSCode installed on my Mac that opens. At this time, I am still using the Sublime CLI because the VSCode ones are of no use to me in this condition.
What would be my options?

The only way to achieve this I found was to disable sharing of Windows apps with Mac:

Related

Can't open Jupyter Notebook from Mac OS terminal

I've been having some issues trying to open a Jupyter Notebook from the terminal on my Mac - it just gives me killed: 9. Could there something interfering with Jupyter? If so, how can I find out/fix it?
I tried restarting my computer and reopening the terminal - this didn't work.
Some more info would be helpful. What command do you run to start Jupyter? What output in the terminal do you get?
An alternative to running/installing Jupyter from the terminal would be to use a desktop "click and run" Jupyter app.
For mac, Callisto would be a great option. It's currently in beta so you can try it out for free.

MacOS Ventura update changed terminal command location

I recently updated my Mac to MacOS Ventura Beta, causing terminal commands like gcc, pyhton3 and pip3 to not work. Until last week I was able to use them normally, but after the update terminal asks me to download XCode Commandline Developer Tools.
The problem that came with this, is that VSCode is unable to find include files for C/C++.
I tried reinstalling VSCode, VSCode extensions related to C/C++, and even changing the #include_path for C files in VSCode, but nothing seems to work.
Any help would be very much appreciated :).
I wanted to put my solution here.
The new macOS Ventura is officially released now. I encountered the same issue you described. The solution was pretty simple, just to install XCode.
Run this command in Terminal.app:
xcode-select --install
Let it install the XCode.
Restart your VSCode.
You should be working correctly now.

Installed iterm2, now both vscode and mac internal terminals are not working

I installed iterm2 and oh my zsh on my new macbook pro M1. Now I can not use the internal vscode terminal or mac terminal.
What I have tried:
I have updated my mac, vscode, iterm2, brew, and oh my zsh.
I am using zsh.
I checked my system preferences/users & groups/unlock/advanced options/login shell: /usr/local/bin/zsh. Which seems correct?
In iterm2 I checked echo $SHELL. (see image)
In iterm2 I checked echo $PATH. (see image)
I ran brew doctor. No issues there.
Checked that I had oh my zsh installed and updated.
iterm2-shell/path/brew/ohMyZsh
In vscode I have looked at code/preferences/settings/[typed]terminal
checked terminal>integrated>shell: Osx
checked that json file. I don't know what Im looking for there.
vscode-settings.json
Need Help With:
In vscode the terminal window does not open now and I get a error message.
vscode internal terminal error message
Now that I have iterm2, am I no longer able to use the internal mac terminal? When I go to open the internal mac terminal it is stuck on the following screen.
Internal mac terminal
Any help or guidance would be much appreciated. I am new to the terminal and command line.
Thanks in advance.

Show terminal in IntelliJ Mac

I'm using a Mac and my IntelliJ community has the 2020.1.2 version.
I'd like to see the terminal to use git commands and so. In my Windows 10 PC, I just have to go to View > Tool Windows > Terminal, but I don't see that option in my Mac.
What should I do to see that option? Thanks in advance!

Where is the Spyder Terminal (yeah, I downloaded it)?

I downloaded the Spider Terminal plugin from Github via Anaconda Prompt though, I can't find the Terminal when I boot Spyder -_- .
Does someone know Where it is ?
For me it appeared as a tab next to the IPyhton consoles.
You can click View -> Panes -> Terminal to toggle it on and off, that should help you find where it is.
For Spyder 4.0.1, you need to install the terminal explicitly using
conda install spyder-terminal -c spyder-ide
Restart spyder and after installation, you'd see View> Panes > Terminal. The Terminal can be seen adjacent to the IPython console and History tab at the bottom.
Checkout this is repo for more info.
If you have Anaconda Prompt, you can change working directory to the project you are working on. Then you can write all the commands in anaconda prompt. No need for terminal.
Unfortunately, unlike PyCharm, Spyder does not have default terminal.

Resources