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 }

3 comments
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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

0

Please sign in to leave a comment.