Below is a listing of common errors encountered while using IntelliJ. If you're having an issue that's not covered, please ask, and add your own notes.
A problem occurred starting process 'command 'virtualenv''
This can happen when you are setting up a new IntelliJ development environment when attempting to build or even clean for the first time:
FAILURE: Build failed with an exception.* What went wrong:
Execution failed for task ':beam-sdks-python:setupVirtualenv'.
> A problem occurred starting process 'command 'virtualenv''
This indicates that virtualenv, used for Python development, is not currently available from IntelliJ.
- If you are not working on Python, the simplest solution is to not build it, i.e. only build the module that you're interested in.
- If you do need to build Python, follow the instructions here: Set up IntelliJ for Python development
Compilation failed with exit code 1; see the compiler error output for details.
This appears to be caused by poor parsing of the Gradle log by IntelliJ. In the log pane there is a button to toggle to the raw console.
IntelliJ can't load large files
In IntelliJ 2016 and higher: go to Help → Edit Custom Properties → Paste the following inside the properties file:
#--------------------------------------------------------------------- # Maximum file size (kilobytes) IDE should provide code assistance for. # The larger file is the slower its editor works and higher overall system memory requirements are # if code assistance is enabled. Remove this property or set to very large number if you need # code assistance for any files available regardless their size. #--------------------------------------------------------------------- idea.max.intellisense.filesize=2500
IntelliJ can't recognize Python files
- Press CTRL + ALT + SHIT + S → Go to Project Settings → Facets → expand Python → click on child → Python Interpreter
- Project Settings → Modules → Expand module → Python → Dependencies → select Python module SDK
TODO: Add more common FAQ issues