Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • File > New > Project
  • Choose Illuminated Cloud Project
  • Click the green button next to Connections - I'm not sure if something is wrong with my IDEA installation but it just looks like a green ' to me. I think it's meant to be a pencil. 
  • Click the green plus at the top of the Connections screen
  • Do the regular connection thingo - sad that it's not OAuth based yet. 
  • Click Test
    • For some reason, if you get the connection details wrong, you can't seem to edit them in this screen. I don't know why. 
    • So click Test before you then click Connect
  • The Metadata list will populate. 
    • I would LOVE to be able to select ALL in this list. 
    • Maybe there is a default metadata to be selected list similar to MM
  • Choose Selected
  • Select the Metadata Types you want. 
  • Click Next
  • Leave DEFAULTS on this next screen - don't mess around with it. 
  • Click Next
    • There is a setting where new projects can be opened in the same or new window. I have chosen new window - not sure which is best. 
  • Now WAIT. 
    • Hmm, this one was only 6 minutes - I wonder if it was because it was a production org, not a test org, and maybe the metadata retrieve is quicker on production orgs? 
    • See also this twitter convo about maybe removing the queue times for small Metdata retrievals 
  • When the diff tool comes up, select all in the upper window then press the >> arrows. 
    • This seems to take a while
    • When the screen is blank, close it. 
    • Now wait for the indexing to complete - this will take a few minutes also. 
  • Hmm, for some reason I got an error that the Offline Symbol Table was not created
    • third time creating a project, and not one has gone smoothly yet. 
    • It fixed itself after the Git index was completed. 
  • Now we want to save to Bitbucket. 
    • VCS > Enable Version Control Integration - choose Git. 
      • This creates a git repository in your folder. 
      • It takes a while to index
    • Go to Git Settings and check Allow force push.
      • Not really sure what this does, but it seems to be needed. 
    • Hmm, I'm confused again. I think what I did is:
      • Right click on SRC folder and choose add to Git
      • Hmm, I think I should have right clicked on the Project folder - as it only added the src folder to Git. So I went back and right clicked on the project folder. 
      • Then I could commit
    • Commit the changes. 
      • Eg Backup from Prod
      • Uncheck Perform code analysis
      • Uncheck Check TODO
      • Cick Commit
    • Now, because we have force Push on, the Push window will appear
    • Go to Bitbucket and create a repository
      • Make it Private
      • Grab the URL
      • Click Define remote in the push window. 
      • It should all just work (you will have had to have logged into Bitbucket at some point though). 
    • Click Push. 
    • It takes a while

...