- java html 等の統合エディタ
- version 13用ドキュメント
- eclipse & emacs ユーザ的設定
Haxe 用メモ
install†
13 を取得 (14 はまだ未対応のプラグインがある)
installer -> 自動
Plugins(用途に合わせて)†
Haxe†
[File] -> [Settings] -> [Plugins] -> 【Browse repositories】
Haxe support
LESS†
[File] -> [Settings] -> 【Browse repositories】
LESS CSS Compiler
[File] -> [Settings] -> ≪less≫で検索
less の入っているディレクトリを指定
出力ディレクトリを指定
Settings†
キーバインド†
for Emacs 派
[file] -> [settings] -> [IDE Settings] -> [Keymap]
keymaps -> Emacs
Tab | Cyclic Expand Word(Backward) | 単語補完 |
Ctrl+z | undo | |
Ctrl+c | Copy | |
Ctrl+v | Paste Simple | |
Ctrl+i | tab | |
Ctrl+t | Show intention actions and quick-fixes | import文の追加など |
Alt+Shift+r | rename | リファクタリング |
Alt+Shift+f | Find in Path | プロジェクト内検索 |
F3 | declaration | 宣言に飛ぶ |
個人的設定†
[Settings] -> [Editor] -> [Smart Keys] Insert pair bracket / Insert pair quote をはずす
-> [Appearance] Show line numbers
Project window†
Auto Scroll to source | on |
Auto Scroll from source | on |
First Step†
build.hxml
-cp src
-main Main
-js html/main.js
-lib jQueryExtern
[file] -> [project settings] -> [Haxe]
HXML
先ほどの build.xml を指定
[file] -> [project settings] -> [Haxe]
libs に jquery extern を追加
html/index.html
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
</head>
<body>
hello haxe
</body>
</html>