Skip to content

VSCode extension for Marling G-code analysis and editing

License

Notifications You must be signed in to change notification settings

ReinisSprogis/VSMarlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSMarlin README

This is an attempt of an VSCode extension for Marlin firmware G-Codes. Let me be honest and say that it is far from complete and it is my first attempt at an extension. I created this as experiment some time ago and now decided to release it to the public to show concept and see if community is interested, rather than leave it on the dusty shelf forever. I will try to improve it over time but I can't promise anything. If you want to contribute, feel free to do so. If there is interest to take this to next level by community and make this a real extension, probably should discuss with contributors how to proceed. Currently it is more of a proof of concept. It is also not up to date with latest Marlin firmware. Demo video https://www.youtube.com/watch?v=7F0VbckPJxg

Features

Syntax highlighting
Snippets for Marlin G-Codes and M-Codes
Hover over G-Code and M-code to see description
Tool path graphics
G-Code and Mcode Error checking
Marlin Version checking
Extrusion calculation - Not working properly
Program timeline chart

Screenshot

Tip: Select panel of code and press ctrl+Alt+r to see tool path graphics
Tip: Select panel of code and press ctrl+Alt+t to see program timeline chart

Requirements

VSCode

Known Issues

*Extrusion calculation is not working properly and give wrong results.
*Parser checking full file on every change, slowing down editor. Need to find a way to check only changed lines.
*Graphics not supporting all G-Codes and M-Codes.
*Scrolling through code doesn't show correct tool path graphics. Need to account fro non G-Code lines.
*Potentially many more...

Release Notes

Initial release.

0.1.0

Enjoy!

About

VSCode extension for Marling G-code analysis and editing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published