V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fyl00
V2EX  ›  Python

SublimeREPL 怎么在同一个窗口调试当前.py 文件?

  •  
  •   fyl00 · 2014-10-24 19:14:49 +08:00 · 10762 次点击
    这是一个创建于 3443 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用Run Current File调试py文件的时候,每次都要在新建一个REPL窗口。
    有什么办法能在同一个窗口调试么。

    快捷键我已经写成这样了:
    {"keys":["f5"],
    "caption": "SublimeREPL: Python - RUN current file",
    "command": "run_existing_window_command",
    "args":
    {
    "id": "repl_python_run",
    "file": "config/Python/Main.sublime-menu"
    }},
    9 条回复    2017-06-13 17:18:55 +08:00
    staticor
        1
    staticor  
       2014-10-24 22:45:18 +08:00
    zoowii
        2
    zoowii  
       2014-10-24 23:36:34 +08:00
    View里的水平分屏感觉用起来还好啊
    lixia625
        3
    lixia625  
       2014-10-25 01:40:12 +08:00
    alt shift 2
    keyanzhang
        4
    keyanzhang  
       2014-10-25 09:01:26 +08:00
    fyl00
        5
    fyl00  
    OP
       2014-10-27 18:45:14 +08:00
    @zoowii 每次调试都会新建一个窗口,看到越来越多的标签栏你不会心烦么,orz
    zoowii
        6
    zoowii  
       2014-10-27 18:56:46 +08:00
    @fyl00 不用每次新建啊,新建一个ipython标签页,然后发送当前文本的内容过去
    ricciapril
        7
    ricciapril  
       2016-08-15 22:23:46 +08:00
    @zoowii 能具体讲下如何实现的么?多谢!
    ricciapril
        8
    ricciapril  
       2016-08-15 22:24:54 +08:00
    楼主,请问该问题解决了么?我现在遇到同样的问题,找了很久没有解决办法。能否共享下。多谢!
    daisy2017
        9
    daisy2017  
       2017-06-13 17:18:55 +08:00
    alt+shift+2
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2146 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 16:14 · PVG 00:14 · LAX 09:14 · JFK 12:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.