managing-files-documents

Community

Control Visual Studio documents end-to-end.

Authormadskristensen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manage and manipulate files and documents within Visual Studio extensions, ensuring in-memory buffers stay in sync with user edits and avoiding stale disk reads.

Core Features & Use Cases

  • Open, read, and edit document text programmatically across the Visual Studio extensibility stacks (out-of-process, in-process toolkit, and VSSDK).
  • Listen for document lifecycle events (open, save, close) and retrieve the active document for context-aware automation.
  • Access and modify text buffers via ITextBuffer, VS.Documents, and the equivalent Toolkit helpers, without forcing a visible editor window.

Quick Start

Open a file, read its text, and apply a programmatic edit to the active document in a Visual Studio extension.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: managing-files-documents
Download link: https://github.com/madskristensen/vs-agent-plugins/archive/main.zip#managing-files-documents

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.