Duplicated `source` dirs in `.ceylon/config` after creating modules
qdzo opened this issue · 4 comments
qdzo commented
When try to add new module through intellij context-menu it adds new source=source
entry to .ceylon/config
which then cause problems with ceylon-js compilation.
.ceylon/config
[compiler]
source=source
resource=resource
source=source
[defaults]
offline=false
flatclasspath=false
autoexportmavendependencies=false
fullyexportmavendependencies=false
Errors
source/mod/run.ceylon:2: error: imported declaration not found: 'importantVariable' might be misspelled or does not belong to this package
importantVariable
^
source/mod/run.ceylon:5: error: function or value is not defined: 'importantVariable' might be misspelled or is not imported (did you mean to import it from 'mod.innerpack'?)
print(importantVariable);
^
source/mod/run.ceylon:2: error: imported declaration not found: 'importantVariable' might be misspelled or does not belong to this package
importantVariable
^
source/mod/run.ceylon:5: error: function or value is not defined: 'importantVariable' might be misspelled or is not imported (did you mean to import it from 'mod.innerpack'?)
print(importantVariable);
^
4 errors
ceylon compile-js: There were 4 errors.
Plugin: Stable release of Ceylon IDE for IntelliJ based on Ceylon 1.3.2.
gavinking commented
Probably fixed by @1bee6c3b746c2eee0a97ba3a67e5752c351c070a.
qdzo commented
Sorry. I so early closed issue.
When new ceylon plugin for intellij will be avaible i'l test it.
qdzo commented
Yep. All working fine. And IDE now not only "not adds" new entries and also deletes existed one.
gavinking commented
Yep. All working fine.
Good, thanks.