def METHOD_NAME(fips_dir, proj_dir):
    '''deletes the .idea directory'''
    clion_dir = proj_dir + '/.idea'
    if os.path.isdir(clion_dir):
        log.info(log.RED + 'Please confirm to delete the following directory:' + log.DEF)
        log.info('  {}'.format(clion_dir))
        if util.confirm(log.RED + 'Delete this directory?' + log.DEF):
            if os.path.isdir(clion_dir):
                log.info('  deleting {}'.format(clion_dir))
                shutil.rmtree(clion_dir)
            log.info('Done.')
        else:
            log.info('Nothing deleted, done.')
    else:
        log.info('Nothing to delete.')