terminal in pycharm prints mess data - macos

Using PyCharm CE 2017 on MacOS Sierra 10.12.6.
when i'm trying to use terminal, after making some things and comfirming by 'enter' i have a lot of redundant data in output. For example:
133;C;1337;RemoteHost=apuzikov#77.88.0.89-1337;CurrentDir=/Users/apuzikov/Documents/projects/personal/python133;D;127133;A77:python apuzikov$ 133;Becho hi
hi
133;C;1337;RemoteHost=apuzikov#77.88.0.89-1337;CurrentDir=/Users/apuzikov/Documents/projects/personal/python133;D;127133;A77:python apuzikov$ 133;apuzikov$ 133;B
When I'm using itellij idea - everything fine. does anybody solved out how to remove this mess?

I solved this issue by following these step
Preferences --> plugins
Uncheck Python Terminal
Restart PyCharm

Related

Problem trying to run Flutter on any IDE on macOS

I recently got the idea to try out flutter and found particularly difficult to implement it on my macOS (intel).
I have well updated my path, I could run flutter doctor nicely.
Flutter doctor -v
The problem resides in setting up the IDE, I tried both VScode and IntelliJ IDEA.
And I got the same result both time.
env: bash issue
When trying to create a project, there is no issue recognizing the path as shown on this picture
, the problem is brought up right after, when I click Create. It says that env: bash no such file or directory. What I don't understand is that I have a Zsh Shell, and I changed the setting on my IDE to use the /bin/zsh
But I still get a bash (my old SHELL) problem ?
I get the same problem on VScode.
If anyone has any help or information to provide, I would gladly accept it !
Thanks a lot.

Wrong terminal emulator persists in VSCode

I'm currently using Debian Buster (10): installed a new terminal emulator (Alacritty) along with a new shell (ZSH); and configured my system to use this new terminal & shell as the defaults.
Unfortunately, VScode continues--regardless of the changes I make in my vscode settings file--to use some sort of defunct terminal. Notice the screwed-up styling:
screenshot of vscode with incorrect terminal
Anyone with knowledge on how to configure vscode to use the correct terminal would be very much appreciated. Thank you guys.
This is just a terminal font issue.
First you need to download and install a Powerline Font (there are quite a few, check this link for hints).
Then you need to assign that downloaded font to your terminal. You should add:
{
"terminal.integrated.fontFamily": "<your powerline font>"
}
to your settings.json file, or search in the gui settings Terminal integrated Font Family and add it there.
I personally use SauceCodepro NF which works great for me.

Go To Definition (Ctrl + Click) in VS Code v1.45.1 with Go v1.14.1 and Ubuntu 20.04 not working

I tried everything mentioned in below link
https://github.com/microsoft/vscode-go/issues/3072
I updated godef as suggested and installed gopls, but nothing worked for me. Anyone facing a similar issue?
I had the same issue using Go 1.16.8.
Use Alt + Click
I think the answer may vary based on what OS you're running, but what worked for me in WSL2 (Linux) was deleting the package rogpeppe under go>package>mod>github.com within VS Code and reinstalling it by running the following command go get -v github.com/rogpeppe/godef
I just got the same issue, with VSCode 1.66.2 and vscode-go 0.33. (May 2022)
Ctrl+click stopped working, and was replaced with Alt+Click.
To restore the usual behavior:
open the settings (Ctrl+,)
type multi cursor mod
switch from ctrlCmd to alt.

OS X 11.4 Xcode 7.3 Swift REPL Error

I'm new to Swift and I using Swift REPL to do some code.
And hers's the error.
But at the end of this long error log it comes :"Welcome to Apple Swift version 2.2 (swiftlang-703.0.18.1 clang-703.0.29). Type :help for assistance."
Is there something wrong and how can I fix this?
Thanks!
tl;dr - Check your PATH environment variable.
I had this same issue and was able to get through it. In my case I had MAMP PRO installed and was using a modified PATH for it. That turned out to be problematic for using the swift REPL.
I use Zsh as my default terminal shell, so in my ~/.zshrc file (~/.bashrc is the equivalent for Bash) I had changed
export PATH="/Applications/MAMP/bin/php/php5.5.3/bin:$PATH"
export PATH="/Applications/MAMP/Library/bin:$PATH"
to
export PATH="$PATH:/Applications/MAMP/bin/php/php5.5.3/bin"
export PATH="$PATH:/Applications/MAMP/Library/bin"
and restarted my terminal session. The swift REPL was now starting up properly again.
I had not checked thoroughly if this adjustment adversely affected my MAMP PRO setup but a quick check suggested that this change was fine.
That happened to me too. Not really know about ur problem but I solved mine by reinstalling the newest version of Xcode. That happened mostly because you did not update the new version of Mac which is required to run the newest Xcode which caused the terminal repl problem because the Xcode can not be run at the first place.

get vim working in mobaxterm

I have installed gvim and vim in mobaxterm 8 (using apt-get and mobapt respectively), and can't get either to work. nano works fine.
When I run the program, the cursor moves to a new line in the terminal but nothing happens.
I have also tried creating a .vimrc. Does anyone have any ideas? Thanks.
I installed the latest version of MobaXterm as up today which is 9.1 (http://mobaxterm.mobatek.net/download-home-edition.html) and the list of bug fixes includes the freezing problem you are are talking about. It works for me now and I no longer see that issue. The only thing is that after the installation is completed you need to download the CygUtils plugin and copy it to the same folder where the MobaXterm executable is located and then restart the application. It seems overall more stable now. Hope that helps.
I am using V9.4 which already has the vim. To configure the environment for your vim you may creat a .vimrc file in your home directory (go to the directory using cd command only).

Resources