All Projects → appliedengdesign → vscode-gcode-syntax

appliedengdesign / vscode-gcode-syntax

Licence: MIT license
G Code Language Extension for Visual Studio Code. Turn VSCode into a fully capable G-Code editor, including language support & more.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
nesC
38 projects
SCSS
7915 projects

Projects that are alternatives of or similar to vscode-gcode-syntax

vscode-terraform-doc-snippets
Snippets in vscode for all resources and data sources, as yanked directly from provider docs.
Stars: ✭ 26 (-55.93%)
Mutual labels:  snippets, visual-studio-code, visual-studio-code-extension
Wikitext-VSCode-Extension
A Visual Studio Code Extension that provides language support for Wikitext.
Stars: ✭ 50 (-15.25%)
Mutual labels:  snippets, visual-studio-code, visual-studio-code-extension
VscOdooSnippets
Odoo Snippets for Visual Studio Code
Stars: ✭ 29 (-50.85%)
Mutual labels:  snippets, visual-studio-code, visual-studio-code-extension
php-tools
Some code snippets that are often used in PHP
Stars: ✭ 25 (-57.63%)
Mutual labels:  snippets, tree
vscode-cucumber
Code snippets to write scenarios faster + Syntax highlight for .feature files
Stars: ✭ 24 (-59.32%)
Mutual labels:  snippets, visual-studio-code-extension
vscode-csharp-snippets
Extension of C# Snippets for Visual Studio Code
Stars: ✭ 22 (-62.71%)
Mutual labels:  snippets, visual-studio-code
code-slides
present your code as slides in VSCode
Stars: ✭ 17 (-71.19%)
Mutual labels:  snippets, visual-studio-code
vscode-ampscript
This extension allows you to connect Visual Studio Code directly to your MC Account, enables syntax highlighting for AMPScript, has built-in documentation for all AMPScript functions and also adds code snippets for language elements and functions.
Stars: ✭ 37 (-37.29%)
Mutual labels:  snippets, visual-studio-code
Polacode
📸 Polaroid for your code
Stars: ✭ 6,511 (+10935.59%)
Mutual labels:  snippets, visual-studio-code
Vscode Matlab
MATLAB support for Visual Studio Code
Stars: ✭ 114 (+93.22%)
Mutual labels:  snippets, visual-studio-code
Laravel Blade Snippets Vscode
Laravel blade snippets and syntax highlight support for Visual Studio Code
Stars: ✭ 80 (+35.59%)
Mutual labels:  snippets, visual-studio-code
ctagsx
VSCode ctags implementation that actually works
Stars: ✭ 24 (-59.32%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
VSC-React-Native-React-Redux-Snippets
Snippets for React and React-Native with a bit of Redux for es6/es7 user.
Stars: ✭ 56 (-5.08%)
Mutual labels:  snippets, visual-studio-code
testcafe-snippets
Code snippets for TestCafe
Stars: ✭ 54 (-8.47%)
Mutual labels:  snippets, visual-studio-code
Vscode Restructuredtext
reStructuredText Language Support in Visual Studio Code
Stars: ✭ 243 (+311.86%)
Mutual labels:  snippets, visual-studio-code
IndyMill
Open Source DIY Metal CNC Machine
Stars: ✭ 85 (+44.07%)
Mutual labels:  machine, cnc
Awesome Vscode
🎨 A curated list of delightful VS Code packages and resources.
Stars: ✭ 19,659 (+33220.34%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
Prettier Vscode
Visual Studio Code extension for Prettier
Stars: ✭ 4,085 (+6823.73%)
Mutual labels:  visual-studio-code, visual-studio-code-extension
Vs Freemarker
FreeMarker language colorization extension for Visual Studio Code
Stars: ✭ 17 (-71.19%)
Mutual labels:  snippets, visual-studio-code
Processing Vscode
A Visual Studio Code extension for the programming language Processing
Stars: ✭ 141 (+138.98%)
Mutual labels:  snippets, visual-studio-code

Version Installs Rating

GitHub Issues Github Stars Github Last Commit MIT License

Follow @appliedengdesign




VSCode G-Code Syntax is the premier extension for editing G-Code inside of VSCode. Going past the simple syntax highlighting, this extension aims to turn your editor into a full blown g-code management suite. Building on the features of VSCode like Intellisense, snippets, debugging and more, we are able to offer nearly all of the features you would see in very expensive proprietary editors.

Additionally, by editing your G-Code inside of VSCode, you can take advantage of source control using Git to manage your g-code file versions.

Screenshot

VSCode or Visual Studio Code is a FREE (as in beer), open source application for editing code of all kinds of programming languages. To make it even better, there is a great marketplace where you can download and add extensions to the application to support other languages, add features and more.

Support VSCode-G-Code-Syntax

G-Code Syntax is generously offered to everyone free of charge, if you find it useful, please consider supporting the project by becoming a sponsor, sharing it, and letting your friends know!

Also, please write a review, star me on GitHub, and follow me on Twitter or Instagram.

You can also subscribe to our videos over on YouTube.

Features

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

Tree View

  • Tree View shows an overview of the operations in the G-Code Program

Tree Screenshot

Stats View

  • Stats View shows a number of stats like tool changes, runtime, etc.

Stats Screenshot

Hovers

  • Hovering over G/M codes will show a short description of the code
  • Descriptions for the codes are taken from the sister project: gcode-reference
  • Hovers are dependent on the machine type selected

Hovers Screenshot

Status Bars

  • G-Code adds three informative sections to the VSCode status bar area
    • Tree Status (Dirty or Up to Date) depending on Refresh needed
    • Current units as set by settings (Auto, Inch or Metric)
    • Machine Type as set by settings
    • Ok there's a little heart there too.

Status Bar Screenshot

Context Menu

  • G-Code adds several commands to the context menu when viewing g-code
    • Change selected code into a comment
    • Refresh Stats
    • Refresh Tree
    • Remove Comment from selected code

Context Menu Screenshot

Current Supported File Extensions

| .001   | .apt | .aptcl | .cls   | .cnc | .din | .dnc | .ecs |
| .eia   | .fan | .fgc   | .fnc   | .g   | .g00 | .gc  | .gcd |
| .gcode | .gp  | .hnc   | .knc   | .lib | .m   | .min | .mpf |
| .mpr   | .msb | .nc    | .ncc   | .ncd | .ncf | .ncg | .nci |
| .ncp   | .ngc | .out   | .pim   | .pit | .plt | .ply | .prg |
| .pu1   | .rol | .S     | .sbp   | .spf | .ssb | .sub | .tap |
| .xpi   |      |        |        |      |      |      |      |

If you would like another file extension supported by this extension, please open an issue.

Installation

Install from Extensions Marketplace or manually install the vsix file.

Usage

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

Tree view is enabled by default and can be access from the G icon on the activity bar.

G-Code Syntax Settings

G-Code Syntax is customizable and provides many configuration settings to allow the personalization of almost all features.

Name Description
gcode.general.hovers.enabled Enable or Disable the hovers to show G-Code information
gcode.general.machineType Choose the machine type for extension (Mill is default)
gcode.general.statusBars.enabled Enable or Disable the G-Code status bars
gcode.general.statusbars.alignment Choose the alignment of the status bars (Left is default)
gcode.general.units Choose the units for the file. Options are Auto, Inch or Metric
gcode.general.outputLevel Configure Output level for debugging purposes
gcode.lineNumberer.addSpaceAfter Add space after line number
gcode.lineNumberer.defaultIncrement Default Line Numberer Increment
gcode.lineNumberer.defaultStart Default Line Numberer Start
gcode.lineNumberer.enableQuickPick Enable or Disable Input for the Line Numberer (Will use above defaults)
gcode.lineNumberer.frequency Frequency of line number additions (Every Line or at Tool Changes)
gcode.lineNumberer.ignoreBlank Ignore Blank lines when numbering
gcode.lineNumberer.ignoreComments Ignore Comments when numbering
gcode.lineNumberer.ignoreExtra Additional characters to ignore (Beginning of Line, Default is %)
gcode.lineNumberer.ignoreProgramNumbers Ignore Program numbers, e.g. O12345
gcode.lineNumberer.matchLineNumber When numbering, match the N number to file's line number. (Default is off)
gcode.views.maxAutoRefresh Value for limiting the autoRefresh maximum lines
gcode.views.navTree.autoRefresh Tree auto-refreshes as changes are made to the g-code. ( Disabled by default )
gcode.views.stats.autoRefresh Auto-refresh the stats view when changes are made to the g-code. (Disabled by default)
gcode.views.webviews.enabled Enable or disable the webviews

Settings Screenshot

Known Issues

Please visit our GitHub Issues page for any open issues.

TODO

  • Add more snippets
  • Add additional tree items.
  • Machining Calculator
  • More Statistics
  • G-Code Debugging
  • Backplotter
  • Semantic Highlighting
  • Programmatic Language Server

Visit our projects page for future roadmaps.

Changelog

Latest Version: v0.7.7

Please refer to our CHANGELOG doc.

Contributing

If you work like to help contribute to the code or this project, please fork away and submit pull requests!

For more information on contributing, please refer to the CONTRIBUTING doc.

Contributors

About Applied Eng & Design

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!

Follow us on Twitter & Instagram, and like our Facebook Page!

License

This extension is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].