Avoiding inconsistent indenting errors, when pasting in code.

Is there any kind of Smart Copy available?

When I paste Code from AIs or other sources, I often get indent errors, although they are sometimes reported as missing attributes and such.

I try to paste the code where it belongs, but oftentimes there's an error that turns out to be due to inconsistent indents.

wpCurious's avatar
81
wpCurious
asked 2025-03-10 20:00:48 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Is the Editor > Indent Style > Convert Indent Style in Paste preference enabled? If so, Wing should be converting the indents, but possibly something is failing. In that case please send us an example so we can take a look. Also please let us know which product and version you're using.

Wingware Support's avatar Wingware Support (2025-03-12 08:00:04 -0500) edit
add a comment see more comments