oh-my-opentools
v1.0.3
Published
OpenCode plugin with LSP, grep, ast-grep, and hashline-edit tools
Maintainers
Readme
Oh My Open Tools
Forked from oh-my-opencode.
An OpenCode plugin providing advanced development tools: LSP integration, grep search, ast-grep pattern matching, and hashline-based file editing.
Installation
Add to your OpenCode configuration:
{
"plugins": [
"oh-my-opentools@latest"
]
}Features
Tools
LSP Tools
lsp_goto_definition- Jump to symbol definitionlsp_find_references- Find all symbol usageslsp_symbols- Document/workspace symbol searchlsp_diagnostics- Language server diagnosticslsp_prepare_rename- Validate rename operationslsp_rename- Apply safe renames
Grep Tool
- Fast content search using ripgrep
- Regex pattern matching
- File filtering with glob patterns
- Multiple output modes: content, files_with_matches, count
AST-Grep Tools
ast_grep_search- AST-aware pattern matchingast_grep_replace- Code refactoring with AST patterns- Supports 25+ programming languages
- Only enabled if
sgCLI is available in PATH
Hashline Edit Tool
- Hash-anchored file editing (LINE#ID format)
- Prevents stale edits with hash validation
- Supports replace, append, prepend operations
License
MIT
