Was getting a little annoyed with haveing to copy and past code between pycharm and maya, so i made this plugin that exceutes the current documeant or the current selection in pyCharm in maya via the command port. Also did this as kinda a introductory to Java for myself.
Here is a link to the jar file which can be installed via pyCharms Plugin manager.
and here is a link to the repo on my github page for those that want to look at the code or extend.
When i have more time i intend to add a feature to have it return console messages from maya to PyCharm.
The 2 commands for running the selection or documeant are found in the run menu and can be bound to keys. Its settings are in the Other section of settings where you can setup the port number for the command port, and where you can also get the proper commands to have maya setup a command port for it to connect to.