Skip to content
sanskarINPublic

About

LineLoom — Code Smarter. Build Faster. Stay Private.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

LineLoom

Visual Studio Marketplace Open VSX Registry GitHub release MIT license

Write less. Build more. Stay in control.

LineLoom is a free MIT-licensed VS Code extension for context-aware inline autocomplete with your own Ollama model. It uses native editor ghost text, and does not require a LineLoom account, cloud inference provider, or telemetry.

Latest stable GitHub release: v1.2.0. Cross-platform automated checks, mocked-Ollama integration and isolated VSIX install passed; real-model and hands-on OS/accessibility QA remain outstanding. Open VSX publicly serves v1.2.0 Stable; the Visual Studio Marketplace rollout is independent.

v1.2.0 stable on GitHub (released 2026-10-20)

GitHub v1.2.0 stable release is published with LineLoom-1.2.0.vsix and the SHA-256 checksum.

The native Activity Bar Control Center now includes active-editor eligibility, default/per-language model routing, model-connection guidance, and additional privacy-safe, in-memory session counters. The stable VSIX has no pre-release marker. Install it using VS Code → Extensions → … → Install from VSIX… or code --install-extension LineLoom-1.2.0.vsix.

Manual QA disclosure: Real local Ollama model usefulness/latency, interactive Windows/macOS/Linux editor and accessibility checks, real privacy acceptance and upgrades from older installations are not yet verified. The owner authorized GitHub stable publication after passing automated CI; unperformed manual checks are not represented as passed. Release notes · Acceptance matrix · Follow-up issue #21.

External registry distribution is separate: Open VSX now publicly serves v1.2.0 Stable (verified on 2026-10-20). The Open VSX publishing workflow reused and verified the stable GitHub VSIX. Visual Studio Marketplace is a separate rollout; a GitHub release never updates registries automatically. The older v1.1.1 pre-release and v1.0.0 stable release remain accessible.

v1.2.1 GitHub pre-release (published 2026-10-22)

The v1.2.1 maintenance pre-release includes Stop Current Generation, hardened sensitive-directory exclusions, ignore-policy invalidation, more regression tests and a complete TypeScript source-inventory gate. The attached VSIX is marked for the actual VS Code pre-release channel and includes a SHA-256 checksum. Real-model/editor hardware acceptance remains outstanding, so this is not a manually verified stable update. GitHub stable v1.2.0 and independently published registry versions are unchanged.

v1.2.2 GitHub pre-release (published 2026-10-22)

The GitHub v1.2.2 pre-release adds stricter Ollama settings validation, fail-closed malformed path exclusions, and a preview-channel VSIX. Download the preview VSIX and SHA-256 checksum. This is a GitHub-only preview. v1.2.0 remains the stable GitHub release, with Open VSX and VS Code Marketplace on independently managed channels. Real model performance, full manual desktop acceptance and accessibility remain unverified.

v1.2.3 GitHub pre-release (published 2026-10-23)

GitHub v1.2.3 — Live Ignore Policy Safety Preview is publicly available with a genuine preview-channel VSIX and SHA-256 checksum. It improves privacy against delayed/dropped ignore-file watcher notifications: existing and previously missing ignore sources are revalidated, cached source rules use in-memory SHA-256 fingerprints of rule bytes, and up to eight concurrent policy read tasks preserve root-to-leaf rule ordering.

Publishing CI passed automated tests, mocked VS Code host integration, preview VSIX verification and isolated stable-to-preview upgrade. This does not prove real-model quality, physical workstation performance, actual watcher timing or accessibility; those remain tracked in issue #46. The GitHub stable release remains v1.2.0; registry distributions are separate and were not changed by this publication.

v1.2.4 development (not released)

PR #50 is merged into main with opt-in, path-free privacy eligibility latency measurements, session counters, rolling 64-sample p95, and opt-out reset safeguards. PR CI and dependency security passed. CI also builds an unpublished v1.2.4 preview-channel VSIX candidate. Continued acceptance work adds checksum-pinned v1.2.3 preview → v1.2.4 candidate upgrade testing alongside the stable v1.2.0 upgrade.

No v1.2.4 GitHub tag, stable package, Marketplace release or Open VSX publication exists. Real workstation/model and accessibility QA are still needed. See the development plan.

Install LineLoom

Install the currently published version from your editor's supported registry:

  • Visual Studio Marketplace — for VS Code users.
  • Open VSX Registry — for compatible editors using the Open VSX extension registry.
  • Both listings use publisher SanskarCodes and extension ID SanskarCodes.lineloom. Open VSX serves 1.2.0 Stable; check Visual Studio Marketplace independently for its currently available version.

In VS Code, open Extensions (Ctrl+Shift+X), search for LineLoom, verify the publisher SanskarCodes, and choose Install. You can also use the Command Palette's Extensions: Install Extensions action, or the VS Code CLI:

code --install-extension SanskarCodes.lineloom

If your editor obtains extensions from Open VSX, open its Extensions view, search for LineLoom, and verify the publisher SanskarCodes. Open VSX publicly serves stable v1.2.0. Its registry API confirms version: 1.2.0, preRelease: false, downloadable: true, and verified: true.

Alternative: install the GitHub stable VSIX

The GitHub v1.2.0 stable release includes LineLoom-1.2.0.vsix for offline/manual installation. Download the VSIX and use VS Code → Extensions → ... → Install from VSIX (or code --install-extension LineLoom-1.2.0.vsix).

Important for Windows: Do not double-click the VSIX file. Windows may open Visual Studio VSIX Installer, which correctly rejects VS Code extensions and displays “One or more extensions are for Visual Studio Code.” Open Visual Studio Code and select Extensions → … → Install from VSIX… instead. Step-by-step installation and troubleshooting.

Registry status (2026-10-20): Open VSX lists v1.2.0 Stable as downloadable with a verified namespace. The Visual Studio Marketplace is separately managed; its v1.2.0 rollout has not been verified here. GitHub owner sanskarIN and publisher SanskarCodes are intentionally different. Publisher instructions.

Project website and documentation

The LineLoom website is live and maintained in site/, deployed through the GitHub Pages workflow. The deployment guide documents verification and maintenance.

Website content is excluded from the extension VSIX package. This does not add hosted inference, an account requirement or telemetry.

Release verification status

The v1.2.0 GitHub stable packaging workflow checks archive integrity and installs the packaged VSIX in an isolated real VS Code command-line profile. This is stronger than ZIP validation, but it does not prove real Ollama inference or interactive ghost-text acceptance. Manual verification matrix tracks the remaining Windows, macOS, Linux, privacy, offline and model-performance tests. Visual Studio Marketplace and Open VSX are live; hands-on real-model QA remains ongoing.

Features

  • Stricter send-time privacy controls: rechecks active model, file exclusions, workspace trust and remote-endpoint permission before sending completion context. Pending model-picker choices are also discarded if the Ollama endpoint or remote approval changes.
  • Per-language Ollama models: assign a different installed model to each supported language using LineLoom: Assign Language Model or the status-bar Quick Actions picker. Unassigned languages use the default lineloom.model; JSX/TSX use the JavaScript/TypeScript override. No automatic model downloads.
  • Native VS Code inline suggestions for nine language IDs: Python, JavaScript/JSX, TypeScript/TSX, Rust, Kotlin, Go, Java, C and C++. Go, Java, C and C++ remain experimental.
  • Smarter automatic request timing: suppresses background inference directly before existing identifier characters (including Unicode letters, combining marks, connector punctuation and joiners). Configure lineloom.suppressMidTokenAuto (default on) to opt out; manual requests always work, and skip the typing debounce.
  • Typed suggestion continuation: when you type the beginning of an inline suggestion, LineLoom can offer the remaining text immediately from short-lived memory without another Ollama generation. Context, settings, active editor, workspace privacy and the actual single-insertion edit event must all match. Multi-edit changes, selection replacements and edits elsewhere invalidate reuse. No cross-file reads.
  • Multi-line continuation, bounded prefix/suffix context, and optional FIM using a recognized Qwen2.5 Coder model family. Improved cleanup removes common model control tokens and explanations outside leading fenced code blocks. Ollama streams have total-byte, event-count and per-event safety limits.
  • Quick Actions from the status bar: enable/disable completion, pause/resume automatic suggestions, trigger manually, choose a default or per-language model, manage languages, check connection, open diagnostics or settings. Model discovery and connection checks run only when selected by the user.
  • User-selected installed model, endpoint, timeouts, output limits, temperature, automatic-trigger controls and per-language opt-in/out settings.
  • Cancellation on newer requests, active cursor/editor changes and timeouts; a short-lived backoff stops repeatedly sending identical automatic requests after an empty model result. Explicit user-triggered requests bypass this backoff. Additional checks run before sending code or reusing a cached suggestion. No insertion is attempted for selected text or multiple cursors, and automatic suggestions defer to active native IntelliSense completions.
  • Only the active trusted-workspace document is used for completion; rejects symlinks escaping the workspace and excludes sensitive filenames and nested .gitignore, .lineloomignore and user-specified patterns.
  • Local loopback by default; remote HTTPS needs both a setting and per-origin interactive approval. HTTP redirects are rejected to prevent transferring code to an unapproved destination. No background model downloads.
  • Automatic completion requires two non-whitespace characters on the active line by default (configurable 0–32); manual triggers bypass this threshold. Active-document context is read through bounded editor ranges, even in large files.

Getting started

  1. Install VS Code and Ollama for Windows, Linux or macOS.
  2. Start Ollama according to its platform instructions. Confirm that http://127.0.0.1:11434/api/tags is reachable locally.
  3. Install a coding model yourself: ollama pull qwen2.5-coder:1.5b. Downloads consume storage; see model licensing and system requirements.
  4. Install LineLoom from Visual Studio Marketplace (recommended), or use the GitHub VSIX as described above. For local development from source instead, run npm ci, npm run build, open the repo in VS Code and press F5.
  5. In VS Code (or the Extension Development Host), open a trusted folder containing a supported source file (e.g. .py, .js, .ts, .rs, .kt, .go, .java, .c, or .cpp).
  6. Type some code, or run LineLoom: Trigger Completion. Accept native inline text with your VS Code inline-suggest keybinding.
  7. Run LineLoom: Check Ollama Connection or LineLoom: Select Model if suggestions do not appear.

Open the Command Palette and run LineLoom: Show Setup Guide for the short interactive guide. Click LineLoom in the VS Code status bar to open Quick Actions. Pausing automatic suggestions keeps manual LineLoom: Trigger Completion available; the pause choice remains in VS Code settings until you resume.

Commands

Quick Actions · Pause or Resume Automatic Suggestions · Enable Autocomplete · Disable Autocomplete · Trigger Completion · Select Model · Manage Autocomplete Languages · Check Ollama Connection · Open Settings · Open Diagnostics · Show Setup Guide · Show Completion Performance.

Settings are under lineloom.* in VS Code Settings. lineloom.enabledLanguages lists which of the nine language IDs can receive suggestions; the JSX and TSX editor modes follow the JavaScript and TypeScript choices. An empty list disables suggestions for all languages. Defaults: model qwen2.5-coder:1.5b, endpoint http://127.0.0.1:11434, debounce 250 ms, timeout 12 s, 8,000 context characters, 128 generated tokens, eight maximum suggestion lines (configurable 1–20), two minimum automatic-trigger characters (configurable 0–32), and mid-token auto-suppression enabled. Cross-file context is not implemented in v1.0.0 even if the reserved setting is enabled.

Privacy and safety

The extension transmits a bounded snippet from the current document to the configured Ollama endpoint to generate suggestions. Localhost requests stay on the local network stack; using a remote endpoint sends snippets to that server. No telemetry or repository indexing exists. A local model is not a guarantee of safe, correct, or licensed output; review code before use.

Development

npm install
npm run check
npm run package

The GitHub v1.0.0 stable release ships an installable VSIX for community testing, including nine language IDs, per-language selection, nested ignore protection, bounded editor context, foreground-editor preflight checks, a short-lived empty-result retry backoff, typed-prefix continuation reuse, bounded NDJSON parsing and redirect-safe Ollama requests. It includes a mocked-Ollama editor-level integration check. Real Ollama model quality, offline behavior and manual cross-platform verification remain unverified; see the release notes. Both the VS Code Marketplace listing and Open VSX listing are public; each future update must be published separately. Roadmap.

Maintainer

GitHub: sanskarIN · X · LinkedIn

Voluntary support

LineLoom is free and has no subscription or paywall. If useful, you may support maintenance via Buy Me a Coffee, Razorpay, or PayPal.Me.

License

MIT License. Licensing history and third-party notices. LineLoom is an independent project; no affiliation or endorsement by Microsoft, GitHub, Ollama or model providers is implied.

About

LineLoom — Code Smarter. Build Faster. Stay Private.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages