This small plugin is may used for executing OS command from IDEA. Just open console, or perform commands in editor of IDEA.
You can use it as sample. This plugin create virtualfile system implementation, file editor implementation and custom file type registration.
If you need for sources, please request me, becouse TWiki site is not allow me to upload sources :(
Plugin is available from Plugin Manager.