Help us shape the future of Go! Take the 2026 Go Developer Survey

textutil

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StripIDEContextTags

func StripIDEContextTags(text string) string

StripIDEContextTags removes IDE-injected context tags from prompt text. The VSCode extension injects tags like:

  • <ide_opened_file>...</ide_opened_file> - currently open file
  • <ide_selection>...</ide_selection> - selected code in editor

Also removes system-injected tags like:

  • <local-command-caveat>...</local-command-caveat>
  • <system-reminder>...</system-reminder>
  • <command-name>...</command-name>

These shouldn't appear in commit messages or session descriptions.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL