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

Add support for '.hc' files #8

Open
drernie opened this issue Jan 15, 2017 · 9 comments
Open

Add support for '.hc' files #8

drernie opened this issue Jan 15, 2017 · 9 comments
Assignees

Comments

@drernie
Copy link
Contributor

drernie commented Jan 15, 2017

@huffmande: for your first coding assignment, please add support for the 'hc' file extension.

Right now, language-maml mode is only enabled by default on files that end with the '.maml' extension.

@drernie
Copy link
Contributor Author

drernie commented Jan 15, 2017

HINT: You will need to edit the fileTypes parameter.

@huffmande
Copy link

huffmande commented Jan 17, 2017

I looked in many of the files and have yet to find any reference to the "fileTypes" parameter. I think I need more of a clue of where it might be.

Also ... I noticed that this issue is logged in: TheSwanFactory / language-maml ... where no work has taken place since Nov 2016. But, TheSwanFactory / maml seems to be the GIT project that has the most recent activity (3 days ago). Which project should I be looking at / working in?

@huffmande
Copy link

huffmande commented Jan 17, 2017

I should've waited a little longer before replying ... I found the "fileTypes" parameter ... it's in: language-maml / grammars / language-maml.cson

I discovered that I needed to be looking at .cson files for the "fileTypes" parameter when I started searching the Internet and reading up on how to develop ATOM syntax highlighting packages.

@drernie
Copy link
Contributor Author

drernie commented Jan 17, 2017

Thanks for looking into this. The relevant file is:

https://github.com/TheSwanFactory/language-maml/blob/master/grammars/language-maml.cson

The goal is for you to work on the atom package while I work on the interpreter.

Let me know if you have any other questions!

@huffmande
Copy link

huffmande commented Jan 31, 2017

Well, I re-uptaked how to do GIT - cloning, pulling, committing, pushing, etc.
I cloned the language-maml project and made the changes to the FileTypes parameter in /grammars/language-maml.cson; added 'hc' to the list.
I was able to 'git add' the changes to the index (I think that's the proper language) and commit the changes with 'git commit -m'.
However, I can't "git push origin master" to push the changes I made; I get permission denied.

@drernie
Copy link
Contributor Author

drernie commented Feb 1, 2017 via email

@huffmande
Copy link

It would seem I don't have write privs to: TheSwanFactory/language-maml.git

Whether I do 'git push origin master' as a command in Terminal ... or ... do Sync in GitHub Desktop ... I get the error:

remote: Permission to TheSwanFactory/language-maml.git denied to huffmande.
fatal: unable to access 'https://github.com/TheSwanFactory/language-maml.git/': The requested URL returned error: 403

I am able to pull/clone ... just not push.

I've tried both HTTPS and SSH - both fail. I regenerated a new SSH key for my user (huffmande@gmail.com) tonight and got it configured with GitHub successfully. I can do a successful test connect via SSH with GitHub.

@drernie
Copy link
Contributor Author

drernie commented Feb 20, 2017 via email

@drernie
Copy link
Contributor Author

drernie commented Feb 21, 2017

Doh! I am so sorry. :-( I didn't realize that, by default, you were only granted read access to the repository. Fixed. So bummed to have wasted your time...

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