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

vscode 的 autopep8 插件怎么了? 100%CPU

  •  
  •   craftx · 1 天前 · 650 次点击
    有些项目正常,主要是项目结构正常的目录
    有些项目,每次保存文件时,卡住半天,看监控,vscode 居然占满几乎了 CPU 时间。这个主要是保存临时各种临时脚本的项目目录
    2 条回复    2024-09-28 00:58:10 +08:00
    ClericPy
        1
    ClericPy  
       1 天前
    换 ruff 吧。。。
    虽然用了一年 black ,十年 yapf ,现在感觉 ruff 已经挺好了,还省的装 isort 和各种 linter

    很早之前别的插件 100% CPU 过,autopep8 用了不到一星期,没印象有这问题
    Biem
        2
    Biem  
       1 天前
    人生苦短,我用 ruff
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5274 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 01:37 · PVG 09:37 · LAX 18:37 · JFK 21:37
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.