SublimeTextPreview icon indicating copy to clipboard operation
SublimeTextPreview copied to clipboard

In sublime 3 Preview command in Tools menu stays dimmed

Open thefreequest opened this issue 9 years ago • 0 comments

Hi, after installing it in Sublime 3. I've created the rules as mentioned in the readme, but Preview command stays dimmed at Tools menu. It doesn't show in the command palette. Same when you press F12. Tested with local html files.

My Preview user settings rules are defined as detailed below:

{
"rules": [
    // prohibit previewing local files (i.e. files that don't match any rule)
    {
        "url": ""
    },
    // allow opening local .htm, .html and .xhtml in browser
    {
        "path_suffix": ".htm",
        "url_prefix": "file:///"
    },
    {
        "path_suffix": ".html",
        "url_prefix": "file:///"
    },
    {
        "path_suffix": ".xhtml",
        "url_prefix": "file:///"
    },
    // sample website
    {
        // for all files matching the path_prefix, construct URL using url_prefix
        "path_prefix": "C:/Users/Gonzalo/Sources/html/Ionic/todo/www/",
        "url_prefix": "http://192.168.0.105:8100",
    }

]
}

thefreequest avatar Dec 19 '14 10:12 thefreequest