<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Tool</anon>
  </categories>
  <description>VisualStudio 2017 および 2019 でオートフォーマットに関する以下の 2つの状況が発生した場合の設定方法です。 中カッコのないif文を改行しない using ステートメントの中カッコを改行しない なぜか1行で記述したい中カッコを省略したif文の命令文が新しい行に配置されてしまったり、using の中カッコが新しい行に配置されてしまったりする if (true) Console.WriteLine(&quot;hoge&quot;); // ★★オートフォーマット動作すると命令文が改行されてしまう using(foo) { } // ★★オートフォーマットが動作すると中カッコが改行される 設定内…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2021%2F10%2F24%2F195302&quot; title=&quot;中カッコのないif文の命令文を自動改行しない - PG日誌&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/T/Takachan/20211024/20211024195113.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-10-24 19:53:02</published>
  <title>中カッコのないif文の命令文を自動改行しない</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2021/10/24/195302</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
