AAtsushi's Blog
Tools

IntelliJ Initial Setup

→ 日本語版を読む

Overview

Here I note IntelliJ settings as a reference for myself.

I mainly use Terraform and Python, so the settings focus on those.

Git Toolbox is incredibly useful.

Settings

Plugins

  • File Watchers
  • Git ToolBox
  • Terraform and HCL

File Watchers Configuration

  • terraform fmt
  • flake8 (configured as custom)

IntelliJ Settings

  • Show spaces and tabs
    • Settings/Preferences | Editor | General | Appearance | Show whitespace — check this option
  • Automatically insert a newline at the end of file on save
    • Settings/Preferences | Editor | General | Ensure an empty line at file end of a file on Save — check this option
  • Line ending settings
  • Select the open file in the project pane

Python Settings

  • Configure the SDK and modules using the following
    • pyenv
    • venv

SQL Code Style

※ This feature may not be available in the free edition.

  • The default should be standard SQL. If you use MySQL, select the MySQL code style.
  • Set tabs to 2 spaces

References

footprints.link

www.karakaram.com

pleiades.io

pleiades.io