Alexander Wang

Results 443 comments of Alexander Wang

Note: I think the best way to do this will be to extend vars and implement dynamic values for vars. ```d2 vars: { counter: enumerate(1) # starts at index 1...

@bo-ku-ra what do you mean other static variables? can you give an example of where this is confusing?

I see what you mean. The alternative is to have it look like a function call explicitly right? e.g. something like ```d2 ... # Clear dynamic and clear static a...

We don't control the chromium dependency version. Are you sure it's a versioning issue? Maybe the resolution is too big or something? Can you share more info/context? @GavinGuan24

Cool and lastly, can you sign your PR please @develar ? We have it turned on as an organization-wide setting.

It'll have to be calling the executable, I'm pretty sure. Google shows some results for calling Go from Java, but I suspect it'll be a lot of work.

1. Do you mean like a hosted, online API endpoint for that? 2. Separate, e.g. https://github.com/terrastruct/d2-vscode

yeah we have a long-standing task to kick off that project (https://github.com/terrastruct/d2/issues/104). Not prioritized currently though. From what I understand (and it's not much, regarding this topic), an LSP is...

i think the one place structured data would be helpful is for compilation errors: which line is the error at? Currently, https://play.d2lang.com just parses the strings: https://github.com/terrastruct/d2-playground/blob/master/src/js/modules/editor.js#L302 It'd be annoying...

There is not. Just limited bandwidth and so much to do still for D2. The VSCode extension took a lot of effort, and even then, it would've fallen behind in...