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 .tag to Java Server Pages #6048

Merged
merged 3 commits into from
Sep 5, 2022
Merged

Add .tag to Java Server Pages #6048

merged 3 commits into from
Sep 5, 2022

Conversation

lildude
Copy link
Member

@lildude lildude commented Sep 1, 2022

Description

This PR takes advantage of the generic extension functionality and adds .tag to Java Server Pages with a heuristic to correctly detect it.

I've gone with matching any of the possible directives that will appear in the JSP tag files as detailed at https://docs.oracle.com/javaee/1.4/tutorial/doc/JSPTags5.html

Fixes #3094, the oldest open issue in this repo right now.

Checklist:

@lildude lildude requested a review from a team as a code owner September 1, 2022 16:32
@lildude lildude requested a review from Alhadis September 2, 2022 08:54
Copy link
Collaborator

@Alhadis Alhadis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some discrepancies picked up from a cursory scan of Wikipedia1 and one of its cited sources2.

Also, it appears as if the language is known as "Jakarta Server Pages" now…?

Footnotes

  1. https://en.wikipedia.org/wiki/Jakarta_Server_Pages#cite_note-syntax-5

  2. https://www.oracle.com/technetwork/java/syntaxref12-149806.pdf

lib/linguist/heuristics.yml Outdated Show resolved Hide resolved
Alhadis and others added 2 commits September 3, 2022 17:09
@lildude lildude merged commit 1fbaa41 into master Sep 5, 2022
@lildude lildude deleted the lildude/add-jsp-tag branch September 5, 2022 08:26
@github-linguist github-linguist locked as resolved and limited conversation to collaborators Jun 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include support for JSP tag files
2 participants
-