0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PythonのIDEとしてSunblime Textを使いたい

Last updated at Posted at 2019-01-18
  • 環境
    • macOS Mojave version 10.14.2
    • Sublime Text3
    • Python 3.6.5

エディタの設定

手頃な.pyファイルを開く > [Preference] > [Settings - Syntac Specific]

Python-sublime-settings
// These settings override both User and Default settings for the Python syntax
{
    // タブサイズ
    "tab_size": 4,
    // タブでスペース挿入
    "translate_tabs_to_spaces": true
}

プラグイン

Python36.sublime-build(違う名前でもOK)pythonのパスは環境に合わせる
{
    "cmd": ["/Library/Frameworks/Python.framework/Versions/3.6/bin/python3", "-u", "$file"],
    "selector": "source.python",
    "file_regex": "file \"(...*?)\", line ([0-9]+)",
    "env": {"LANG": "ja_JP.UTF-8"},
}
0
1
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
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?