Skip to content

Latest commit

 

History

History
314 lines (249 loc) · 13.4 KB

intellij.md

File metadata and controls

314 lines (249 loc) · 13.4 KB

IntelliJ IDEA

https://www.jetbrains.com/idea/

IntelliJ on Mac notes.

Shortcuts differ between Windows and Mac, and even between versions.

IntelliJ IDEA vs PyCharm

If you're only doing Python then you may want to just get PyCharm.

If you're a serious experienced programmer or 'DevOps' you're probably a polyglot programmer who edits other files.

In that case stick to full IntelliJ with plugins (see Plugins section further down).

Plugins supported in PyCharm are usually also compatible with Intellij IDEA too as they're based on the same IDE framework by IntelliJ.

Install

Download link

brew install intellij-idea-ce

The Ultimate Shortcut

Cmd-Shift-A

This will allow you to type to search and find any action and hit enter to open it, such as a settings page, but it also shows the actual configured keyboard shortcut for things like commenting out a line.

This is useful because the internet is often wrong on the shortcuts depending on whether your're on Windows / Mac or different versions.

This is the authoritative shortcut of what your local keyboard shortcuts really are.

Plugins

You can use this command (doc) to install plugins quickly from the command line:

idea installPlugins "$plugin_name_or_id"

You must exit IntelliJ before running this as only one idea program can be running at a time.

Useful Plugins

These can be installed all in one shot using the script install_intellij_plugins.sh in the DevOps-Bash-tools repo:

install_intellij_plugins.sh

You can add / comment / uncomment which plugins to install in the adjacent setup/intellij-plugins.txt config file in that same repo.

Docker, Kubernetes and Terraform

idea installPlugins \
  Docker \
  org.intellij.plugins.hcl
  #com.intellij.kubernetes  # only available in Ultimate Edition :-(

Languages

idea installPlugins \
  com.jetbrains.sh \
  BashSupport \
  com.perl5 \
  com.ypwang.plugin.go-linter

Core Editing, Git & File Formats

idea installPlugins \
  mobi.hsz.idea.gitignore \
  org.editorconfig.editorconfigjetbrains \
  uk.co.ben-gibson.remote.repository.mapper \
  zielu.gittoolbox \
  net.vektah.codeglance \
  GrepConsole \
  BrowseWordAtCaret \
  net.seesharpsoft.intellij.plugins.csv \
  com.godwin.json.parser \
  de.netnexus.camelcaseplugin \
  org.intellij.RegexpTester \
  DBN \
  com.vladsch.idea.multimarkdown \
  com.ultrahob.zerolength.plugin \
  ru.adelf.idea.dotenv \
  "String Manipulation" \
  izhangzhihao.rainbow.brackets \
  com.andrey4623.rainbowcsv \
  indent-rainbow.indent-rainbow \
  com.github.lppedd.idea-return-highlighter

Usage Stats

idea installPlugins \
  com.wakatime.intellij.plugin \
  com.softwareco.intellij.plugin \
  Statistic \

Cloud

idea installPlugins \
  aws.toolkit \
  com.microsoft.tooling.msservices.intellij.azure \
  com.google.gct.core

CI/CD

idea installPlugins \
  com.github.mikesafonov.jenkins-linter-idea-plugin \
  'Jenkins Control Plugin' \
  org.intellij.groovy \
  "Jetbrains TeamCity Plugin" \
  io.snyk.snyk-intellij-plugin \
  org.sonarlint.idea  # use with SonarQube / SonarCloud

Optional - Nice to Haves

idea installPlugins \
  training \
  "Key Promoter X" \
  com.chrisrm.idea.MaterialThemeUI \
  lermitage.intellij.extra.icons \
  com.mallowigi \
  com.github.shiraji.yaemoji
  #"Mongo Plugin"  # who uses Mongo any more?

Python

idea installPlugins \
  PythonCore \
  ru.meanmail.plugin.requirements \
  com.leinardi.pycharm.pylint \
  com.leinardi.pycharm.mypy \
  io.github.donkirkby.livepycharm \
  com.pythondce \
  org.tonybaloney.security.pycharm-security \
  ru.meanmail.plugin.pyannotations

For IntelliJ Ultimate swap PythonCore for Pythonid.

JavaScript

idea installPlugins \
  NodeJS \
  com.wix.eslint \
  intellij.prettierJS
  quokka.js \

Java / Groovy / Scala / Kotlin & JVM Tools

idea installPlugins \
  org.intellij.scala \
  org.jetbrains.kotlin \
  MavenRunHelper \
  SBT \
  com.intellij.gradle \
  tv.twelvetone.gradle.plugin.navigation \
  dev.flikas.idea.spring.boot.assistant.plugin \
  Lombook Plugin \
  JRebelPlugin

Debugging

idea installPlugins \
  org.jetbrains.plugins.spotbugs \
  com.intellij.plugins.html.instantEditing \
  com.lightrun.idea.plugin.saas.LightrunPlugin \
  com.rookout.intellij-plugin

AI Plugins

idea installPlugins \
  com.tabnine.TabNine

Pair Programming

More Plugins