FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: support auto-reloading changed grammars from filesystem by sebthom · Pull Request #895 · eclipse-tm4e/tm4e · GitHub

feat: support auto-reloading changed grammars from filesystem - #895

Merged
sebthom merged 4 commits into
eclipse-tm4e:mainfrom
sebthom:refresh-grammar
Jun 2, 2025
Merged

feat: support auto-reloading changed grammars from filesystem#895
sebthom merged 4 commits into
eclipse-tm4e:mainfrom
sebthom:refresh-grammar

Conversation

sebthom commented Jun 2, 2025

Copy link
Copy Markdown
Member

This PR addresses #839 and ensures that when a new editor window is opened, TM4E will detect if the related TextMate grammar file has changed on disk and reloads it automatically. Reload checks are throttled to once every five seconds for performance reasons.

sebthom added 4 commits June 2, 2025 11:12
- add IGrammarSource#getLastModified
- replace IGrammarSource#getFilePath by IThemeSource#getURI
- add IThemeSource#getLastModified
- replace IThemeSource#getFilePath by IThemeSource#getURI
- add ITMResource#getURI
- add ITMResource#getLastModified
sebthom merged commit 5468bca into eclipse-tm4e:main Jun 2, 2025
sebthom deleted the refresh-grammar branch June 2, 2025 12:41
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL