This extension ships for multiple platforms (Windows/macOS/Linux), so please test on more than one OS when touching platform-specific behavior.
- Node.js 22
- pnpm
- Clone the repository:
git clone git@github.com:opral/sherlock.git - Install dependencies:
pnpm install - Build Sherlock:
pnpm run build - Run tests:
pnpm test
- Run tests:
pnpm test - Watch tests:
pnpm test:watch - Start editor app dev server:
pnpm run editor:dev - Package extension:
pnpm run package
Set an inlang project in your workspace and point the extension launcher at it via .vscode/launch.json (the args list).
- For executing the package scripts a Bash shell is needed. Install git and run
npm config set script-shell "C:\\Program Files\\git\\bin\\bash.exe". This can be undone withnpm config delete script-shell.