scss-syntax.vim icon indicating copy to clipboard operation
scss-syntax.vim copied to clipboard

Showing selector path in status bar?

Open dfischer opened this issue 12 years ago • 4 comments

When viewing a SCSS/Sass file show the selector path in the status bar of the file?

E.g

.page-footer {
  .events {
    @include column(3);
    @include mobileColumn(4);

    float: right;

    @include respondTo(smallScreen) {
      float: none;
    }

    .events-title {
      font-size: ms(3);
    }

    .events-past-title {
      font-size: ms(2);
    }

    .event {
      @include mobileColumn(4);
       .nested-example here {
       }
    }
  }
}

If you were inside "nested-example-here" the vim status bar would show page-footer > event > .nested-example here

Is this possible?

dfischer avatar Dec 04 '12 18:12 dfischer

I don't know whether this is possible, but I could imagine it is. It's something I have to investigate. Perhaps do you know a project/language for which there is already a similar behavior?

cakebaker avatar Dec 07 '12 13:12 cakebaker

I have no idea. It's just something I have always "dreamed" of having in my status/powerline bar. /cc @Kuroir

dfischer avatar Dec 07 '12 22:12 dfischer

This would be fantastic.

carwin avatar Dec 20 '12 09:12 carwin

:+1:

alem0lars avatar Feb 20 '15 08:02 alem0lars