Local N-Gram Code SuggesterFast, private completion for Rust and more. Runs locally with no LLM or account.
Highlights
Supported profiles: Rust, C#, Java, JavaScript, TypeScript, JSON/JSONC, Python, JSX/TSX, Vue, and Razor. Project learning uses open files, up to 128 files and 50,000 tokens. Files over
100,000 characters are skipped; completion is skipped past that cursor offset.
Rust suggestions are based on lexical patterns and complement rust-analyzer.
This v3 preview keeps model format v3 and compatibility with legacy v2 models.
Open-file learning snapshots refresh on save; enable Source, releases, and issue tracking: kevinski119/local-ngram-code-suggester. Offline project-pattern demoThe animation is an illustrated editor demo using verified output from the real v3.1 project-context engine. It is not a screen recording or latency benchmark. It uses Quality mode with a 12-token limit; the default is five tokens.
Run Local N-Gram: Show Model Diagnostics to inspect the active model and latency. Run Local N-Gram: Manage Language Packs to import a local pack or use a configured trusted catalog. No pack is downloaded without user action. PrivacyTokenization, completion, project context, and diagnostics stay on your machine. Network access is limited to user-initiated pack catalog/download operations or explicitly opted-in pack update checks. Cross-project learning stays in VS Code global storage on this machine. It stores hashed project identities, caps each project's contribution, ignores files with reported errors, and requires multiple-project support before a pattern can be suggested. Learned library identifiers are namespaced by detected pip, npm, Java, or .NET imports and activate only when the same dependency is present. Run Local N-Gram: Clear Cross-Project Learning at any time to erase it. AttributionDerived from Erik Klabukov's amest/vscode-ngram-code-suggester under the MIT License. The original Marketplace listing is maintained separately. LicenseMIT. See the included license. |


