AutoFormat

There is a setting to autoindent by using Ctrl Alt I.
Is there a setting that does this automatically whenever I paste code or enter ; or }

0

There is an option for formatting code on paste: Preferences | Editor | Smart Keys | Reformat on pase.

0
Avatar
Permanently deleted user

Hi Anton,
That worked thanks.. Is there a similar setting for ; or }

0

No, but you can format an arbitraty selection with Alt+Cmd+L and enable 'Format code on commit' in the commit dialog.

0

请先登录再写评论。