nova-ruby / htmlbeautifier

Support for HTML Beautifier in Nova Editor
1 stars 0 forks source link

Installed but unable to enable the formatting capability #1

Open ianbradbury-bizzibody opened 1 year ago

ianbradbury-bizzibody commented 1 year ago

I have installed and enabled the extension into Nova (v10.6).

I have configured the extension with the following setting : Command path = /Users/ianbradbury/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/htmlbeautifier-1.4.2/bin/htmlbeautifier Format on save = enabled Allowed blank lines = 1

When I edit/save an .erb file no formatting occurs. When I select the menu Editor\HTML Beautifier - the format document menu option is greyed out

I am sure that I have missed a vital step while installing or configuring the extension.

Are there any prerequisites that I need to also install?

TeriyakiBomb commented 2 months ago

A bit late to this, but in my experience disabling and enabling the extension makes format on save work...once. Then it stops, so I assume a flag is being set somewhere in the extension that is not reset? Disabling then re-enabling the extension works, but obviously not workable