Closed guy4261 closed 2 years ago
Thank you for your suggestion! It totally makes sense. Fixed.
@guy4261 the version with Shebang support is now available in plugins repo: https://plugins.jetbrains.com/plugin/10312-dot-language/versions/stable/158041
Hello! Thanks for this awesome plugin! The world needs more graphviz!
I like adding
#!/usr/bin/env dot -O -Tpng
to the top of my.dot
files, and tochmod u+x foo.dot
. This way./foo.dot
generatesfoo.dot.png
. While not in thedot
spec, it's makes sense (in terms of Linux) to add a shebang for a text file's first line.So my question is - can you make the plugin ignore the first line in the
.dot
file if it starts with a#!
?Thanks a lot! Even if you don't add it, this plugin's still awesome!!! 🙇