Code block paste adding additional indent [3]

Code block paste adding additional indent

Sunday, March 26, 2017 4:43 AM - MingXian Wu

when pasting a block of python code in ipython, Xshell 5 adding addtional indent. And this results in an indent match error, but putty has not this problem

Program Ver. : Xshell 5


Re: Code block paste adding additional indent

Thursday, March 30, 2017 5:48 PM - Support

In programs such as vim, the auto indent feature can create issues. I believe ipython does this as well.

You need to temporarily set auto indentation off when pasting long lines using the following:

In [1] : $autoindent
Automatic indentation is: OFF

Technical Support

Like us on image.png (53.7 KB)  


Previous views: 111