asciidoctor/asciidoctor-intellij-plugin

/opt/local/bin/dot not found on homebrew-installed graphviz on Apple Silicon

开放

#972 创建于 2022年1月24日

 (10 条评论) (0 个反应) (0 位负责人)Java (155 个派生)auto 404
buggood first issuehelp wanted

仓库指标

星标
 (392 个星标)
PR 合并指标
 (平均合并 4天 11小时) (30 天内合并 3 个 PR)

描述

Observed vs. expected behavior

Observed

Expected

Suggestion

Maybe introduce an environment variable GRAPHVIZ_DOT and/or let the user select it via UI like the PlantUML integration does:

Steps to reproduce

= dot test

[plantuml]

----
@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml

Container(t, "Test Container")
Person(p, "Test Person")
@enduml
----

Environment

Plugin Version: 0.36.13

WebStorm Details: 2021.3.1

% sw_vers
ProductName:	macOS
ProductVersion:	12.1
BuildVersion:	21C52
% uname -m
arm64
% brew --prefix
/opt/homebrew
% which dot
/opt/homebrew/bin/dot

https://docs.brew.sh/FAQ#why-is-the-default-installation-prefix-opthomebrew-on-apple-silicon

贡献者指南