GGGG430
V2EX  ›  问与答

idea 格式化 sql 语句的问题

  •  
  •   GGGG430 · Jul 1, 2021 · 1098 views
    This topic created in 1801 days ago, the information mentioned may be changed or developed.

    如图, WX20210701-202254.png

    在 ide 的 database 插件中, 写 sql 语句时会把一些较长的整数格式化成 3 个一小截, 很难受, 有知道怎么取消这种格式化的老哥吗?

    2 replies    2021-07-01 22:36:52 +08:00
    Xusually
        1
    Xusually  
       Jul 1, 2021   ❤️ 2
    设置里搜:Code Folding

    "Preferences"->"Code Folding" -> SQL: "Put underscores inside numeric literals (6-digit or longer)"
    GGGG430
        2
    GGGG430  
    OP
       Jul 1, 2021
    @Xusually 感谢老哥
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1016 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 23:15 · PVG 07:15 · LAX 16:15 · JFK 19:15
    ♥ Do have faith in what you're doing.