• Greg Spencer's avatar
    Creates a new flutter command 'ide-config' and removes *.iml and .idea from tree. (#12958) · 797b39e9
    Greg Spencer authored
    Creates a new (hidden) flutter command 'ide-config' that will create and/or update
    existing .iml files and some files under the .idea directory, as well as
    removing existing *.iml files and the .idea directory.
    
    It also:
    
     * Adds *.iml to the .gitignore
     * Removes existing .iml files from the repo, and moves them to the
       packages/flutter_tools/ide_templates/intellij directory.
     * Adds a flag to ide-config ('--update-templates') that will take any new .iml
       files in the flutter tree and add them to the existing templates.
         - If --overwrite is also specified, then all existing templates will also
           be overwritten with the contents from the flutter tree, and any that have
           been deleted from the flutter tree will also be removed from the
           templates.
     * Added new run configurations for all existing app targets that will now also
       be automatically added to IntelliJ.
     * Setting up the environment also includes setting the coding style guidelines
       and the git VCS.
     * Note that after this PR lands, Flutter developers will need to run it once to
       re-create the .iml files and configuration files that have been removed.
    
    After this PR lands, .iml files will no longer appear in the untracked files
    section for git.
    797b39e9
manual_tests___drag_and_drop.xml.copy.tmpl 316 Bytes