Skip to content

Commit ec8d3f1

Browse files
committed
fixes to snippets
1 parent 62ae2fa commit ec8d3f1

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

snippets/gcode-snippets.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scope": "gcode",
44
"prefix": "G04",
55
"body": [
6-
"G04 P${0:[Dwell]"
6+
"G04 P${0:[Dwell]}"
77
],
88
"description": "G04 Dwell"
99
},
@@ -19,7 +19,7 @@
1919
"prefix": "G81",
2020
"scope": "gcode",
2121
"body": [
22-
"G81 X${1:[X Loc]} Y${2:[Y Loc]} Z${4:[Depth]} R${5:[Retract Plane]} F${5:[Feed Rate]}",
22+
"G81 X${1:[X Loc]} Y${2:[Y Loc]} Z${3:[Depth]} R${4:[Retract Plane]} F${5:[Feed Rate]}",
2323
" $0",
2424
"G80"
2525
],
@@ -29,7 +29,7 @@
2929
"prefix": "G82",
3030
"scope": "gcode",
3131
"body": [
32-
"G81 X${1:[X Loc]} Y${2:[Y Loc]} Z${3:[Depth]} R${4:[Retract Plane]} F${5:[Feed Rate]} P${6:[Dwell]}",
32+
"G82 X${1:[X Loc]} Y${2:[Y Loc]} Z${3:[Depth]} R${4:[Retract Plane]} F${5:[Feed Rate]} P${6:[Dwell]}",
3333
" $0",
3434
"G80"
3535
],

snippets/general-snippets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"NXXXX": {
1717
"prefix": "sub",
1818
"body": [
19-
"N{1:NNNN}",
19+
"N${1:NNNN}",
2020
" $0",
2121
"M99"
2222
],

snippets/mcode-snippets.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scope": "gcode",
44
"prefix": "S",
55
"body": [
6-
"S${1:[RPM]} M0${0|3,4|}"
6+
"S${1:[RPM]} M0${2|3,4|}"
77
],
88
"description": "Spindle Speed"
99
},
@@ -19,19 +19,21 @@
1919
"scope": "gcode",
2020
"prefix": "M19",
2121
"body": [
22-
"M19 ${1|P,S|${0:[Angle]}}"
22+
"M19 ${1|P,S|}${0:[Angle]}"
2323
],
2424
"description": "M19 Spindle Orient"
2525
},
2626
"M97": {
2727
"scope": "gcode",
28+
"prefix": "M97",
2829
"body": [
2930
"M97 P${2:0000} L${0:1}"
3031
],
3132
"description": "M97 Local Subprogram Call"
3233
},
3334
"M98": {
3435
"scope": "gcode",
36+
"prefix": "M98",
3537
"body": [
3638
"M98 P${1:0000} L${0:1}"
3739
],

0 commit comments

Comments
 (0)