Skip to content

Commit

Permalink
chore: release to 2.0.0-alpha.10
Browse files Browse the repository at this point in the history
  • Loading branch information
phodal committed Feb 6, 2025
1 parent e3edc9c commit a0299a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ import com.intellij.psi.search.ProjectScope

// https://github.com/JetBrains/intellij-community/blob/master/platform/projectModel-impl/src/com/intellij/openapi/roots/impl/ProjectFileIndexImpl.java#L32
fun isInProject(virtualFile: VirtualFile, project: Project): Boolean {
if (ProjectFileIndex.getInstance(project).isInContent(virtualFile)) {
return true
}
return false
return ProjectFileIndex.getInstance(project).isInContent(virtualFile)
}

fun Project.isInProject(virtualFile: VirtualFile): Boolean {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pluginGroup = com.phodal.autodev
pluginName = AutoDev
pluginRepositoryUrl = https://github.com/unit-mesh/auto-dev
# SemVer format -> https://semver.org
pluginVersion = 2.0.0-alpha.9
pluginVersion = 2.0.0-alpha.10

# Supported IDEs: idea, pycharm
baseIDE=idea
Expand Down

0 comments on commit a0299a2

Please sign in to comment.