-
Notifications
You must be signed in to change notification settings - Fork 45
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
Improve integration with others tools #312
Comments
For ace/github, we'll need to see what the conflicts over the file extension Are there other extensions with multiple modes already? There's a starting point for Atom, too, https://github.com/tree-sitter/tree-sitter-fluent. For VSCode, it's a bit sad that doing support for VSCode doesn't mean we get support for the Monaco editor. |
GtkSourceview already has support for |
I started a plugin for vscode: vscode-fluent @Pike Atom also support for TextMate syntax: https://flight-manual.atom.io/hacking-atom/sections/creating-a-legacy-textmate-grammar/ (despite that it's legacy) If someone want to add support to Atom, could use as start point the code that I already wrote on vscode-fluent. |
Regarding Linguist (and hence GitHub / GitLab / Ace / Etc.), the conflict with |
@Pike Hey, I'm developing the Fluent extension for vscode, and I would like to use Fluent's logo on the extension, to display on vscode's marketplace. But since Fluent uses Apache License, its trademarks are limited and I need an authorization from someone to use the logo. |
Pull Request to add Fluent support to Rouge (which is used for syntax highlighting by tools like Jekyll and Middleman): rouge-ruby/rouge#1697 |
Since my previous comment, GitLab has switched from linguist to Rouge, so the PR @rkh mentions should bring partial support there too! Unfortunately their Web IDE uses Monaco, which has syntax highlighting via Monarch. |
FWIW it looks like GitHub now highlights ftl files and also allows # Simple things are simple.
hello-user = Hello, {$userName}!
# Complex things are possible.
shared-photos =
{$userName} {$photoCount ->
[one] added a new photo
*[other] added {$photoCount} new photos
} to {$userGender ->
[male] his stream
[female] her stream
*[other] their stream
}. This seems to have done the trick: github-linguist/linguist#5341 – thanks @alerque. |
@rkh Thanks! |
Would be very useful to add support for highlight at others tools, such as vscode and github.
I'm creating this "meta issue" mainly to track the progress and know if someones already started that before. I looked before on others repositories but I didn't before, I'm sorry if it's a repeated issue.
On play we are using Ace with
fluent
mode but there is no mode with that name.To add support to GitHub we should firstly add support to Ace and so update this file. Would be nice also add support to CodeMirror, to be able to have syntax highlighting while editing the file on web.
VS Code (and probably others editors) uses TextMate syntax.
The text was updated successfully, but these errors were encountered: