<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>earu</author_name>
  <author_url>https://blog.hatena.ne.jp/earu/</author_url>
  <blog_title>ソフトウェアエンジニアの雑記</blog_title>
  <blog_url>https://k-sasaki.net/</blog_url>
  <categories>
  </categories>
  <description>タイトル=結論なんですけど、JBangをIntelliJで編集するには、src/main/javaに置かないとシンタックスハイライトも補完もされませんでした。また忘れるかもなんで、一応メモです。 技術の紹介 JBangは、Javaスクリプトを簡単に実行できるツールです。従来のJavaプロジェクトのような複雑なセットアップを必要とせず、単一のJavaファイルで依存関係を管理し、即座に実行することができます。 IntelliJ IDEAは強力なJava開発環境ですが、JBangファイルに対して適切なコード補完や構文ハイライトを提供するには、デフォルトでは、特定のディレクトリ構造を使用する必要があり…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fk-sasaki.net%2Fentry%2F2025%2F08%2F02%2F194957&quot; title=&quot;JBangファイルをIntelliJで補完するために、ディレクトリは&amp;quot;src/main/java&amp;quot;配下にする - ソフトウェアエンジニアの雑記&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/e/earu/20250802/20250802194503.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-08-02 19:49:57</published>
  <title>JBangファイルをIntelliJで補完するために、ディレクトリは&quot;src/main/java&quot;配下にする</title>
  <type>rich</type>
  <url>https://k-sasaki.net/entry/2025/08/02/194957</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
