V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
fengkx

BeanCount 记账 Language Service VSCode 插件

  •  
  •   fengkx · Apr 18, 2025 · 2018 views
    This topic created in 384 days ago, the information mentioned may be changed or developed.

    业余时间写了一个 Beancount VSCode 插件( Language Server & Client )。欢迎尝试使用~

    写这个的主要的动力是平时有跨设备编辑的需求,主要用 github.dev 。所以这个插件支持 Web Extension 可以跑在浏览器里。

    同时也支持一般 Language Server 该有的能力。 例如:

    • Semantic Syntax Highlight
    • Auto Completion
    • Diagnostic
    • Document Symols
    • Go to Definition / References
    • Rename
    • Formatting

    etc...

    Marketplace: https://marketplace.visualstudio.com/items?itemName=fengkx.beancount-lsp-client

    Source Code: https://github.com/fengkx/beancount-lsp

    preview

    2 replies    2025-04-19 03:11:58 +08:00
    rbaloatiw
        1
    rbaloatiw  
       Apr 18, 2025
    很好的项目, 我个人是 beancount-vscode 用户, 日常使用足够了, 就是补全会有重复的条目.

    顺便问下怎么解析的 ast, 手搓 parser 吗?
    fengkx
        2
    fengkx  
    OP
       Apr 19, 2025 via Android
    @rbaloatiw 用的 tree-sitter
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3301 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 14:07 · PVG 22:07 · LAX 07:07 · JFK 10:07
    ♥ Do have faith in what you're doing.