public enum StringExDirection { RIGHT_TO_LEFT, LEFT_TO_RIGHT }
also I checked "After comma" in Spaces tab in my code style. But after I press Ctrl + Alt + L, IDEA will remove the space after comma.