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

Align mime types with eXist 3.0.0+ #695

Merged
merged 1 commit into from
Jun 23, 2024
Merged

Conversation

joewiz
Copy link
Member

@joewiz joewiz commented Jun 22, 2024

In eXist-db/exist#1136, released with eXist 3.0.0, eXist changed the mime types associated with Javascript and Markdown files. This PR aligns eXide's mime type detection with that PR. With this PR applied, when opening Javascript or Markdown files, eXide will correctly detect the file type and apply syntax highlighting, linting, and other syntax-related features automatically.

Fixes eXist-db/exist#5338 reported by @Speedlearner5.

@joewiz joewiz added the bug label Jun 22, 2024
@joewiz joewiz requested a review from a team June 22, 2024 18:38
@joewiz joewiz added the javascript Pull requests that update Javascript code label Jun 22, 2024
@joewiz
Copy link
Member Author

joewiz commented Jun 22, 2024

p.s. eXide is already tied to eXist 6.1.0, so this change won't affect eXide's eXist dependency. See

<dependency processor="http://exist-db.org" semver-min="6.1.0"/>
.

@duncdrum duncdrum merged commit f3230fd into eXist-db:develop Jun 23, 2024
2 checks passed
@joewiz joewiz deleted the fix-mime-types branch June 23, 2024 19:23
@joewiz
Copy link
Member Author

joewiz commented Jun 23, 2024

@reinhapa @duncdrum Thanks! This PR is included in eXide v3.5.3: https://github.com/eXist-db/eXide/releases/tag/v3.5.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The eXist database is insisting that my Javascript code is really an Xquery code
3 participants