-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Amend Just language entry #6167
Conversation
- Remove `Justfile` alias. `just` is the name of the tool and the language. - Just looks for files called `justfile` in any case, so add the three most common cases: `JUSTFILE`, `Justfile`, and `justfile`. - Add the `.just` extension, which is in common use
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@casey, what would you say if we refactor this to Justfile
instead of just
as file naming?
The way it currently shows up is this:
Or capitalize the 1st letter? |
Yes, that's supposed to be the language's human-readable name, not its file extension or interpreter. Note that exceptions are made for non-standard casing if that's how the language's name is canonically spelt (e.g.,
Don't. This is a valid addition: it enables users to highlight Markdown code-blocks with |
@casey: Can you please allow others' contributions to this PR? I wanted to implement some of the suggestions but couldn't since it's read-only. |
@mihaigalos I think of the name of the language as being
@Alhadis I'm not sure I see the value of adding an additional alias. Wouldn't it be better to have a single way of annotating markdown code blocks? |
No, because this is the same lookup machinery responsible for interpreting Remember, users who type |
@casey FYI, I pushed a fix to your branch that updated the capitalisation of the |
Thanks!
Fair enough! I added the alias back. |
Ace. Well, this looks good to me. Now we just need to wait for @lildude to give the GitHub Staffer's Seal-of-Approval™ so we can merge this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
Note: this PR will not be merged until close to when the next release is made. See here for more details.
Don’t worry about merging in master. I’ll do it again before merging. |
Sorry for not catching this in the initial review!
Justfile
alias.just
is the name of the tool and the language.justfile
in any case, so add the three most common cases:JUSTFILE
,Justfile
, andjustfile
..just
extension, which is in common use. See this search: https://github.com/search?q=extension%3Ajust