Goal
Intellij/IDEAをとりあえず単なるエディタとして使ってみる
大まかな流れ
Log
まずはJetBrainsのIntellij/IDEAのサイトからzip落としてくるんですよ
まずはここのサイト行きます
今回は、30日間お試しのほうをダウンロード
ダウンロードされたzipをダブルクリック
Macのアプリケーションとして登録しましょう
ぜんぜんいいです
アプリケーションとして登録したので、アプリケーションとして起動(たとえばFindeでIDEAをヒットさせてダブルクリック)したらな、これが弾みますよね↓
今後いろいろ聞かれるけどだいたいOKでおk
Create New Projectしてみよう
Yes, I wanna create new project
その前にプラグイン入れよう。From RepositoryからPythonを選択(PHPとかJavaScriptとかも選択できるのかな)
Plugin > Brows Repositories > Python でダブルクリックすればいいのかな
Yes, ofcourse, I love Python!
待つ
Create Python Project
create new project したときに、Pythonの選択項目が増えてるはず。これを選択
新たに、じゃあまあsome_python_projとしてプロジェクトディレクトリつくろうか...
Interpreterはとりあえず選択しなくていいや
Djangoは嫌いです。GoogleAppEngine使うわけでもないし。
プロジェクトディレクトリはつくれたみたいだな...
fileつくってみよう
右クリックやツールバーなどから、new->fileしてこれをつくってみる
だいぶ補完してくれつつ、書けた
あとは実行してみよう
[17:34:14]otiai10 % pwd /Users/otiai10/idea [17:34:47]otiai10 % [17:34:56]otiai10 % ls -la total 8 drwxr-xr-x 4 otiai10 staff 136 8 3 17:29 . drwxr-xr-x 3 otiai10 staff 102 8 3 17:28 .. drwxr-xr-x 15 otiai10 staff 510 8 3 17:33 .idea -rw-r--r-- 1 otiai10 staff 340 8 3 17:29 some_python_proj.iml [17:34:57]otiai10 % cd .idea [17:34:59]otiai10 % ls -la total 144 drwxr-xr-x 15 otiai10 staff 510 8 3 17:33 . drwxr-xr-x 4 otiai10 staff 136 8 3 17:29 .. -rw-r--r-- 1 otiai10 staff 16 8 3 17:29 .name -rw-r--r-- 1 otiai10 staff 711 8 3 17:29 compiler.xml drwxr-xr-x 3 otiai10 staff 102 8 3 17:29 copyright -rw-r--r-- 1 otiai10 staff 166 8 3 17:29 encodings.xml -rw-r--r-- 1 otiai10 staff 325 8 3 17:29 misc.xml -rw-r--r-- 1 otiai10 staff 274 8 3 17:29 modules.xml -rw-r--r-- 1 otiai10 staff 187 8 3 17:32 other.xml drwxr-xr-x 3 otiai10 staff 102 8 3 17:29 scopes -rw-r--r-- 1 otiai10 staff 248 8 3 17:32 testrunner.xml -rw-r--r-- 1 otiai10 staff 112 8 3 17:33 this_is_first_file.py -rw-r--r-- 1 otiai10 staff 8794 8 3 17:29 uiDesigner.xml -rw-r--r-- 1 otiai10 staff 166 8 3 17:29 vcs.xml -rw-r--r-- 1 otiai10 staff 22051 8 3 17:33 workspace.xml [17:35:14]otiai10 % [17:35:15]otiai10 % [17:35:15]otiai10 % python this_is_first_file.py hoge otiai10 [17:35:22]otiai10 %
補完やべー、的なものは味わった、が...
なんかわかったよーなわからんよーな...