mrmlnc / vscode-pugbeautify

:electric_plug: Simple Pug/Jade beautify plugin for VS Code.
https://goo.gl/VLj9SL
MIT License
5 stars 1 forks source link

This plugin doesn't seem to work at all #11

Open geoidesic opened 4 years ago

geoidesic commented 4 years ago

I create a new .pug file with these contents:

  q-layout(view='lHh Lpr lFf')
    q-header(elevated)
      q-toolbar
        q-btn(flat dense round @click='leftDrawerOpen = !leftDrawerOpen' icon='menu' aria-label='Menu' v-model='leftDrawerOpen' show-if-above bordered content-class='bg-grey-1')
          q-toolbar-title                    Quasar App
          div Quasar v{{ $q.version }}
    q-drawer(v-model='leftDrawerOpen' show-if-above bordered content-class='bg-grey-1').
      div.test something
    q-page-container
      router-view.oij

Then I choose Beautify pug/jade for view from the command palette. The only thing that happens is that it changes the tab width.

If I do the same within a Vue SFC then nothing at all happens.

geoidesic commented 4 years ago

Actually there are two releases of this same repo on VsCode:

  1. Pug Vue Beautify - dtx92
  2. Pug beautify - mdmlnc

Very confusing. The one by dox92 seems to work.. but honestly it doesn't seem to do very much at all. I expected that it would place attributes one above the other instead of horizontally for example but it doesn't do that. Not sure what the point of this plugin is?

All it seems to do is remove div.

HowieWork commented 3 years ago

I have the same issue.