alek-sys / sublimetext_indentxml

Plugin for Sublime Text editor for reindenting XML and JSON files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Menu Format -> all items are disabled

phi1ipp opened this issue · comments

trying to format but all sub-menu items are disabled

I'm using Sublime 3 on Linux Ubuntu 15.10 amd64

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

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
#85 (comment).

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?

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
#85 (comment).

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.

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

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.

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