Comments cannot be created (“Only project file”)
When trying to add a new comment via menu entry or button in the code comment window an info window with title “Attention” and text “Only project file.” pops up and no comment is added.
I do not know what the message wants to convey; the files I have tried to add comments to all were project files in the sense that they were part of the project and not e.g. from an outside library.
Since I have just installed the plugin for the first time this might be a configuration issue or a failure in usage.
IntelliJ IDEA version: 2016.1.3 (Ultimate Edition)
Comments (6)
-
-
reporter If I understand you correctly then this is indeed the case. The paths look like this:
#! /<common path>/projects/<project dir> /<common path>/repositories/…/<source file>
-
-
assigned issue to
-
assigned issue to
-
I experienced the same issue, using:
IntelliJ IDEA 2016.2.5 Build #IU-162.2228.15, built on October 14, 2016 JRE: 1.8.0_112-release-287-b2 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Furthermore I'm using a Linux-Machine. - could this be a factor here?
And all the files I tested the plugin with, where indeed Project Files.
-
-
- changed status to resolved
fixed
- Log in to comment
When full path to file not started from project path this message must be shown. This is true in your case?