Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    stewbv
    @stewbv
    Do you happen to have a feature roadmap that could be shared?
    Karol Lewandowski
    @karollewandowski_gitlab

    Hi, there is not strict roadmap. We have over 250 ideas/tasks on the list. The next 2 planned features are:

    1. Connection to local AEM - to allow resolving, completing, browsing, etc. all AEM resources, what will significantly help to understand how AEM works and will speed up coding.
    2. Components generator - to allow creating components with dialogs, models, clientlibs, templates, etc. in seconds

    It's hard to say when it will be ready as the first one is a big one. We are aiming at the end of this year with 1 and January/February with 2.

    Chris Shaw
    @cshawaus
    Hi guys, got a strange issue. HTL syntax highlighting has stopped in IntelliJ 2021.1 has stopped working for me on two projects but works fine in new archetype projects and older custom projects. The only real difference between them is the ones that don't work use Java 11. I'm not seeing anything in the logs and reinstalling doesn't help. Any ideas to try?
    Karol Lewandowski
    @karollewandowski_gitlab
    Screenshot 2021-05-01 at 09.39.35.png
    Hi @cshawaus , could you please check if projects have AEM support enabled? Please check this config for every project, as it is project-specific configuration (it's not global).
    If it's enabled, then please check if JCR roots are detected. jcr_root directories should be marked with yellow JCR marker:
    Screenshot 2021-05-01 at 09.41.51.png
    If it's not, then mark it manually:
    Screenshot 2021-05-01 at 09.43.00.png
    Karol Lewandowski
    @karollewandowski_gitlab
    I tried to change Java version in some project to 11 in IDEA 2021.1 and it works fine. Another thing worth doing is to clear caches and indexes:
    Screenshot 2021-05-01 at 09.47.54.png
    Chris Shaw
    @cshawaus
    image.png
    Thanks for getting back, everything is enabled and my folder structure is correct. Still nada though
    I have also invalidated all my caches too 3-4 times. Just refuses to detect my project
    Karol Lewandowski
    @karollewandowski_gitlab
    I understand there is nothing in bottom right status icon:
    Screenshot 2021-05-01 at 10.51.02.png
    Chris Shaw
    @cshawaus
    Nope, starts up cleanly
    Karol Lewandowski
    @karollewandowski_gitlab
    Another question: are file icons HTL (purple) or HTML (green)?
    Chris Shaw
    @cshawaus
    Green
    image.png
    Karol Lewandowski
    @karollewandowski_gitlab
    OK, but JCR folder marker is there, right?
    Chris Shaw
    @cshawaus
    Yep, the folder structure aligns with my other projects that are working
    Karol Lewandowski
    @karollewandowski_gitlab
    OK. It looks like class responsible for substituting language from HTML to HTL for some reason can't do it correctly. Condition that it evaluates is:
    project.aemSettings?.aemSupportEnabled == true && file.isHtlFile(project) && licenseIsValid(). I'm suspecting that settings is null or evaluates to false for some reason.
    Could you please try to checkout projects from scratch? In different folder, without any existing IDEA files (.idea folder, *.iml files).
    Chris Shaw
    @cshawaus
    Sure, won't be a min
    Karol Lewandowski
    @karollewandowski_gitlab
    I see, I'm waiting for the info then (fingers crossed). Maybe in 2021.1 they changed some project structure and it broke settings.
    Chris Shaw
    @cshawaus
    Looks to be the case, checking it out again fixed it. The strange thing is I deleted my iml files and .idea folder and it didn't fix it. Guess that folder is just borked
    Thanks for the help, really didn't think I'd get that working all weekend ;)
    Karol Lewandowski
    @karollewandowski_gitlab
    I see. Great it worked, but I'm worried about it. I always test the plugin when the new IDEA version is released and indeterministic errors like this are nightmare. I hope you just had bad luck :)
    Thank you for reporting it, I'll try to take a deeper look at it.
    Chris Shaw
    @cshawaus
    Hopefully it was just bad luck, I've been going crazy the past couple of days not having autocomplete. You don't realise how reliant you become on it when it stops working
    Karol Lewandowski
    @karollewandowski_gitlab
    Well, I'm not happy about this error, but very glad to hear the plugin is helpful :)
    Do you mind if I paste this quote in a marketing post on LinkedIn? Without your name of course :)
    Chris Shaw
    @cshawaus
    Of course
    Karol Lewandowski
    @karollewandowski_gitlab
    Thanks! :)
    Or wait :D You don't mind or do mind?
    Chris Shaw
    @cshawaus
    Don't mind at all
    I just replicated the issue, I switched between branches and all of a sudden my components switched from HTL to HTML
    Karol Lewandowski
    @karollewandowski_gitlab
    What happens when you switch back? HTL gets back to work or it's lost permanently?
    Karol Lewandowski
    @karollewandowski_gitlab

    I can also see some IDEA bugs in 2021.1 related to switching between branches. I recall that I even faced it with Maven dependencies not visible after switching branches. There is some update released recently, that fixes some related issues:
    https://youtrack.jetbrains.com/issue/IDEA-264752#focus=Comments-27-4864543.0-0

    Could you please update IDEA to the newest version (released on 28 of April) and check if it fixes the problem?

    Chris Shaw
    @cshawaus
    I'm already on 2021.1.1. Switching back didnt fix it. Pretty sure this is an IntelliJ bug as the other projects I was looking at were on the same branch before I updated whereas I switched on the two that stopped working
    Karol Lewandowski
    @karollewandowski_gitlab
    OK, I will try to find the cause then and will report if I find it. Switching between branches looks like good pointer to reproduce. Thanks.
    Chris Shaw
    @cshawaus
    Just tried it again and was able to reproduce it flawlessly. Might roll back to 2020.3.3 and see if it has the same issue
    Chris Shaw
    @cshawaus
    Can confirm that switching branches in 2020.3.4 works without issue. The issue is isolated to 2021.x
    Karol Lewandowski
    @karollewandowski_gitlab
    Thanks for checking.
    Chris Shaw
    @cshawaus
    Hello, me again :). Just opened the same project that broke in 2021.x and I'm not getting the same issue in 2020.3.4 even though it has been working flawlessly for the past few days
    Chris Shaw
    @cshawaus
    For now my workaround is to just manually associate the files with HTL