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

Please help me understand how to use and modify these files #5

Closed
ElectricRCAircraftGuy opened this issue Mar 19, 2022 · 4 comments
Closed

Comments

@ElectricRCAircraftGuy
Copy link

ElectricRCAircraftGuy commented Mar 19, 2022

Please teach me and give me some quick pointers to be able to modify your package myself.

It's a very small package, with just 2 files, but I have some questions:

  1. Why 2 duplicate files in different formats? GcodeSyntaxHighlightingDef.tmLanguage is XML and GcodeSyntaxHighlightingDef.YAML-tmLanguage is YAML, but they contain the same data! Why? Can I delete one?
  2. Where are the colors actually set? How do you choose names and things?
  3. How do you package it up and put it in the package control manager, here?

I'd really appreciate some help on this and I can modify some things in the package myself.

Note to self: Useful links so far:

  1. https://packagecontrol.io/docs/customizing_packages
  2. https://packagecontrol.io/packages/G-code%20Syntax%20Highlighting
@themachinist
Copy link
Owner

If you want to contribute to this repository then you can use Git to clone this repository, make your changes, and submit a pull request. After that I would review the changes and merge them into the main branch, if approved. There may be some intermediary steps I'm forgetting as it's been 6 - 7 years since I've done any coding.

@ElectricRCAircraftGuy
Copy link
Author

Hi @themachinist , I've started a new stand-alone project here: https://github.com/ElectricRCAircraftGuy/sublime_gcode.

I plan on keeping it maintained. If it would help you so you don't have to maintain yours anymore, feel free to update your readme to redirect people to my repo. I'll see if I can get it into the Package Control system too.

My version isn't complete, but I have it handling comments and a lot of the syntax already.

I posted this comment here too: #4 (comment)

@ElectricRCAircraftGuy
Copy link
Author

as it's been 6 - 7 years since I've done any coding.

I'm very curious: how much coding did you used to do, and what types, and what do you do now / over the last 6-7 years?

@ElectricRCAircraftGuy
Copy link
Author

ElectricRCAircraftGuy commented Mar 24, 2022

Done. I finished my own gcode syntax highlighter. See: #2 (comment)

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