0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Polacodeの使用方法

Last updated at Posted at 2024-08-07

アジェンダ

Polacodeは、VS Codeの拡張機能で、綺麗なコードスニペットを作成するために使用されます。
その使用方法について簡単にまとめます。

Polacodeの使用方法

  1. Polacodeを開く
    インストールが完了したら、コマンドパレット(Ctrl+Shift+P または Cmd+Shift+P)を開き、「Polacode」を検索し、「Polacode: Open」を選択します。

  2. コードをコピー
    美しいスニペットを作成したいコードを選択してコピーします(Ctrl+C または Cmd+C)。

  3. Polacodeウィンドウにペースト
    Polacodeのウィンドウが開いたら、コピーしたコードをウィンドウ内にペーストします(Ctrl+V または Cmd+V)。

  4. カスタマイズ
    コードスニペットの背景色やテーマは、VS Codeの設定やテーマに依存します。必要に応じて、VS Codeの設定を変更してカスタマイズできます。

  5. 画像を保存
    Polacodeウィンドウ右下のカメラアイコンをクリックすると、コードスニペットの画像が生成され、保存ダイアログが表示されます。保存先を選択して「保存」をクリックします。

Polacodeのバグ: 注意点

ただ、Polacodeを使用しているとコードが正しくスニペットに反映されないことがあります。
()がなぜか全然関係ない冗談に移動していたり、コードとコードが重なっていることがあったりと正しく表示されないことがあったりします。

参考

Visual Studio Code拡張機能「Polacode」でソースコードを手軽にキャプチャ | フロントエンドBlog | ミツエーリンクス

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?