jvantuyl / sublime_diagram_plugin

A Plug-In for Sublime Text 2 / 3 To Render Diagrams In Your Source Code
Other
436 stars 116 forks source link

error: No diagrams overlap selections. #66

Open mikest opened 6 years ago

mikest commented 6 years ago

I get the following error when using the render selection feature. I have a user config like so:

{
    "output_format": "svg",

    // The full path to the plantuml.jar file
    "jar_file": "/usr/local/Cellar/plantuml/1.2018.3/libexec/plantuml.jar"
}

Default config remains unchanged. (As an aside, the default config uses a windows path...)


error: No diagrams overlap selections.

Nothing to process.```

plantuml has been installed via homebrew and functions normally from the command line.
mikest commented 6 years ago

Sublime3 v3.1.1, Build 3176

jvantuyl commented 6 years ago

Did you have any text selected? It only looks in a selection if you have one. Otherwise, it would help to see the file you’re rendering...

Chovin commented 5 years ago

I'm having the same issue.

Got the same error using the following file. Tried selecting nothing, selecting everything, and selecting only the contents between the uml tags.

@startuml

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: Another authentication Response

@enduml
davidkhess commented 4 years ago

I've seen this happen if GRAPHVIZ_DOT environment variable is not set.

If you restart Sublime Text and this is the case, there will be an error about it in the console.