Skip to content

Conversation

@BradWalker
Copy link
Member

@BradWalker BradWalker commented May 5, 2025

update: update TextMark/Markdown tooling

desc: The TextMark JSON description is very much out of date (i.e. years). This change brings in the latest version of the JSON description.

In addition, update the TextMark plugin to 0.14.1 version.

testing: built with no issues. Loaded a README.md file into the IDE and it previewed correctly.


^Add meaningful description above

Click to collapse/expand PR instructions

By opening a pull request you confirm that, unless explicitly stated otherwise, the changes -

  • are all your own work, and you have the right to contribute them.
  • are contributed solely under the terms and conditions of the Apache License 2.0 (see section 5 of the license for more information).

Please make sure (eg. git log) that all commits have a valid name and email address for you in the Author field.

If you're a first time contributor, see the Contributing guidelines for more information.

If you're a committer, please label the PR before pressing "Create pull request" so that the right test jobs can run.

PR approval and merge checklist:

  1. Was this PR correctly labeled, did the right tests run? When did they run?
  2. Is this PR squashed?
  3. Are author name / email address correct? Are co-authors correctly listed? Do the commit messages need updates?
  4. Does the PR title and description still fit after the Nth iteration? Is the description sufficient to appear in the release notes?

If this PR targets the delivery branch: don't merge. (full wiki article)

@BradWalker BradWalker added this to the NB27 milestone May 5, 2025
@BradWalker BradWalker self-assigned this May 5, 2025
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

Looks sane to me. I left an inline comment you might want to consider.

For the formal parts:

  • In commits please ensure there is a first summary line, followed by an empty line. Then the details of the commit should follow, if they add info.
  • The failing "PR Label" check is invalid here, as the ide/textmate.lexer tests are run always as part of the IDE cluster.

@apache apache locked and limited conversation to collaborators May 7, 2025
@apache apache unlocked this conversation May 7, 2025
@mbien mbien added the Upgrade Library Library (Dependency) Upgrade label May 11, 2025
@mbien mbien changed the title update: update TextMark/Markdown tooling update TextMark/Markdown tooling May 11, 2025
@mbien
Copy link
Member

mbien commented May 17, 2025

was hoping this would fix the big block of warnings in the startup log (and also repeated during tests) but they are still there:

Details
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.yaml]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.html.derivative]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.css]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.html.basic]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.ini]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.java]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.lua]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.makefile]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.perl]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.r]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.ruby]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.php]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.sql]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.asp.vb.net]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.xml]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.xml.xsl]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.batchfile]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.clojure]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.coffee]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.c]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.cpp]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.diff]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.dockerfile]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.git-commit]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.git-rebase]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.go]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.groovy]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.pug]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.js]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.js.regexp]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.json]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.json.comments]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.css.less]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.objc]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.swift]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.css.scss]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.perl.6]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.powershell]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.python]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.julia]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.regexp.python]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.rust]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.scala]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.shell]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.tsx]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.cs]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.fsharp]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.dart]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.html.handlebars]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.log]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.erlang]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.elixir]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.tex.latex]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [text.bibtex]
WARNING [org.eclipse.tm4e.core.registry.Registry]: No grammar source for scope [source.twig]

not completely sure when this started, but its in NB 25 and 26.

@matthiasblaesing
Copy link
Contributor

@mbien my understanding is, that these warnings come from the textmate grammars, when the corresponding grammars are not present. Have a look at the tmLanguage.json files. In there you can find includes and these match the warnings.

@BradWalker
Copy link
Member Author

@mbien my understanding is, that these warnings come from the textmate grammars, when the corresponding grammars are not present. Have a look at the tmLanguage.json files. In there you can find includes and these match the warnings.

@mbien , @matthiasblaesing is correct in saying these msgs are coming from TextMate. I'm working with those folks to try and resolve them.

Nonetheless, we do need to have our TextMate grammar updated as it's really out of date. And that's what I'm trying to do.

@matthiasblaesing
Copy link
Contributor

Nonetheless, we do need to have our TextMate grammar updated as it's really out of date. And that's what I'm trying to do.

I don't see a problem here. I think this is fine to merge. The hint about Joni was meant as a hint, so if you say "Yeah, evaluated, good idea, but don't feel safe with bumping it", I'm fine with that.

@BradWalker BradWalker force-pushed the markdown_tooling branch 3 times, most recently from 67806fb to 934dfc4 Compare May 17, 2025 22:58
desc: The TextMark JSON description is very much out of date (i.e. years). This change brings in the latest version of the JSON description.

In addition, update the TextMark plugin to 0.14.1 version.

testing: built with no issues. Loaded a README.md file into the IDE and it previewed correctly.
Copy link
Member

@mbien mbien left a comment

Choose a reason for hiding this comment

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

quickly checked on a readme and compared it to NB 26 and it worked

@matthiasblaesing
Copy link
Contributor

I see some more warnings from tm4e, but at this point in time I think we need to live with them. So from my POV this is still good to go.

@BradWalker
Copy link
Member Author

I see some more warnings from tm4e, but at this point in time I think we need to live with them. So from my POV this is still good to go.

That is correct.. There is a new TextMark/Markdown plugin in beta right now. Figured when it is finally released, maybe do another update then as it should reduce the number of messages.

@BradWalker BradWalker merged commit 69adafd into apache:master May 18, 2025
31 checks passed
@BradWalker BradWalker deleted the markdown_tooling branch May 18, 2025 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editor Upgrade Library Library (Dependency) Upgrade

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants