LoginSignup
5
2

More than 5 years have passed since last update.

emacs で jedi を使うための設定の備忘録

Last updated at Posted at 2017-02-15

環境

・ Ubuntu 16.04
・ Emacs 24.5.1

やったこと

(1) ~/.emacs.d/init.el に下記を記述

;; melpa
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

(2) 下記URLを参考にインストール

~/.emacs.d/init.el は、以下のようになった。

;; melpa                                                                                                                         
(require 'package)
(add-to-list 'package-archives '("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

;;jedi                                                                                                                           
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:complete-on-dot t)

(3) virtualenv インストールしてないとエラーになったので、インストールした

pip install virtualenv

その他参考URL

5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2