Skip to content

Commit

Permalink
Multiple bugfixes & enhancements:
Browse files Browse the repository at this point in the history
* [fix] Prevent errors caused by concurrent wireviz invocation (#8)
* [new] Notify users running older version of WireViz (#6)
* [new] Also log warnings/errors to an output channel (#5)
  • Loading branch information
Nanang P committed May 20, 2024
1 parent d042b7d commit 3c5ebbc
Show file tree
Hide file tree
Showing 9 changed files with 164 additions and 2,716 deletions.
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"connor4312.esbuild-problem-matchers"
]
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type": "extensionHost",
"request": "launch",
"args": [
"${workspaceFolder}/examples",
"C:\\dev\\Python\\WireViz\\examples",
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
Expand Down
4 changes: 2 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"script": "esbuild-watch",
"problemMatcher": "$esbuild-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
Expand Down
30 changes: 26 additions & 4 deletions examples/demo02.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
metadata:

title: WireViz Demo 2
pn: WV-DEMO-02

authors:
Created:
name: D. Rojas
date: 2020-05-20
Approved:
name: D. Rojas
date: 2020-05-20

revisions:
A:
name: D. Rojas
date: 2020-10-17
changelog: WireViz 0.2 release

template:
name: din-6771
sheetsize: A3

templates: # defining templates to be used later on
- &molex_f
type: Molex KK 254
Expand All @@ -22,17 +45,16 @@ connectors:
X4:
<<: *molex_f
pinlabels: [GND, +12V, MISO, MOSI, SCK]
ferrule_crimp:
F:
style: simple
autogenerate: true
type: Crimp ferrule
subtype: 0.25 mm²
color: YE

cables:
W1:
<<: *wire_i2c
length: 0.12
length: 0.2
show_equiv: true
W2:
<<: *wire_i2c
Expand Down Expand Up @@ -64,6 +86,6 @@ connections:
- W3: [1-4]
- X4: [1,3-5]
-
- ferrule_crimp
- F.
- W4: [1,2]
- X4: [1,2]
7 changes: 3 additions & 4 deletions examples/ex04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ cables:
category: bundle

connectors:
ferrule_crimp:
F:
style: simple
autogenerate: true
type: Crimp ferrule

connections:
-
- ferrule_crimp
- F.
- W1: [1-6]
- ferrule_crimp
- F.
Loading

0 comments on commit 3c5ebbc

Please sign in to comment.