Changing indentation setting doesn't seem to affect either the code exported via the clipboard or via file export.

Can you add indentation of 2 spaces as an option as well.