EpicSkookumScript / EpicSkookumScript/SkookumScript-Plugin
Auto-closing brackets, quotes, etc.
- 主要言語
- C++
- スター
- 138
- フォーク
- 22
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**Is your feature request related to a problem? Please describe.**
Most IDEs automatically type in the closing bracket/parenthesis/quote/etc when the user types in the opening one, and places the cursor between them. Getting used to the Sk IDE not doing that is proving to be quite hard.
**Describe the solution you'd like**
When I press `[` I'd like the IDE to insert `[]` instead, and place my cursor in the middle `[|]`. Same goes for `"` to `""`, `'` to `''`, `(` to `()`, and so on.
Bonus points, if after having the cursor between brackets `[|]` and pressing enter, the code gets expanded to
```
[
|
]
```
instead of
```
[
|]
```
**Describe alternatives you've considered**
There isn't really an alternative. Unless, uh, an AHK script? Sounds like a way overengineered solution for what seems like a simple change to make to the IDE.
コントリビューションガイド
調査の方向性
ファイル、テスト、エントリポイントは指定されていません。まず Sk IDE のテキスト入力とキー処理のエントリポイントを見つけ、次にカーソル移動と改行がどのように処理されているかを確認してください。完了条件は、開き角括弧と閉じ角括弧、開き丸括弧と閉じ丸括弧、開き引用符と閉じ引用符がカーソルを間に置いた状態で対応付けられ、Enter で要求された複数行への展開が行われることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- tooling
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100