Giter Site home page Giter Site logo

create d2 compile task about d2-vscode HOT 3 CLOSED

terrastruct avatar terrastruct commented on June 5, 2024
create d2 compile task

from d2-vscode.

Comments (3)

BarryNolte avatar BarryNolte commented on June 5, 2024 2

All aboard the struggle bus... but I got it. I found the spot in the VSCode that is the least documented.

@gavin-ts Take a look at my branch https://github.com/BarryNolte/d2-vscode/tree/CustomTaskBasedExecution. It should be fully functional, I'm going to test it a bit more before I create a PR.

from d2-vscode.

BarryNolte avatar BarryNolte commented on June 5, 2024

I've been poking at this as time permits, I should have a full report and a list of problems/concerns this weekend. The big issue I'm having is that the file we compile is not the same name as the document (this is to handle the 'untitled' document and update when changed cases), which makes the 'jump to source' not work. I think I have a solution, but requires some plumbing work.

from d2-vscode.

gavin-ts avatar gavin-ts commented on June 5, 2024

@gavin-ts Take a look at my branch https://github.com/BarryNolte/d2-vscode/tree/CustomTaskBasedExecution. It should be fully functional, I'm going to test it a bit more before I create a PR.

just looking at the code it seems pretty good. I remembered an enhancement I was thinking of to skip the temp files that might make things a little simpler, so I added an issue for it here #39. will try it out

from d2-vscode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.