Skip to content

Instantly share code, notes, and snippets.

@david-arteaga
Created April 14, 2019 16:57
Show Gist options
  • Save david-arteaga/24233e51cbe62a02d57cc0709f7ccd2c to your computer and use it in GitHub Desktop.
Save david-arteaga/24233e51cbe62a02d57cc0709f7ccd2c to your computer and use it in GitHub Desktop.
[IntelliJ - add generated sources so IDE recognizes them]
  1. Right click on the folder
  2. Mark Directory as
  3. Generated Sources Root

If you are using gradle and the idea plugin, you can add the folder in the sources configuration in the build.gradle file and IntelliJ will pick it up too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment