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

Edit FTL files directly in Godot #8

Open
2 tasks
RedMser opened this issue Apr 29, 2024 · 2 comments
Open
2 tasks

Edit FTL files directly in Godot #8

RedMser opened this issue Apr 29, 2024 · 2 comments
Labels
enhancement New feature or request help wanted Requesting help from other contributors with more experience version:forked Specific to the Forked version of the extension

Comments

@RedMser
Copy link
Owner

RedMser commented Apr 29, 2024

  • Make .FTL files editable in script editor (see Upstream API changes to Godot #11 under "not yet implemented")
  • Add simple syntax highlighting - see how the vscode extension highlights stuff, which textmate rules it has
@RedMser RedMser added the enhancement New feature or request label Apr 29, 2024
@RedMser RedMser assigned RedMser and unassigned RedMser Apr 30, 2024
@RedMser
Copy link
Owner Author

RedMser commented Apr 30, 2024

I have started on this, but am unable to figure out why syntax highlighter _get_supported_languages doesn't recognize that it is bound: https://github.com/RedMser/godot-fluent-translation/blob/syntax-highlighter/rust/src/fluent/syntax_highlighter.rs#L20

@RedMser RedMser added help wanted Requesting help from other contributors with more experience version:forked Specific to the Forked version of the extension labels Apr 30, 2024
@RedMser
Copy link
Owner Author

RedMser commented May 6, 2024

Should probably let my branch rest. Syntax highlighting is not nearly as important as being able to open these files in the first place.

Could also implement a custom syntax highlighter, instead of hijacking the system like JSON is doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Requesting help from other contributors with more experience version:forked Specific to the Forked version of the extension
Projects
None yet
Development

No branches or pull requests

1 participant