I use several of JetBrains IDEs for software development (IntelliJ, CLion, PyCharm). After updating PyCharm one time, its Plank icon disappeared. Running the .sh file in the PyCharm/bin directory opened the program, but the right-clicking the icon did not produce the "Keep in Dock" option as normal. I fumbled around on the internet, but couldn't find any information for a fix. I tried using the answer provided here, but it didn't seem to do anything.
How do I keep the shortcuts to my IDEs on the Plank?