diff --git a/build.sbt b/build.sbt
index e566560..97d7997 100644
--- a/build.sbt
+++ b/build.sbt
@@ -13,7 +13,7 @@ lazy val jbAnnotVersion = "26.0.2"
// https://youtrack.jetbrains.com/articles/IDEA-A-2100661679/IntelliJ-IDEA-2023.3-Latest-Builds
// NOTE: Latest-Builds 233
lazy val intellijVersion = "252.25557.131"
-lazy val pluginVersion = s"0.8.1-$intellijVersion"
+lazy val pluginVersion = s"0.8.2-$intellijVersion"
ThisBuild / version := pluginVersion
diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml
index a031157..e6044d3 100644
--- a/src/main/resources/META-INF/plugin.xml
+++ b/src/main/resources/META-INF/plugin.xml
@@ -18,9 +18,8 @@
messages.SbtDependencyAnalyzerBundle
-
-
-
+
+
@@ -134,15 +133,20 @@
- Visit GitHub for instructions on how to properly use this plugin!
+ Visit GitHub for instructions on how to properly use this plugin!
]]>
0.8.2-252.25557.131
+
+ - Add plugin recommendation if there is a dot file .
+
+
0.8.1-252.25557.131
- - Revert xml patch and fix JA locale message.
+ - Revert xml patch and fix JA locale message .
0.8.0-252.25557.131
@@ -173,109 +177,109 @@
0.5.0-242.21829.142
- - Improve code and API compatibility.
- - Fix Open Config Action.
- - Add Exclude Dependency Action.
+ - Improve code and API compatibility .
+ - Fix Open Config Action .
+ - Add Exclude Dependency Action .
0.4.0-242.21829.142
- - Support IDEA 2024.2.
- - Fix Goto dependency (Now supports custom dependencies for all projects).
+ - Support IDEA 2024.2 .
+ - Fix Goto dependency (Now supports custom dependencies for all projects) .
0.3.1-233.11799.241
- - Suppress errors and delete some errors
- - Filter ignores case
+ - Suppress errors and delete some errors .
+ - Filter ignores case .
0.3.0-233.11799.241
- - Support IDEA 2023.3.
+ - Support IDEA 2023.3 .
0.3.0-RC1-231.9392.1
- - Add `sdap.sbt` to .git/info/exclude file.
- - Add Show Size to show jar package size.
- - Add shortcuts to open the analysis view: `Ctrl + Shift + L`.
+ - Add `sdap.sbt` to .git/info/exclude file .
+ - Add Show Size to show jar package size .
+ - Add shortcuts to open the analysis view: `Ctrl + Shift + L` .
0.2.0-231.9392.1
- Add moduleName cache.
- - Use the first non-root module when opening view (Multi-module project).
- - Update dependencies.
- - Add zh_CN message for What's new.
+ - Use the first non-root module when opening view (Multi-module project) .
+ - Update dependencies .
+ - Add zh_CN message for What's new .
0.2.0-RC3-231.9392.1
- - 🎉Add Intellij Settings.
+ - 🎉Add Intellij Settings .
0.2.0-RC2-231.9392.1
- - Update description and action name.
- - Add refresh snapshots button.
- - Add "project/sdap.sbt" to enable "sbt-dependency-tree", plugin no longer modify "project/plugins.sbt".
- - Improved notifications.
+ - Update description and action name .
+ - Add refresh snapshots button .
+ - Add "project/sdap.sbt" to enable "sbt-dependency-tree", plugin no longer modify "project/plugins.sbt" .
+ - Improved notifications .
0.2.0-RC1-231.9392.1
- - 🎉Add locale zh_CN translation for notification.
- - 🎉Add plugin update notification.
- - 🎉Add What's New action in Help menu.
+ - 🎉Add locale zh_CN translation for notification .
+ - 🎉Add plugin update notification .
+ - 🎉Add What's New action in Help menu .
0.1.3-231.9392.1
- - Fix module recognition failure when analyzing cross-build projects for Scala2 and Scala3.
- - Improve notification,stop immediately when an exception occurs during the first task execution.
+ - Fix module recognition failure when analyzing cross-build projects for Scala2 and Scala3 .
+ - Improve notification,stop immediately when an exception occurs during the first task execution .
0.1.2-231.9392.1
- - Improving Error Notification.
- - Support for older versions of sbt.
+ - Improving Error Notification .
+ - Support for older versions of sbt .
- Other improvements.
0.1.1-231.9392.1
- - Fix bug: Goto action can match scala library.
- - Add refresh action.
- - Add bootstrap prompt and automatically add the `addDependencyTreePlugin`.
+ - Fix bug: Goto action can match scala library .
+ - Add refresh action .
+ - Add bootstrap prompt and automatically add the `addDependencyTreePlugin` .
0.1.0-231.9392.1
- - Update Action Name.
- - Cache files for one hour.
+ - Update Action Name .
+ - Cache files for one hour .
- Refactor code.
0.1.0-231.9392.1-M7
- - 🔥Show Conflict omitted status.
- - 🔥Support Scala Js and Scala native.
+ - 🔥Show Conflict omitted status .
+ - 🔥Support Scala Js and Scala native .
0.1.0-231.9392.1-M6
- - 🔥Highlight module dependencies.
+ - 🔥Highlight module dependencies .
0.1.0-231.9392.1-M5
- - 🔥Significantly improve performance.
+ - 🔥Significantly improve performance .
0.1.0-231.9392.1-M4
- - 🔥 First Blood.
+ - 🔥 First Blood .
]]>
diff --git a/src/main/resources/icons/dot.png b/src/main/resources/icons/dot.png
new file mode 100644
index 0000000..c0ccdec
Binary files /dev/null and b/src/main/resources/icons/dot.png differ
diff --git a/src/main/scala/bitlap/sbt/analyzer/parser/DotFileType.scala b/src/main/scala/bitlap/sbt/analyzer/parser/DotFileType.scala
new file mode 100644
index 0000000..6006780
--- /dev/null
+++ b/src/main/scala/bitlap/sbt/analyzer/parser/DotFileType.scala
@@ -0,0 +1,38 @@
+package bitlap.sbt.analyzer.parser
+
+import javax.swing.Icon
+
+import bitlap.sbt.analyzer.SbtDependencyAnalyzerIcons
+
+import org.jetbrains.annotations.NotNull
+import org.jetbrains.annotations.Nullable
+
+import com.intellij.lang.Language
+import com.intellij.openapi.fileTypes.LanguageFileType
+import com.intellij.openapi.util.IconLoader
+
+object DotIcons {
+ val FILE: Icon = IconLoader.getIcon("/icons/dot.png", SbtDependencyAnalyzerIcons.getClass)
+}
+
+object DotLanguage {
+ val INSTANCE = new DotLanguage
+}
+
+final class DotLanguage private extends Language("Dot")
+
+final class DotFileType private extends LanguageFileType(DotLanguage.INSTANCE) {
+
+ @NotNull def getName: String = "dependency dot file"
+
+ @NotNull def getDescription: String = "Sbt generated the dependency dot file"
+
+ @NotNull def getDefaultExtension: String = "dot"
+
+ @Nullable def getIcon: Icon = DotIcons.FILE
+
+}
+
+object DotFileType {
+ val INSTANCE = new DotFileType
+}