Skip to content

Latest commit

 

History

History
302 lines (241 loc) · 13.1 KB

intellij.md

File metadata and controls

302 lines (241 loc) · 13.1 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

Ultimate Edition Plugins

Docker, Kubernetes and Terraform

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

Core & DevOps

idea installPlugins \
  com.jetbrains.sh \
  BashSupport \
  com.perl5 \
  mobi.hsz.idea.gitignore \
  org.editorconfig.editorconfigjetbrains \
  uk.co.ben-gibson.remote.repository.mapper \
  zielu.gittoolbox \
  io.snyk.snyk-intellij-plugin \
  net.vektah.codeglance \
  GrepConsole \
  BrowseWordAtCaret \
  net.seesharpsoft.intellij.plugins.csv \
  com.godwin.json.parser \
  de.netnexus.camelcaseplugin \
  org.intellij.RegexpTester \
  lermitage.intellij.extra.icons \
  DBN \
  com.vladsch.idea.multimarkdown \
  com.wakatime.intellij.plugin \
  com.softwareco.intellij.plugin \
  Statistic \
  com.ultrahob.zerolength.plugin \
  org.sonarlint.idea   # use with SonarQube / SonarCloud

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"  # just use Jenkins - see the Jenkins page for easy Kubernetes automated deployment

Optional

idea installPlugins \
  training \
  "Key Promoter X" \
  ru.adelf.idea.dotenv \
  "String Manipulation" \
  com.chrisrm.idea.MaterialThemeUI \
  com.github.shiraji.yaemoji \
  izhangzhihao.rainbow.brackets \
  com.andrey4623.rainbowcsv \
  indent-rainbow.indent-rainbow \
  com.github.lppedd.idea-return-highlighter \
  #"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.

Golang

idea installPlugins \
  com.ypwang.plugin.go-linter

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 \
  https://plugins.jetbrains.com/plugin/20724-ai-coding-assistant

AI Plugins

idea installPlugins \
  com.tabnine.TabNine \

Pair Programming

More Plugins