pebble-intellij icon indicating copy to clipboard operation
pebble-intellij copied to clipboard

Structure tab not populated

Open gdude2002 opened this issue 4 years ago • 3 comments

Maybe I'm the only one that uses this feature, haha.

I'm currently using the version of the plugin that was uploaded to this issue comment: https://github.com/bjansen/pebble-intellij/issues/74#issuecomment-777833331

Normally, when working with a file, the structure tab on the left of the IDE is populated. For example, this is how it looks for a HTML file:

Example structure tab

For Pebble templates, the structure tab is empty:

Empty structure tab

As you can see, this file basically just contains HTML (I've blurred out project-related strings since that isn't the point of the screenshot):

Example template

I'm not entirely sure if this is fixable, but I figured I'd raise an issue in case you weren't aware!

gdude2002 avatar Feb 13 '21 12:02 gdude2002

A good rule of thumb: if a feature works in the Handlebars plugin (which is a plugin maintained by JetBrains themselves for another templating engine), then it can probably work for Pebble too 😎.

The Handlebars plugin actually splits the structure view in two separate tabs, which seems like a good idea to me:

image image

So yes, this is definitely fixable. I think I'll finish squashing a few remaining bugs, release 0.9 then start working on more features like this one.

bjansen avatar Feb 13 '21 12:02 bjansen

Alright, sounds good to me! Thanks for working on such a useful plugin :+1:

gdude2002 avatar Feb 13 '21 13:02 gdude2002

Has there been any movement on this (or my other two issues)? It seems the main branch hasn't had a non-dependabot commit since Feb last year

gdude2002 avatar Jul 24 '22 09:07 gdude2002