Force Save option missing

Issue #1469 resolved
Jason Clark created an issue

By way of preface: My laptop is out of commission so I’m having to work on a machine which isn’t my normal one. We don’t commit any IC files to git, so I’ve pulled down two projects from bitbucket, and imported each into IC. One of them works as usual, but the other doesn’t.

The issue that I have is saving doesn’t deploy, and the “Force Save” option is missing from the IC menu and context menu. If I select Force Save from the Command Palette, it does nothing.

Some additional background: I inherited this project from someone who set it up oddly - There is no src/ subdirectory, and all of its usual children (classes/, pages/, etc) are in the root of the project. When I imported the project, I didn’t get the usual “there are problems” prompt to create the OST, and in fact it appeared that no module was created. So I manually added a module for the exiting code, but that made no difference. I have previously imported this project on my normal laptop and it works fine there.

The other project which I cloned from Bitbucket and likewise imported works normally.

IntelliJ IDEA 2019.2.4 (Community Edition)
Build #IC-192.7142.36, built on October 29, 2019
Runtime version: 11.0.4+10-b304.77 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.3
GC: ParNew, ConcurrentMarkSweep
Memory: 725M
Cores: 4
Registry:
Non-Bundled Plugins: com.illuminatedcloud2.intellij

Comments (4)

  1. Scott Wells repo owner

    Hi, Jason. It sounds like the module(/project) isn't configured correctly. Do you mind attaching or emailing the .iml file so I can see what it looks like?

  2. Scott Wells repo owner

    Though I do want to investigate why IC allowed you to get into such a state without offering to help you fix it, especially since you had to make a manual change to the .iml file. I'll take a look...

  3. Log in to comment