Skip to content

Commit 41a5aa4

Browse files
committed
misc release updates and docs
1 parent 3708e38 commit 41a5aa4

File tree

6 files changed

+60
-0
lines changed

6 files changed

+60
-0
lines changed

GcodeLanguageExtension.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<Compile Include="Properties\AssemblyInfo.cs" />
7575
</ItemGroup>
7676
<ItemGroup>
77+
<Content Include="testfiles\textfile.txt" />
7778
<None Include="CODE_OF_CONDUCT.md" />
7879
<Content Include="Gcode-syntax-highlighting-icon.jpg">
7980
<IncludeInVSIX>true</IncludeInVSIX>

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# G-Code Language Extension
22

3+
![GcodeLanguageExtension.png](./images/GcodeLanguageExtension.png)
4+
35
## Installation - Visual Studio Market Place
46

57
https://marketplace.visualstudio.com/items?itemName=gojimmypi.gojimmypi-gcode-language-extension
@@ -39,6 +41,17 @@ Open the project and press `F5` to launch an experimental versional of Visual St
3941

4042
Ensure the `CopyLocal` is set to `false` for all project references.
4143

44+
# Notes
45+
46+
[ – minimum version inclusive.
47+
48+
] – maximum version inclusive.
49+
50+
( – minimum version exclusive.
51+
52+
) – maximum version exclusive.
53+
54+
4255

4356
TODO
4457

images/GcodeLanguageExtension.png

7.58 KB
Loading

release/GcodeLanguage.0.1.4.0.vsix

396 KB
Binary file not shown.

release/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Release History
22
Edit releawse in Project Properties - Assembly Information and source.extension.vsixmanifest Version.
33

4+
## Version 0.1.4
5+
6+
Addressed [#2](https://github.com/gojimmypi/GcodeLanguageExtension/issues/2) to highlight syntax for
7+
`.nc`, `.mpt`, `mpf` files in addition to `.gcode`.
8+
49
## Version 0.1.3
510
Fixed VS2015 compatibility. (manual edits of project file, capred to working VerilogLanguage project)
11+
12+
13+
14+
Hi! I'm glad someone is actually using this extension :)
15+
16+
I've added support to highlight syntax for `.nc`, `.mpt`, `mpf` files in addition to `.gcode`. Please see version `0.1.4`.
17+
18+
If you are interested, I have code for [another project](https://github.com/gojimmypi/VerilogLanguageExtension/blob/master/README.md) that not only highlights code, but also has hover text top actually indicate what the respective keyword means.
19+
20+
Perhaps if you could provide a list of all the g-codes - ideally in plain text, comma -delimited format, and their respective meaning, I could add this feature as well? (feel free to open a new issue for this ).
21+
22+
As for your questions: Yes - any sort of "register itself" for different file extensions would definitely require a code change.
23+
24+
Regarding the option for a dialogue to configure... well, everything is easy when you know how - but I'm not sure how this would work.
25+
26+

testfiles/textfile.txt

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
%
2+
O0000
3+
N10 (MACH3 MILL - )
4+
N20 (AUTHOR - {SCOTT SHAFER}) G0 ( second comment )
5+
N30 (GROUP - TOOLPATH GROUP #1)
6+
N40 (SYSTEM- ONECNC-XR2 MILL ADVANTAGE - VERSION 8.12)
7+
N50 (NOTES - NONE)
8+
N60 G0 G40 G49 G50 G80 G94
9+
N70 (.1875 INCH 3/16 HSS END MILL ) ( )
10+
N80 T4 M06 G43 H4
11+
N90 S3411.0 F25.0 M3 M07
12+
N100 G4 P3
13+
N110 G00 X14.9375 Y1.4106 Z0.1
14+
N120 Z0.05
15+
N130 G01 X14.9358 Y1.3786 Z0.0466 F25.0
16+
N140 X14.9376 Y1.3149 Z0.0399
17+
N150 X14.9445 Y1.2515 Z0.0332
18+
N160 X14.9564 Y1.1889 Z0.0265
19+
N170 X14.9734 Y1.1275 Z0.0198
20+
N180 X15.0049 Y1.0575 Z0.0118
21+
N190 X15.0484 Y0.9943 Z0.0037
22+
N200 X15.1023 Y0.9398 Z-0.0044
23+
N210 X15.1652 Y0.8957 Z-0.0124
24+
N220 X15.2348 Y0.8636 Z-0.0205
25+
N230 X15.309 Y0.8443 Z-0.0285

0 commit comments

Comments
 (0)