{"action":"closed","issue":{"url":"https://api.github.com/repos/penicolas/NppFwbatch/issues/7","labels_url":"https://api.github.com/repos/penicolas/NppFwbatch/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/penicolas/NppFwbatch/issues/7/comments","events_url":"https://api.github.com/repos/penicolas/NppFwbatch/issues/7/events","html_url":"https://github.com/penicolas/NppFwbatch/issues/7","id":75895777,"number":7,"title":"Fwbatch Viejo: salto a sql/pc","user":{"login":"penicolas","id":810787,"avatar_url":"https://avatars.githubusercontent.com/u/810787?v=3","gravatar_id":"","url":"https://api.github.com/users/penicolas","html_url":"https://github.com/penicolas","followers_url":"https://api.github.com/users/penicolas/followers","following_url":"https://api.github.com/users/penicolas/following{/other_user}","gists_url":"https://api.github.com/users/penicolas/gists{/gist_id}","starred_url":"https://api.github.com/users/penicolas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/penicolas/subscriptions","organizations_url":"https://api.github.com/users/penicolas/orgs","repos_url":"https://api.github.com/users/penicolas/repos","events_url":"https://api.github.com/users/penicolas/events{/privacy}","received_events_url":"https://api.github.com/users/penicolas/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/penicolas/NppFwbatch/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"juanjo78git","id":8307124,"avatar_url":"https://avatars.githubusercontent.com/u/8307124?v=3","gravatar_id":"","url":"https://api.github.com/users/juanjo78git","html_url":"https://github.com/juanjo78git","followers_url":"https://api.github.com/users/juanjo78git/followers","following_url":"https://api.github.com/users/juanjo78git/following{/other_user}","gists_url":"https://api.github.com/users/juanjo78git/gists{/gist_id}","starred_url":"https://api.github.com/users/juanjo78git/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanjo78git/subscriptions","organizations_url":"https://api.github.com/users/juanjo78git/orgs","repos_url":"https://api.github.com/users/juanjo78git/repos","events_url":"https://api.github.com/users/juanjo78git/events{/privacy}","received_events_url":"https://api.github.com/users/juanjo78git/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-13T08:17:27Z","updated_at":"2015-05-13T09:32:41Z","closed_at":"2015-05-13T09:32:41Z","body":"Para los que seguimos usando el `Framework viejo` nos vendría bien una función para saltar del fichero `sh` al `sql/pc`, un ejemplo:\r\n\r\n```sh\r\n# Fichero programa.sh\r\n...\r\nfunlanza extraccion                 # nos saltaría al fichero fuentespc/extraccion.pc\r\nfunsqlplus update                   # nos saltaría al fichero sql/update.sql\r\n...\r\n```\r\nSe puede hacer en una sola función, un poco de pseudocódigo:\r\n\r\n```python\r\nif 'funlanza' in current_linea:\r\n    open fuentespc/word_under_cursor.pc\r\nelif 'funsqlplus' in current_linea:\r\n    open sql/word_under_cursor.sql\r\nelse:\r\n    print 'epic fail'\r\n\r\n```"}}