• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tlmn
V2EX  ›  程序员

有没有办法控制 jetbrains 家产品的排序方法?

  •  
  •   tlmn · Apr 30, 2022 · 3160 views
    This topic created in 1654 days ago, the information mentioned may be changed or developed.

    本人有点强迫症,下面列举几个场景。

    Pycharm:

    import abc
    import abcd
    import abcde
    

    Goland:

    type Listener interface {
    	GetProtocol() string
    	RenderInfo() string
    	GetStatus() string
    	Start() error
    	Stop() error
    }
    

    能不能使用快捷键快速的让诸如这些根据长度自动排序?比如排序成上面这样。

    3 replies  •  2022-05-02 15:54:06 +08:00
    WispZhan
    WispZhan
    Apr 30, 2022 via Android
    1
    自己写插件,自己找代码不别扭?

    用字母表排序不是才是效率最高的?
    learningman
    learningman
    Apr 30, 2022
    2
    自己写 lint 工具呗,还能咋的
    oaix
    oaix
    May 2, 2022
    3
    可以用 String Manipulation 插件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1187 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:44 · PVG 01:44 · LAX 09:44 · JFK 12:44
    ♥ Do have faith in what you're doing.