evandrocoan / PlantUmlDiagrams

A fork from https://github.com/jvantuyl/sublime_diagram_plugin package for Sublime Text, to render diagrams in your source code
Other
37 stars 10 forks source link

Image does not render in Version 4 sublime #16

Open MacMcDell opened 1 year ago

MacMcDell commented 1 year ago

Admittedly new to Sublime and its inner workings. Followed instructions in readme. Using Sublime v4143. Settings seems right?

image

however I cannot generate an image.. is this due to the error/fix commit? https://github.com/evandrocoan/PlantUmlDiagrams/pull/15/commits/59dd1886822a57d5586150c7d192da8ca944e6ea

Is this commit still not in the the package installer?

image

evandrocoan commented 1 year ago

Can you check if you can open this image image

outside sublime text?

Also, if it has a size 0, or if it looks normal.

MacMcDell commented 1 year ago

Hi. Thanks for getting back to me. confirmed that the generated files are 0kb . Doesn't matter where / what directory I am working out of. I also tried a mermaid style one, and the same effect. 0 bytes. I know they are working as using another IDE editor , the files generate as expected. basic sample like this:

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

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

image

package settings still look like this:

"bootstrapped": true,
    "channels":
    [
        "https://raw.githubusercontent.com/evandrocoan/StudioChannel/master/channel.json",
        "https://packagecontrol.io/channel_v3.json",                
    ],
    "in_process_packages":
    [
    ],
    "installed_packages":
    [
        "Color Scheme - Eggplant Parm",
        "ImagePreview",
        "MarkdownPreview",
        "Package Control",
        "PGN Support",
        "PlantUmlDiagrams",
    ],
evandrocoan commented 1 year ago

Is any error logged on the Sublime Text console (views->show console)?

How is your settings file (.sublime-settings) for this package (Menu Preferences -> Package Settings -> PlantUmlDiagrams -> Settings Default/User)?