1

I installed the Manifold plugin for IntelliJ IDEA, but then we decided we don't need it.

I'm using a Mac.

How the heck do I remove it? It gives me a bunch of errors like java: package manifold.internal.runtime does not exist for each file.

mackycheese21
  • 884
  • 1
  • 9
  • 24
  • Can you describe the problem/errors you have with Manifold? I can help you to resolve them. – Scott Apr 07 '19 at 00:34
  • @Scott I installed Manifold into IntelliJ perfectly with the JARs and plugin. It compiled and ran. But now, I tried to delete manifold. I deleted the JARs and disabled the plugin. But now it gives the mentioned error for each file. – mackycheese21 Apr 07 '19 at 01:48
  • Can we take the discussion to the Manifold github repo as an issue? (https://github.com/manifold-systems/manifold/issues). In any case the IJ plugin should simply uninstall/disable via `Settings | Plugins | Manifold`. – Scott Apr 07 '19 at 03:26
  • Have you seen https://stackoverflow.com/questions/20137020/package-doesnt-exist-error-in-intellij? -- @Scott this is not a manifold-specific issue, per the linked question it happens to any package – NoOneIsHere Apr 07 '19 at 05:58

3 Answers3

1

You can delete the plug-in manually from the plug-ins directory.

On macOS for IntelliJ IDEA 2019.1 version that would be:

~/Library/Application Support/IntelliJIdea2019.1

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • Hmmm. I deleted `manifold-ij` from the mentioned directory, but when I restarted IntelliJ it didn't change anything :(. – mackycheese21 Apr 07 '19 at 03:12
  • Check [idea.log](https://intellij-support.jetbrains.com/hc/articles/207241085) for errors. Do you see the plug-in still loading? If not, where do you get the errors? Try creating a new project. You may have the imports for these classes in your code, but the dependencies can be missing, remove the usages from the code and rebuild the project. – CrazyCoder Apr 07 '19 at 03:14
1

Disclaimer: I am working on the same project as the OP.

What worked for me was running find -type f | xargs grep -i manifold (find all files that case-insensitive contain manifold), and manually deleting the references. After doing that, the error disappeared.

NoOneIsHere
  • 1,054
  • 16
  • 28
  • ```find: illegal option -- t usage: find [-H | -L | -P] [-EXdsx] [-f path] path ... [expression] find [-H | -L | -P] [-EXdsx] -f path [path ...] [expression]``` . What does this mean? – mackycheese21 Apr 07 '19 at 15:54
  • It searches for all files (`-type f`) -- I have GNU (coreutils iirc) find, which you likely don't have on Mac. – NoOneIsHere Apr 07 '19 at 16:19
0

Close IntelliJ IDEA, then delete the folder of the plugin from your filesystem in $HOME/.IntelliJ2018.x/config/plugins.

SurfMan
  • 1,685
  • 12
  • 19
  • I don't have a folder `.Intellij2018.x`. Should I create it? – mackycheese21 Apr 06 '19 at 21:24
  • @mackycheese21 I believe the `x` represents any number, so you should look for the folder corresponding to the version of IntelliJ you have, likely `2018.3` or `2019.1` – NoOneIsHere Apr 06 '19 at 21:26
  • @NoOneIsHere, I'm sorry but I have no file that starts with `.Intel` in `$HOME`. I pressed tab after typing `cd $HOME/.Intel` and nothing came up. – mackycheese21 Apr 06 '19 at 21:27
  • @mackycheese21 I have a folder called .IntelliJIdea2018.3, but I'm on Linux. I'd expect it to be somewhere else on OSX. – NoOneIsHere Apr 06 '19 at 21:28