Skip to content
iyulabPublic

About

Collection of Visual Studio extension utilities for Solution Explorer — copy folder trees, extract text from selected files, and streamline clipboard operations on project items.

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Repository files navigation

vs-tools

Editor extensions for copying source files and folder structures to the clipboard as Markdown, ready to paste into a chat with an LLM.

Directory Target What it does
copy-text-selected-files/ Visual Studio Code Copies the contents of the selected files, folders, or open editor as Markdown. PDF, Office, and HWP documents are extracted to Markdown instead of being skipped.
CopyTextInSolutionExeplorer/ Visual Studio 2022+ The same idea for Solution Explorer: selected files are copied as Markdown headers and code blocks.
CopyFolderTree/ Visual Studio 2022+ Copies the folder tree of the Solution Explorer selection.

Building and verifying

  • copy-text-selected-files — npm install, then:
    • npm run compile — webpack bundle (this is what the extension host loads)
    • npm run lint
    • npm run verify-extract — runs the document extractors over the sample files
    • npm test — the extension-host suite, run against both ends of the supported range (VS Code 1.74 and current stable). Use npm test rather than npx vscode-test, which skips the bundle step and would test a stale build.
    • npm run coverage — the same suite with coverage. Read the two groups separately: src/ reflects the tests that import the TypeScript build directly, while dist/ reflects the bundle the extension host actually loaded. A gap in one may well be covered by the other.
  • Visual Studio extensions — open the solution in each directory with Visual Studio 2022 or later and build; the VSIX SDK packages restore from NuGet.

Both are also verified in CI (.github/workflows/): the VS Code extension across Linux, Windows, and macOS, and the Visual Studio extensions on a Windows runner. Neither workflow publishes anything — releasing is a separate, manual step.

License

MIT. See LICENSE.

About

Collection of Visual Studio extension utilities for Solution Explorer — copy folder trees, extract text from selected files, and streamline clipboard operations on project items.

Topics

Resources

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages