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
Kakarrot
V2EX  ›  Python

VsCode 中 终端可以像 Pycharm 一样分离成单独的窗口吗?

  •  
  •   Kakarrot · 2018-11-28 11:25:08 +08:00 · 14555 次点击
    这是一个创建于 1968 天前的主题,其中的信息可能已经有所发展或是发生改变。
    双屏正好一个写代码 一个运行
    18 条回复    2018-11-28 22:34:39 +08:00
    beforeuwait
        1
    beforeuwait  
       2018-11-28 11:26:28 +08:00
    自己开一个终端呗
    Kakarrot
        2
    Kakarrot  
    OP
       2018-11-28 11:27:19 +08:00
    @beforeuwait 什么意思?一般直接运行代码就好在 vscode 当前界面-终端显示结果了啊
    rayhy
        3
    rayhy  
       2018-11-28 11:28:13 +08:00 via Android
    vsc 的终端能单独分离出来做一个应用吗👀
    xpresslink
        4
    xpresslink  
       2018-11-28 11:29:45 +08:00
    直接启动两个进程。
    再说了直接用 Pycharm 不就得了。
    enenaaa
        5
    enenaaa  
       2018-11-28 11:36:15 +08:00
    vsc 的终端不就是 powershell 或者 cmd 么
    Kakarrot
        6
    Kakarrot  
    OP
       2018-11-28 11:38:01 +08:00
    @enenaaa 是啊 但是窗口只能嵌在 vscode 里 无法浮动出去呀
    Kakarrot
        7
    Kakarrot  
    OP
       2018-11-28 11:38:20 +08:00
    @xpresslink Pycharm 删了 还是 vscode 好用
    SeaRecluse
        8
    SeaRecluse  
       2018-11-28 11:45:25 +08:00
    VScode + sublime Text
    onecode
        9
    onecode  
       2018-11-28 11:48:16 +08:00
    launch.json ` "console":"externalTerminal" `
    heimeil
        10
    heimeil  
       2018-11-28 11:50:39 +08:00
    是嫌单独打开一个终端再进项目路径麻烦吗? Ctrl + Shift + C 可以在当前项目路径打开外部终端,前提是和你的系统快捷键没冲突。
    u3u
        11
    u3u  
       2018-11-28 13:54:19 +08:00
    @Kakarrot #2 先设置使用外部终端,然后右击资源管理器在终端中打开

    `settings.json`

    ```json
    {
    "terminal.explorerKind": "external",
    "terminal.external.osxExec": "Hyper.app"
    }
    ```
    xpresslink
        12
    xpresslink  
       2018-11-28 14:10:17 +08:00
    @Kakarrot 那我只能,呵呵了。你要是做过 python 项目就知道了,VSC 给 Pycharm 提鞋都不配。
    wleexi
        13
    wleexi  
       2018-11-28 14:24:59 +08:00
    @xpresslink 用什么是个人习惯问题吧 。这种话说了没意思
    WuwuGin
        14
    WuwuGin  
       2018-11-28 14:26:49 +08:00   ❤️ 1
    说了那么多,那位提鞋的是正版 pycharm 吗?
    Kakarrot
        15
    Kakarrot  
    OP
       2018-11-28 15:01:29 +08:00
    @xpresslink 我只是用 python 连接下 Mongo 数据库 做下数据库计数分析而已...并不是码农。所以更喜欢轻量级的吧
    jimxu16
        16
    jimxu16  
       2018-11-28 17:45:08 +08:00
    刚发现选 windows mode 可以把自带的终端弄成独立的窗口。。可是老哥,这不就跟自己用 iterm2 之类的终端一样了吗
    hsfzxjy
        17
    hsfzxjy  
       2018-11-28 18:18:34 +08:00 via Android
    一直都是自己另开一个终端,自由度高
    xpresslink
        18
    xpresslink  
       2018-11-28 22:34:39 +08:00
    @Kakarrot VSC 只是个文本编辑器你不能要求太多了,Pycharm 有社区版对于你来说功能足够了。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1089 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 18:55 · PVG 02:55 · LAX 11:55 · JFK 14:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.