alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files
MIT License
534 stars 136 forks source link

Menu Format -> all items are disabled #85

Closed phi1ipp closed 7 years ago

phi1ipp commented 8 years ago

trying to format but all sub-menu items are disabled

I'm using Sublime 3 on Linux Ubuntu 15.10 amd64

alek-sys commented 8 years ago

Check current view's syntax settings (bottom right corner), plugin is enabled for JSON / XML / Plain text

phi1ipp commented 8 years ago

It's XML in the corner

On 12/30/2015 02:40 PM, Alexey Nesterov wrote:

Check current view's syntax settings (bottom right corner), plugin is enabled for JSON / XML / Plain text

— Reply to this email directly or view it on GitHub https://github.com/alek-sys/sublimetext_indentxml/issues/85#issuecomment-168070196.

alek-sys commented 8 years ago

Does keyboard short-cut work? Ctrl+K+F?

Also, can you please provide what are you trying to format and exact version of Sublime Text?

phi1ipp commented 8 years ago

Looks like nope :(

On 12/30/2015 03:12 PM, Alexey Nesterov wrote:

Does keyboard short-cut work? Ctrl+K+F?

— Reply to this email directly or view it on GitHub https://github.com/alek-sys/sublimetext_indentxml/issues/85#issuecomment-168074495.

alek-sys commented 8 years ago

Not sure how can I help then, sorry. Unless you want to help and do some debug - you need to look into function check_enabled. Also, please provide exact version of ST3

Would be nice to have couple screenshots if possible.

phi1ipp commented 8 years ago

So the version I use is 3, build 3083. I checked that function and it's pretty straight forward. Could it be an issue with installation or something similar. A screenshot is attached. screenshot_2016-01-01_20-34-46

w4mu commented 8 years ago

I had the same issue on Sublime Text 3 build 3103. The cause was that I had a sublime-package file (which is a zip), which contained a folder with all the files. It was solved by placing all files in the root of the zip file.

alek-sys commented 7 years ago

Not sure what I can do here. Feel free to re-open if there is anything I can do to help.