<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tanaka733</author_name>
  <author_url>https://blog.hatena.ne.jp/tanaka733/</author_url>
  <blog_title>銀の光と碧い空</blog_title>
  <blog_url>https://tech.tanaka733.net/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>VisualStudio</anon>
    <anon>Visual Studio SDK</anon>
  </categories>
  <description>Visual Studio拡張を作っているときに、特定のファイルの保存イベントを検知して、それに対する処理を書きたくなりました。 調べてみるとDocumentSaved というものが割とヒットするのですが、これMSDNには内部向けのAPIで利用者が使うことを想定していないようです。 _dispDocumentEvents_Event.DocumentSaved Event (EnvDTE) また、csprojファイルなど一部のファイルについてはイベントが発火しないという問題があったので、StackOverflowに聞いたところIVsRunningDocumentTable サービスを使うといい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.tanaka733.net%2Fentry%2Fhandle-file-save-event-in-visual-studio-sdk&quot; title=&quot;Visual Studio 拡張でファイル保存イベントをフックする - 銀の光と碧い空&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://blog.st-hatena.com/images/theme/og-image-1500.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-19 00:16:24</published>
  <title>Visual Studio 拡張でファイル保存イベントをフックする</title>
  <type>rich</type>
  <url>https://tech.tanaka733.net/entry/handle-file-save-event-in-visual-studio-sdk</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
