{"action":"created","issue":{"url":"https://api.github.com/repos/geany/geany/issues/485","labels_url":"https://api.github.com/repos/geany/geany/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/geany/geany/issues/485/comments","events_url":"https://api.github.com/repos/geany/geany/issues/485/events","html_url":"https://github.com/geany/geany/pull/485","id":73282272,"number":485,"title":"Add filetype configuration to Tools->Configuration Files for all filetypes","user":{"login":"techee","id":713965,"avatar_url":"https://avatars.githubusercontent.com/u/713965?v=3","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-05-05T11:05:23Z","updated_at":"2015-05-06T09:30:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/geany/geany/pulls/485","html_url":"https://github.com/geany/geany/pull/485","diff_url":"https://github.com/geany/geany/pull/485.diff","patch_url":"https://github.com/geany/geany/pull/485.patch"},"body":"This patch is a reaction to the discussion here https://github.com/geany/geany/pull/479 - the filetype settings should be easier to discover by users and I think adding them to the config file menu helps. Also, it simplifies the process of customising per-filetype settings because it's not necessary any more to manually copy the config file.\r\n\r\nOn the way I couldn't resist the temptation and tried to make the data directory less messy. The filetype, tags and the remaining config files are mixed there - I moved the filetype config under the filedefs directory and tags files under tags (we use the same directory names inside .config). I did the same also with the installed data under $PREFIX/share/geany so all three directories (source tree, installed data and config dir) have the same structure."},"comment":{"url":"https://api.github.com/repos/geany/geany/issues/comments/99397028","html_url":"https://github.com/geany/geany/pull/485#issuecomment-99397028","issue_url":"https://api.github.com/repos/geany/geany/issues/485","id":99397028,"user":{"login":"techee","id":713965,"avatar_url":"https://avatars.githubusercontent.com/u/713965?v=3","gravatar_id":"","url":"https://api.github.com/users/techee","html_url":"https://github.com/techee","followers_url":"https://api.github.com/users/techee/followers","following_url":"https://api.github.com/users/techee/following{/other_user}","gists_url":"https://api.github.com/users/techee/gists{/gist_id}","starred_url":"https://api.github.com/users/techee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techee/subscriptions","organizations_url":"https://api.github.com/users/techee/orgs","repos_url":"https://api.github.com/users/techee/repos","events_url":"https://api.github.com/users/techee/events{/privacy}","received_events_url":"https://api.github.com/users/techee/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T09:30:39Z","updated_at":"2015-05-06T09:30:39Z","body":"There should't be any things like \"my build breaks\" - the only problem will be that if new geany is installed over the old one, there will be duplicate config files and the old config files will be more visible because they aren't in a subdirectory so users will probably grab those when copying them under .config. On the other hand, there shouldn't be the need to copy them manually any more because of the menu entries.\r\n\r\nI can split each of the the \"moving\" patches into \"move in the source tree\" and \"move in the installed data dir\" because it's probably only the second one which might cause troubles."}}