AndrewUsher / AndrewUsher/obsidian-dynatrace-dql

Add query template insertion and snippet management

オープン
#7 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

The plugin currently documents three query templates in the repository, but there's no built-in way to insert them directly into notes. Adding template management would streamline the workflow for users creating DQL queries.

**Proposed Changes:**
- Add a command to browse and insert available query templates from `templates/` directory
- Create a settings panel to manage custom snippets
- Support template variables (e.g., `{timeRange}`, `{dataSource}`) that can be filled interactively
- Add keyboard shortcut for quick template insertion

**Benefits:**
- Faster query writing with reusable patterns
- Reduced boilerplate for common analysis tasks
- Better discoverability of template examples

**Related Code:**
The plugin already registers commands in `src/main.ts` (e.g., `insert-dql-code-block`). Template insertion would follow a similar pattern.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reading command registration in src/main.ts, especially insert-dql-code-block, then inspect the existing templates/ directory. Define completion around browsing and inserting templates, managing custom snippets, filling template variables interactively, and triggering insertion with a keyboard shortcut; the issue does not name tests or additional implementation files.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
typescript
領域
tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。