<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuheiomori0718</author_name>
  <author_url>https://blog.hatena.ne.jp/yuheiomori0718/</author_url>
  <blog_title>メモ置き場</blog_title>
  <blog_url>https://y0m0r.hateblo.jp/</blog_url>
  <categories>
    <anon>pycharm</anon>
    <anon>intellij</anon>
  </categories>
  <description>スニペットはPyCharmではlive templateといいます。 Surrond Withに使えるlive templateを登録する場合、選択範囲は$SELECTION$で表します。テンプレート内の素の文字列をkayのメッセージ国際化対応にする、という作業がちょいちょいあったので、以下を登録してみました。 {{ _('$STR$', '$SELECTION$')$END$ }}$END$は入力が終わったあと、カーソルが置かれる場所です。 $STR$は適当に名前つけただけで、展開後、自分で入力する箇所です。 例えばこんなhtmlがあったとして 「こんにちわ」を選択してSurrond Wit…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20120420%2F1334932748&quot; title=&quot;Intellij PycharmのSurrond Withに使えるスニペットを登録する - メモ置き場&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuheiomori0718/20120420/20120420233414.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-20 23:39:08</published>
  <title>Intellij PycharmのSurrond Withに使えるスニペットを登録する</title>
  <type>rich</type>
  <url>https://y0m0r.hateblo.jp/entry/20120420/1334932748</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
