-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graphviz: Please place cursor in graphviz code before running #6
Comments
Hi, please do NOT place the cursor "before" or after the code but inside the digraph brackets. should work that way - please confirm. |
I also encountered the same problem, select a graphviz snippet in your file(or Ctrl+A). |
@lttowq Check out the video of the home page [1], you have to put your cursor inside the Could you record a video of the issue [2] if you think something is just broken with using it on Ubuntu? [1] https://github.com/munro/SublimeGraphvizPreview |
@munro So yeah, as you can see, 3 people supposedly can't be so stupid as to not being able to place a cursor inside a block of code. The real problem is that the previewer just doesn't work (and probably also gives the wrong error message). |
By the way, those using Atom will be happy to know that it's Graphviz previewer actually does work. |
@ulidtko This sublime plugin searches for As a tangent, I use primarily use Atom, and have tried that plugin, but the usability of previewing inline graphviz snippets keeps bringing me back. XD I would really like to see a better markdown preview so I can add hooks to things like graphviz preview. Just throwing this out, since Christmas is coming up! # my random idea
here's a diagram of what I'm thinking:
```graphviz
digraph {
you -> are -> neat;
}
` `` |
I have the same issue. I'm doing a workaround of cmd-a, cmd-shift-G. Observed behaviour: |
In windows. I'm trying to execute sublime with administrator privileges. Then it seems to be solved. |
1.Select the parts of the code of which you want to generate a preview. (possibly by "command+a") |
change helpers.py file, then I work well in Mac. 52 # compile pdf |
where is the helpers.py file? |
I change the code in helpers.py,but is did no work either. |
@bravedavid oooo interesting you had to switch to JPG, is there something we could do to make PDFs work for you? I like PDFs 'cause it's vectorized, and it lets me zoom into really crazy diagrams @fivedoumi could you share a video of it not working, and share any debugging output from the console? |
@munro |
Hi,
just installed SublimeGraphvizPreview an a ubuntu 14.04 machine with sublimetext 2. After entering code I get the message: Graphviz: Please place cursor in graphviz code before running.
Placed the cursor before code and I still get the message. Any sugguestions on this Problem?
Happy New Year 2015
luc
The text was updated successfully, but these errors were encountered: