- semantic syntax highlight
- semantic selection
- auto completion
- formatting
- inlay hints
- diagnose
-
intergate with beancount-smart-queryMaybe consider another way to using LLM
To set up the development environment:
# Clone the repository
git clone https://github.com/fengkx/beancount-lsp.git
cd beancount-lsp
# Install dependencies
pnpm install
# Build all packages
pnpm build
To run and debug the extension:
- Open the project in VSCode
- Press
F5
to start a new Extension Development Host window- Alternatively, you can use the "Run and Debug" tab in VSCode and select the launch configuration
The Extension Development Host will open a new VSCode window with your extension loaded, allowing you to test its functionality and debug in real-time.
To build the extension for distribution:
# Package the extension into a .vsix file
cd packages/lsp-client
pnpm run vsix