{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/588","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/588/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/588/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/588/events","html_url":"https://github.com/spyder-ide/spyder/issues/588","id":57868585,"number":588,"title":"Add support for text snippets","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/11%E2%80%9320%20stars","name":"11–20 stars","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Editor","name":"Editor","color":"FFFFFF"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-02-17T00:32:06Z","updated_at":"2015-02-17T00:32:14Z","closed_at":null,"body":"_From [quantuma...@gmail.com](https://code.google.com/u/109514421767866372599/) on 2011-03-16T11:31:10Z_\n\nSpyder absolutely rocks but it has one glaring omission -- no support for text snippets.  Please, please, please add this functionality.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=588_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/74596486","html_url":"https://github.com/spyder-ide/spyder/issues/588#issuecomment-74596486","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/588","id":74596486,"user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"created_at":"2015-02-17T00:32:14Z","updated_at":"2015-02-17T00:32:14Z","body":"_From [metz...@gmail.com](https://code.google.com/u/101630252916441447872/) on 2014-02-28T14:32:05Z_\n\nHi I just submitted my pull request - as I mentioned the approach is still\r\nvery rough and seems hackish to me, so all feedback and suggestions on how\r\nto fit in better with the current spyderlib framework are much appreciated.\r\n\r\nMy pull request has two commits; the first is the very simple snippet\r\nfunctionality such that pressing tab after entering a snippet keyword\r\nexpands the snippet at that point.\r\n\r\nToday I worked on adding in simple token support (using basic vim snipmate\r\ni.e.~ texmate syntax), such that e.g. {1:some text} will be replaced by\r\nsome text by default, but the editor will also be in \"snippet mode\" that\r\nallows the user to cycle through tokens in the snippet and change the\r\ndefault values."}}