Comments (3)
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.
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 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)
- layers/steps keywords
- Extension checks for `d2` executable every time VS Code starts.
- syntax highlighting bug with unclosed bracket in code HOT 3
- vsc preview error HOT 2
- do not force color theme on extension activation. HOT 6
- Update Timer parameter doesn't apply to Markdown files HOT 3
- spread substitutions
- support layers HOT 4
- substitutions syntax highlight err
- Support syntax highlighting in markdown documents. HOT 2
- Allow for setting Layout, Theme and Sketch options per document HOT 4
- Opt-in footnotes in svg and connection tooltips HOT 1
- Remove `import` as a keyword HOT 1
- Horizontal scrolling issue in Preview mode HOT 2
- rendered href links to local .md files do not work HOT 2
- Need to fix dependabot alerts
- vars block is being rendered HOT 2
- Dark theme option for preview theme
- Create a plugin for Jetbrains HOT 1
- import syntax
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from d2-vscode.