Paste in Selected Case
この VSCode 拡張機能は、クリップボードの内容を選択したケースに変換して貼り付けることができます。
機能
- クリップボードの内容を選択したケースに変換して貼り付け
- ユーザー設定からデフォルトのケースを指定して貼り付け
サポートされているケース
- Camel Case
- Title Case
- Constant Case
- Dot Case
- Param Case
- Upper Case
- Path Case
- Sentence Case
- Snake Case
使用方法
コマンドパレットから使用
- コマンドパレットを開く(
Ctrl+Shift+P
)
Paste in Selected Case
を選択
- 変換したいケースを選択
- クリップボードの内容が選択したケースに変換されてカーソル位置に貼り付けられます
デフォルトのケースを使用
- 設定 (
settings.json
) で pasteInSelectedCase.noMenuCase
にデフォルトのケースを指定
- コマンドパレットを開く(
Ctrl+Shift+P
)
Paste in Selected Case: No Menu
を選択
- クリップボードの内容がデフォルトのケースに変換されてカーソル位置に貼り付けられます
設定
{
"pasteInSelectedCase.noMenuCase": "Camel Case"
}
インストール
- このリポジトリをクローン
- VSCode でプロジェクトを開く
npm install
を実行して依存関係をインストール
F5
キーを押して拡張機能をデバッグ
貢献
バグ報告や機能リクエストはIssuesにお願いします。
ライセンス
このプロジェクトは MIT ライセンスの下でライセンスされています。
使用しているライブラリのライセンス
The MIT License (MIT)
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.