by shigemk2

当面は技術的なことしか書かない

IntelliJ

opa-idea-plugin

Not compatible with the version of your running IDE (IntelliJ IDEA 2023.3.2) どうして…? github.com plugins.jetbrains.com

IntelliJのCannot locate module locally

こういう書き方するとCannot locate module locallyエラーが出てきて module "gce-container-c1" { source = "terraform-google-modules/container-vm/google" version = "~> 2.0" container = { image = "eu.gcr.io/XXXX" } restart_policy = "Always" } so…

IntelliJ Idea spellchecking

IntelliJはtypoをよく見てくれる でも固有名詞までは正確にチェックしてくれない(typesafeとかzsetとか) ので、alt + enterでsaveするとそのワードはスペルチェックから除外される Spellchecking - Help | IntelliJ IDEA

IntelliJ ignore checking spell

IntelliJとかのスペルチェックを無視したいときは、 Accepted wordsに任意の文字列を入力する(find actionが使えたら設定まで楽にジャンプできる) File | Settings for Windows and Linux or IntelliJ IDEA Preferences for macOS and click Spelling under …

JetBrains' transparency

(defun alpha (parameter) (interactive "sChange Background Alpha:") (set-frame-parameter nil 'alpha (string-to-number parameter)) ) (set-frame-parameter nil 'alpha 84) Emacsでいうところの、こういうことをやりたいのだけれど、難しいな

IntelliJ move next prev tab

IntelliJとか(RubyMineも)のkeymapで、タブ移動 ctrl-x n(次) ctrl-x p(前)

scala type annotation intellij

IntelliJだと、こういうふうに変数の型を定義しないとデフォルトでwarningになるっぽい。 val a = "hoge" Explicit type annotation って怒られる。 Beyond Code Style | IntelliJ Scala plugin blog

intellij shortcutについて(emacs)

デフォルトのキーバインド集。 https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf これを熟読するのも良いけど、探すの面倒なので、find actionを多用している。 macのデフォルトは shift + command + a…

IntelliJのテンプレート設定

file and code templates ヘッダはこんな感じだけど、こういうのはとりあえずつぶしておきたい /** * Created by ${USER} on ${DATE}. */ IntelliJ IDEA 2017.1 Help :: Creating and Editing File Templates

intellij cdi

View | Tool Windows | Project モジュールのところを右クリックしてAdd Frameworks Support dialog CDI: Context and Dependency Injection にチェックを入れる ダウンロードなど任意のものを選ぶ IntelliJ IDEA 2017.1 Help :: Context and Dependency Inj…

indent 4 to 2 intellij javascript

Settings | Editor | Code Style intellij-support.jetbrains.com

webstorm デバッグ

エクステンション側のポートをアプリのポートと合わせること WebStorm 7の大幅に改善されたJavaScriptデバッガ | JetBrains ブログ qiita.com

webstorm + chrome + npm でデバッグ

npmの実行コマンドとはまた別に、JavaScriptのデバッグを用意しておく chrome のIDEエクステンションを入れておく 起動したアプリケーションのポートをエクステンションの設定に入れておく qiita.com

gradle android project for intellij

GradleでAndroidのプロジェクトを作成することがIntelliJではできる。AndroidのSDKがある程度最新でないといけない。 IntelliJ IDEA 2016.1 Help :: Creating a Gradle-Android Project

contribute IntelliJ

こっち。バグレポートやパッチの送り先も記載。 Contribute - IntelliJ Open-Source Project - Confluence

UbuntuでIntelliJを使ってAndroidアプリを開発したい人生

あんまり真面目にまとめる気がない。 要点 Android SDKを入れる ダウンロードページ IntelliJでSDKの設定を行う KVMを入れて、Androidのエミュレータを設定する スクショ Android SDKを入れる IntelliJでプロジェクトを作成する 参考にしたやつ qiita.com qi…

Disable intellij indexing on specific folder

stackoverflow.com File | Project Structure | Modules | Sources で、excludeにマークを付けたらオーケーです。

IntelliJの背景を透明にしたい人生だった。でも無理だった

こういうのがしたかった。 Emacs的には、こう。 (defun alpha (parameter) (interactive "sChange Background Alpha:") (set-frame-parameter nil 'alpha (string-to-number parameter)) ) (set-frame-parameter nil 'alpha 84) 何をどう調べてもダメっぽい…

IntelliJ keyboard binding: delete a file

左側のプロジェクトから、delete。backspaceじゃないよ。deleteだよ。 stackoverflow.com

IntelliJ keyboard binding: create a new file

EmacsだったらC-x C-fですんなりうまくいくんですが…… alt + 1 → 矢印キーで移動 → alt + insert という流れ。 stackoverflow.com

Classのヘッダを修正したい

Preference > Editor > File and Code Templates から Includes タブの File Header を選択すること。 qiita.com

Jump Emacs from IntelliJ

developer.atlassian.com Program emacsclient parameters -n $FilePath$ Working Directory $FileDir$ からの、これ。

IntelliJのソースコードの部分のフォントを変えたい人生だった

Appearanceじゃないんね Settings → Editor → Color & Font → Font からの Save As gist.github.com

IntelliJ Emacs Keymapsのメモ

C-x 2 横分割 C-x 3 縦分割 C-x 0 元に戻す ひととおりできる。 spin.atomicobject.com

IntelliJ IDEA keymap reference in Linux

Emacsにするとほぼがらっと変わるんだけど、しかもReferenceが、ない。直接設定を見なよ、ってことかな。 https://resources.jetbrains.com/assets/products/intellij-idea/IntelliJIDEA_ReferenceCard.pdf

Cannot redefine component

IntelliJでPlayFramework(Scala)のリポジトリをactivator runしようとしたらば、自分も似たようなトラブルに見舞われました。 play.PlayExceptions$UnexpectedException: Unexpected exception[BootException: Cannot redefine component. ID: compiler-inte…

IntelliJでScalaファイルを作る時のテンプレートを弄る

Preferences →Editor→ File and Code Templates page こんな感じでいじってみる。あとはもうマクロの世界ですね。 /** * ${NAME} */ IntelliJ IDEA 2016.1 Help :: Creating and Editing File Templates

String Manipulation

ソースコードをスネークケースをキャメルケースに変換するなどが出来るプラグイン。デフォルトではキーバインドが割り当てられていないので、適当に割り振る必要があります。 stackoverflow.com JetBrains Plugin Repository :: String Manipulation

明日試すactivator -jvm-debug 9999 run

qiita.com だけじゃなくて、虫アイコンも押してみよう。

J 行複製

mac command + d