Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension not working with .g files #6

Open
4DP-e opened this issue Jun 17, 2021 · 1 comment
Open

Extension not working with .g files #6

4DP-e opened this issue Jun 17, 2021 · 1 comment

Comments

@4DP-e
Copy link

4DP-e commented Jun 17, 2021

Hello, I have some "xxx.g" files to edit and the extension doesn't detect it so I don't have the syntax color. I tried renaming them to "xxx.gcode" and it works great.

@coryalder
Copy link

You can fix that by adding this to your vscode settings.json ( either the workspace one, or the global one ):

"files.associations": {
    "*.g": "gcode",
    "*.nc": "gcode"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants