Skip to content

Commit 19e34f4

Browse files
committed
Merge branch 'release-0.3.0'
2 parents 47fd265 + fdbb6f9 commit 19e34f4

31 files changed

+2809
-36
lines changed

CHANGELOG.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,17 @@
22

33
All changes to vscode-code-syntax will be documented here.
44

5+
## v0.3.0 [#](https://github.com/appliedengdesign/vscode-gcode-syntax/releases/tag/v0.3.0)
6+
7+
- Added G-Code Tree view of code.
8+
- Cleaned up code for modularity
9+
- Updated dependencies
10+
511
## v0.2.0 [#](https://github.com/appliedengdesign/vscode-gcode-syntax/releases/tag/v0.2.0)
612

713
- Refactor extension code for new vscode extension syntax
8-
- Added ```.eia``` file extension [4](https://github.com/appliedengdesign/vscode-gcode-syntax/issues/4)
9-
- Fixed compound macro variable syntax highlighting [3](https://github.com/appliedengdesign/vscode-gcode-syntax/issues/4)
14+
- Added ```.eia``` file extension [#4](https://github.com/appliedengdesign/vscode-gcode-syntax/issues/4)
15+
- Fixed compound macro variable syntax highlighting [#3](https://github.com/appliedengdesign/vscode-gcode-syntax/issues/4)
1016
- Updated dependencies & dev dependencies
1117
- Added standard vscode testing to source code
1218
- Added dedicated output channel "G-Code" when activated

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Language synax, IntelliSense, code snippits & more for writing G-Code for CNC ma
1515

1616
This extension adds language syntax for CNC G-Code, code snippets, and colorization.
1717

18+
There is also a tree-view of the G-Code, which parses the commands and gives you an overview of the program.
19+
1820
### Current Supported Extensions
1921

2022
- .m
@@ -51,26 +53,35 @@ This extension adds language syntax for CNC G-Code, code snippets, and colorizat
5153

5254
## Installation
5355

54-
Install from Extensions Marketplace
56+
Install from Extensions Marketplace or manually install the `vsix` file.
5557

5658
## Usage
5759

5860
Install & activate extension. Extension activates when you open a file marked for the `gcode` language.
5961

62+
Tree view is enabled by default and can be access from the G icon on the activity bar.
63+
64+
## Configuration
65+
66+
- Colorization ( Not Currently Active )
67+
- Machine Type ( Not Currently Active )
68+
- Tree Auto-Refresh
69+
- Tree auto-refreshes as changes are made to the gcode. Disabled by default.
70+
6071
## Known Issues
6172

6273
Please visit our [GitHub Issues](https://github.com/appliedengdesign/vscode-gcode-syntax/issues) page for any open issues.
6374

6475
## TODO
6576

6677
- Add more snippets
67-
- Add tree view feature for machining blocks
78+
- Add additional tree items.
6879
- G-Code Debugging
69-
- Backplotting?
80+
- Backplotter
7081

7182
## Changelog
7283

73-
Latest Version: v0.2.0
84+
Latest Version: v0.3.0
7485

7586
Please refer to our [CHANGELOG](https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CHANGELOG.md) doc.
7687

@@ -80,6 +91,12 @@ If you work like to help contribute to the code or this project, please fork awa
8091

8192
For more information on contributing, please refer to the [CONTRIBUTING](https://github.com/appliedengdesign/vscode-gcode-syntax/blob/master/CONTRIBUTING.md) doc.
8293

94+
## About Applied Eng & Design
95+
96+
We are a full service engineering and design firm, specializing in CAD/CAM, CNC milling, rapid prototyping, training and more. We also like to dabble in Arudino / RaspberryPi projects, electronics, drones and robotics projects! Subscribe to our YouTube channel for videos on our projects, screencast tutorials, and more!
97+
98+
Follow us on [Twitter](https://twitter.com/appliedengdes) & [Instagram](https://instagram.com/appliedengdes), and like our [Facebook Page](https://facebook.com/appliedengdesign)!
99+
83100
## License
84101

85102
This extension is licensed under the [MIT License](https://opensource.org/licenses/MIT).

images/screenshot.png

33.9 KB
Loading

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 51 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vscode-gcode-syntax",
33
"displayName": "G-Code Syntax",
44
"description": "CNC G-Code Syntax Langauge",
5-
"version": "0.2.0",
5+
"version": "0.3.0",
66
"license": "MIT",
77
"publisher": "appliedengdesign",
88
"author": {
@@ -30,7 +30,7 @@
3030
"bugs": {
3131
"url": "https://github.com/appliedengdesign/vscode-gcode-syntax/issues"
3232
},
33-
"main": "./out/extension",
33+
"main": "./out/extension.js",
3434
"activationEvents": [
3535
"onLanguage:gcode"
3636
],
@@ -107,27 +107,70 @@
107107
"type": "object",
108108
"title": "G-Code",
109109
"properties": {
110-
"gcode.colorization.enabled": {
110+
"gcode.colorization": {
111111
"type": "boolean",
112112
"default": false,
113113
"description": "Enable G-Code specific colorization options",
114114
"scope": "window"
115115
},
116116
"gcode.machineType": {
117117
"type": "string",
118-
"default": "mill",
118+
"default": "Mill",
119119
"enum": [
120-
"mill",
121-
"lathe"
120+
"Mill",
121+
"Lathe"
122122
],
123123
"enumDescriptions": [
124124
"Loads specific snippets for CNC Mill G-Code",
125125
"Loads specific snippets for CNC Lathe G-Code"
126126
],
127127
"scope": "window"
128+
},
129+
"gcode.treeAutoRefresh": {
130+
"type": "boolean",
131+
"default": false,
132+
"description": "Enable G-Code Tree Auto Refresh",
133+
"scope": "window"
134+
}
135+
}
136+
},
137+
"viewsContainers": {
138+
"activitybar": [
139+
{
140+
"id": "gcode",
141+
"title": "G-Code",
142+
"icon": "images/vscode-gcode-syntax-icon.svg"
143+
}
144+
]
145+
},
146+
"views": {
147+
"gcode": [
148+
{
149+
"id": "gcodeTree",
150+
"name": "G-Code Tree",
151+
"when": "gcodeTreeEnabled"
152+
}
153+
]
154+
},
155+
"menus": {
156+
"view/title": [
157+
{
158+
"command": "gcodeTree.refreshEntry",
159+
"when": "view == gcodeTree",
160+
"group": "navigation"
161+
}
162+
]
163+
},
164+
"commands": [
165+
{
166+
"command": "gcodeTree.refreshEntry",
167+
"title": "Refresh",
168+
"icon": {
169+
"light": "resources/icons/light/refresh.svg",
170+
"dark": "resources/icons/dark/refresh.svg"
128171
}
129172
}
130-
}
173+
]
131174
},
132175
"scripts": {
133176
"vscode:prepublish": "npm run compile",
@@ -140,7 +183,7 @@
140183
"devDependencies": {
141184
"@types/glob": "^7.1.1",
142185
"@types/mocha": "^5.2.7",
143-
"@types/node": "^12.12.22",
186+
"@types/node": "^12.12.24",
144187
"@types/vscode": "^1.41.0",
145188
"glob": "^7.1.6",
146189
"mocha": "^6.2.2",
Lines changed: 15 additions & 0 deletions
Loading
Lines changed: 16 additions & 0 deletions
Loading

resources/icons/dark/coolanton.svg

Lines changed: 33 additions & 0 deletions
Loading

resources/icons/dark/cutting.svg

Lines changed: 15 additions & 0 deletions
Loading

resources/icons/dark/cwcutting.svg

Lines changed: 15 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)