Illuminated Cloud breaks dragging tabs to create new tab groups

Issue #1984 resolved
Vic Ricker created an issue

I raised this with Jetbrains, while experimenting, we found that it had to do with the Illuminated Cloud plugin.

https://youtrack.jetbrains.com/issue/IDEA-277204

Original report:

To reproduce: Drag a tab inside the editor window. A highlight is shown, suggesting that a new group will be created, however, upon dropping the tab, the tab is added back to same group.

As a workaround, it's possible to right click a tab, and "Split and Move Right". Once multiple groups are open, it's possible to drag tabs between them.

It works correctly for a co-worker, but he's on OSX. I'm running Fedora Linux. (Mate + Compiz)

Comments (9)

  1. Scott Wells repo owner

    Hi, Vic. Can you please reproduce the issue and provide the resulting idea.log using Help>Show Log in Files?

  2. Scott Wells repo owner

    Hmmmm...I'm not seeing any related error in that log. The only exceptions I see from today's portion of the log are these:

    2021-09-27 08:15:01,974 [  45716]  ERROR - e.plugins.cl.PluginClassLoader - Do not request resource from classloader using path with leading slash 
    com.intellij.diagnostic.PluginException: /schemas/wsdl/ws-addr-wsdl.xsd [Plugin: com.illuminatedcloud2.intellij]
    

    which is due to this, and while noisy, it's completely benign.

    Having said that, I just tried this myself and see the same behavior you reported--it doesn't create the split--and I also don't see any errors in the logs. Looks like there must be something in that core IDE action that is deciding not to finish the split action silently. I'll investigate a bit...

  3. Scott Wells repo owner

    Unsurprisingly, this is directly related to #1657 and is a result of the tabbed editor behavior offered by IC2 for grouping of related files, e.g., an Apex class and its meta.xml file, or all source files in the same Aura/LWC bundle. Given that revelation, I'm going to move over to #1657 and see what I can do there, and my guess is that in the process, I'll likely understand this one better and what options are available for resolving it.

  4. Scott Wells repo owner

    I already delivered #1657 and the issue still exists. I just checked to see if was common to non-IC2-based tabbed editors, e.g., the Text/Data editor used for CSVs and similar in IntelliJ IDEA Ultimate Edition, and drag-and-drop splitting works fine with those. As a result it's obviously something that IC2 is doing. I'll just need to take a look at the difference between the non-IC2 tabbed editors and IC2's and hopefully it'll be obvious. I know this isn't critical, but it's certainly piqued my curiosity.

  5. trent.christensen

    @Scott Wells Hi Scott,

    I am also experiencing this issue and wanted to see if you had any updates. I am using Webstorm 2022.3.1 and IC 2.2.5.2.

    I am aware of the workaround, so I can make the split screen functionality work, even if the dragging and dropping isn’t working. Thanks!

  6. Scott Wells repo owner

    Hi. Unfortunately it’s a bug in the JetBrains IDE itself when used with tabbed editors (though not necessarily all of them as indicated previously). Until/unless JetBrains provides a fix, the only workarounds are to disable tabbed editors under Illuminated Cloud > Configure Application > User Interface > Use tabbed editors for or to right-click on the tab itself and use the Split … actions.

  7. Log in to comment