Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Elixir 好用的編輯器
Search
bobo52310
July 20, 2016
Programming
240
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Elixir 好用的編輯器
於 CatchPlay 內部 Elixir 讀書會分享。
bobo52310
July 20, 2016
More Decks by bobo52310
See All by bobo52310
Introduction openstack-horizon
bobo52310
0
180
PHP7 傳說中的第七隻大象
bobo52310
2
180
軟體工程師的3大試煉-大安高工資訊科講座
bobo52310
0
410
JSON-LD 簡介
bobo52310
2
260
實戰驚豔 Laravel 給你的5個驚嘆號
bobo52310
9
980
Other Decks in Programming
See All in Programming
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
見えないものを探る要求要件定義に必要な基本的思考 / invisible-requirement-thinking
minodriven
15
8.3k
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.6k
ChromeでローカルLLM
ryu1013
0
110
Domain-Driven Transformation
hschwentner
2
2.3k
Simple Storage Service(S3) is not simple
iwatsukayura
0
270
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
160
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
150
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
8
2.1k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Building the Perfect Custom Keyboard
takai
2
900
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.1k
The agentic SEO stack - context over prompts
schlessera
0
970
RailsConf 2023
tenderlove
30
1.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Believing is Seeing
oripsolob
1
240
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3.1k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
The World Runs on Bad Software
bkeepers
PRO
72
12k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
550
Transcript
Elixir 好用的編輯器 by Bobo Chen
工欲善其事, 必先利其器。 http://www.fjycw.com/manage/upload/201205/20120530083951421_FJ1.jpg
鄉野調查時間:哪個是你目前開發主力的編輯器 • Vim、Emacs • Sublime Text、Atom、Notepad++、TextMate • Eclipse、Netbeans • JetBrains(IntelliJ、PHPSotrm、WebStorm、PyCharm...)
• Visual Studio、Visual Studio Code
好用的編輯器應該具備哪些條件? • Syntax Highlighting • Autocomplete • Go to function
definition • 豐富的套件支援 • 專案目錄結構瀏覽
推薦3款 Elixir 開發編輯器 Sublime Text IntelliJ IDEA Vim
Sublime Text 安裝與設定 安裝 Sublime Text 3 安裝 Sublime Package
Control 安裝 SideBarEnhancements
Sublime Text 推薦套件 • ApplySyntax ◦ 自動判斷文件的類型 • SublimeCodeIntel ◦
支援多種語言的 Autocomplete • SublimeLinter ◦ 支援多種語言的 Linter • GitGutter ◦ 在側欄顯示此檔 Git 修改差異 • EasyMotion ◦ 懶人鍵盤移動法
• ElixirSublime ◦ 支援 Elixir 語法 Code completion 和 Linter
• SublimeLinter-contrib-elixirc ◦ (需先安裝 SublimeLinter)支援 Elixir 語法 Linter • Elixir-tmbundle ◦ 支援 Elixir 語法 Linter 和整合 Build code ◦ - cd ~/Library/Application Support/Sublime Text 3/Packages ◦ - git clone git://github.com/elixir-lang/elixir-tmbundle Elixir Sublime Text 推薦套件 for Elixir
IntelliJ IDEA 安裝與設定 • 付費軟體,一年 $499 訂閱制。另外有 Community 版本可以免費使用。 •
IntelliJ 安裝 Elixir 套件,可以從 IDE 建立 Elixir project。 • 或是也可以在 PHPStorm、PyCharm 這些 Jetbrains 公司出品的 IDE 安裝 Elixir 套件即可支援 Syntax Highlighting,但是不支援從 IDE 建立 Elixir project) 。
IntelliJ IDEA 推薦套件 • intellij-elixir ◦ Elixir 官方推薦套件 • AceJump
◦ 懶人鍵盤移動法 • .ignore ◦ 內建許多語言的 .gitignore 的範本
Vim 安裝與設定 Mac:已經有內建 Vim。若是覺得 Mac 內建的 Vim 版本太舊,可使用 brew 安裝新版
Vim,並且在 .bashrc 設定 alias Ubuntu: CentOS: alias vim='/usr/local/bin/vim' apt-get install vim yum -y install vim
Vim 推薦套件 • vim-elixir • EasyMotion • Vundle • Undotree
• spf13-vim 大推!
適合的使用情境 • 輕巧快速開檔 • 單檔的 Elixir Script • 開啟完整專案類型 •
需要 Compile 的專案 • 在 Server 上面編輯
補充:Elixir 內建的指令與檔案格式 - Elixir 裝好後 Console 已經有以下指令可以使用: - iex:interactive mode
- elixir:執行 elixir script - elixirc:Compiler elixir file - mix:Elixir's build tool - 2種檔案格式 .ex 、 .exs - .ex 表示 complied files - .exs 表示 script files - 檔案名稱使用 "snake_case"
補充:Interactive mode - h - IO.puts “String” - respawn $iex>
Q&A