V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
chenqh
V2EX  ›  推广

分享我写的一个小 vscode 插件,看看有人需要的吗?

  •  
  •   chenqh · 2020-09-01 13:33:18 +08:00 · 949 次点击
    这是一个创建于 1337 天前的主题,其中的信息可能已经有所发展或是发生改变。

    插件名 cqh_goto

    目的:

    通过 # cqh_goto: __proj__/xxx.py 这种形式的注释,可以快速打开文件 xxx.py

    通过 # cqh_got: __proj__/xxx.py||search_text 打开 xxx.py, 并移动到 search_text 所在的这一样

    7 条回复    2020-09-07 14:10:47 +08:00
    chenqh
        1
    chenqh  
    OP
       2020-09-01 13:43:32 +08:00
    没人有兴趣的吗?
    chogath
        2
    chogath  
       2020-09-01 15:37:42 +08:00
    支持下,虽然我已经转战 ts 了... 0-0
    chenqh
        3
    chenqh  
    OP
       2020-09-01 16:52:40 +08:00
    @chogath ts 好像也能用,
    chenqh
        4
    chenqh  
    OP
       2020-09-01 16:53:45 +08:00
    @chogath

    ```
    "cqh-goto.byExt": [
    {
    "name": ".py",
    "list": [
    "# ",
    ""
    ]
    },
    {
    "name": ".ts",
    "list": [
    "//",
    ""
    ]
    },
    {
    "name": ".js",
    "list": [
    "// ",
    ""
    ]
    },
    {
    "name": ".html",
    "list": [
    "{# ",
    "#}"
    ]
    }
    ],
    ```
    改下配置就好了
    zachlhb
        5
    zachlhb  
       2020-09-01 17:09:37 +08:00 via Android
    我现在只想要可以快速创建 Python 包的,现在每创建个文件夹都要自己建个__init__.py 文件
    chenqh
        6
    chenqh  
    OP
       2020-09-01 17:13:16 +08:00
    chogath
        7
    chogath  
       2020-09-07 14:10:47 +08:00
    @chenqh 3Q
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2241 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 05:13 · PVG 13:13 · LAX 22:13 · JFK 01:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.