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

Support freemarker #2797

Closed
lexlibra88 opened this issue Dec 9, 2024 · 8 comments
Closed

Support freemarker #2797

lexlibra88 opened this issue Dec 9, 2024 · 8 comments

Comments

@lexlibra88
Copy link

lexlibra88 commented Dec 9, 2024

Have you checked the issues and discussions to ensure there are no duplicates?

Forks

Are you using JetBrains Client / Code With Me / IntelliJ Remote Development?

No

Your programming languages

java, fremarker

Free or paid?

Paid users

Expected Behavior

It should work when paying the annual license. I used the trial version before. When it ran out I tried the Lite and seeing that it wasn't worth it, I paid for the license. I have uninstalled the lite version and I only have the normal version but it does not work

Current Behavior

Not working.

Code snippet for plays

It is not possible due to company privacy

Your Environment

Intellij Ultimate
@lexlibra88 lexlibra88 added the bug? label Dec 9, 2024
@intellij-rainbow-brackets intellij-rainbow-brackets changed the title No funciona la version de pago The paid version does not work Dec 9, 2024
@dosubot dosubot bot added the License label Dec 9, 2024
@lexlibra88
Copy link
Author

Captura desde 2024-12-09 12-28-12

@lexlibra88
Copy link
Author

Captura desde 2024-12-09 12-30-10

@izhangzhihao
Copy link
Owner

izhangzhihao commented Dec 9, 2024

Duplicate with #2698

freemarker is not supported yet.

@izhangzhihao izhangzhihao changed the title The paid version does not work Support freemaker Dec 9, 2024
@izhangzhihao izhangzhihao changed the title Support freemaker Support fremarker Dec 9, 2024
@izhangzhihao izhangzhihao changed the title Support fremarker Support freemarker Dec 9, 2024
@lexlibra88
Copy link
Author

lexlibra88 commented Dec 9, 2024

The trial version worked with freemarker

@lexlibra88
Copy link
Author

lexlibra88 commented Dec 9, 2024

When will it be available in the paid version?

@izhangzhihao
Copy link
Owner

The trial version worked with freemarker

Any screenshots? I’ve looked into the FreeMarker PSI tree implementation, and it’s quite a mess, making it really challenging to implement proper FreeMarker support.

@lexlibra88
Copy link
Author

lexlibra88 commented Dec 10, 2024

The second screenshot sent yesterday was of ftl code with fremarker

@izhangzhihao
Copy link
Owner

Syntax highlighting relies on the IDE parsing the syntax tree of the file. From your screenshot, the IDE isn't applying any syntax highlighting at all, which means it hasn't parsed the syntax tree. Without this, there's no way for rainbow brackets to work.

Moreover, rainbow brackets currently do not support FreeMarker syntax. I'll merge this issue into another related one shortly.

For now, I recommend following the IDE's steps to assign the correct file type. Right-click on the file name and let the IDE associate it with an appropriate file type. This will at least enable the built-in syntax highlighting provided by the IDE.

image

@izhangzhihao izhangzhihao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants