Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gist menu items greyed out #184

Open
liverezPatterns opened this issue Jul 27, 2017 · 4 comments
Open

Gist menu items greyed out #184

liverezPatterns opened this issue Jul 27, 2017 · 4 comments

Comments

@liverezPatterns
Copy link

liverezPatterns commented Jul 27, 2017

OS: Mac OS
OS Version: 10.12.5
Sublime Text Version: 2

Gist User Settings (without your secret token):

{
    // Your GitHub API token
    // see: https://github.com/condemil/Gist#generating-access-token
    "token": "...",

    // Show GitHub organizations
    // Example: "company1", "company2"
    "include_orgs": [],

    // Show GitHub users
    // Example: "user1", "user2"
    "include_users": [],

    // Show the authors of Gists
    "show_authors": false,

    // Prefer first file name instead of description in Open Gist menu
    "prefer_filename": false,

    // Proxy server
    // Format: "http://user:pass@proxy:port"
    "https_proxy": "",

    // Enterprise support
    "enterprise": false,
    // Github URL
    // Default: Leave empty if you want to use GitHub.com
    // Example: https://github.domain.com
    "url": "",

    // Max Gists to show (max 100 allowed by GitHub API)
    "max_gists": 100,

    // Only use starred gists
    "use_starred": false,

    // Disable the "save file..." dialog when closing a Gist
    "supress_save_dialog": true,

    // Update the Gist upon saving the file, suppressing the filename dialog.
    "save-update-hook": true

    // Limit to gists with specific prefix
    //"gist_prefix": "Snippet:",

    // Limit to gists with specific tag (#tag)
    //"gist_tag": "snippet"
}

Steps to reproduce the issue:

CTRL + Shift + P and Gist options are non-existent. Plus, when trying to use from menu options, they are greyed out

Additional information (error message / screenshot):

c__users_liverez_appdata_roaming_sublime_text_2_packages_user_gist_sublime-settings__responsive-1__-sublime_text_2__unregistered

c__users_liverez_appdata_roaming_sublime_text_2_packages_user_gist_sublime-settings__responsive-1__-sublime_text_2__unregistered

@faouzzz
Copy link

faouzzz commented Jul 31, 2017

same here
Mac OS 10.12.4
Sublime Text 3

@faouzzz
Copy link

faouzzz commented Jul 31, 2017

you need add this to your user settings file, maybe due to a new version of Gist
It worked for me.

// Github URL for public & enterprise
    // Default: https://api.github.com for github.com
    // Example: https://github.domain.com/api/v3
    "api_url": "https://api.github.com",

https://github.com/condemil/Gist/blob/master/gist_80.py#L222 sent me to https://github.com/condemil/Gist/blob/master/gist_80.py#L227 sent me to https://github.com/condemil/Gist/blob/master/gist_80.py#L36 and found https://github.com/condemil/Gist/blob/master/gist_80.py#L43

@liverezPatterns
Copy link
Author

👎 Still no dice. Sublime Text 2. Even create a brand new token

@cjwebdev
Copy link

cjwebdev commented Aug 4, 2017

Thanks faouzz that worked for me after restarting ST3 as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants