Skip to content

Commit

Permalink
🐛: fix #104, name conflicts in java [release]
Browse files Browse the repository at this point in the history
  • Loading branch information
Pushpavel committed Sep 22, 2022
1 parent 03b3e41 commit e42e224
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased]
- "Run with AutoCp" as a context menu option.
- Fixes [#104](https://github.com/Pushpavel/AutoCp/issues/104) - name conflicts in java.

## v0.7.6
- Fix file name issues with CMakeLists.txt file.
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# -> https://plugins.jetbrains.com/docs/intellij/intellij-artifacts.html
pluginName=AutoCp
pluginGroup=com.github.pushpavel.autocp
pluginVersion=v0.7.6
pluginVersion=v0.7.7
# See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
# for insight into build numbers and IntelliJ Platform versions.
pluginSinceBuild=221
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class JavaFileGenerator(project: Project) : DefaultFileGenerator(project) {
if (ModuleManager.getInstance(project).findModuleByName(parent.name) == null) {
val module = ModuleManager.getInstance(project)
.newModule(
Paths.get(parent.pathString, "${parent.nameWithoutExtension}.iml"),
Paths.get(parent.pathString, "${defaultConversion(parent.name)}.iml"),
"JAVA_MODULE"
)
val model = module.rootManager.modifiableModel
Expand Down

0 comments on commit e42e224

Please sign in to comment.