{"action":"created","issue":{"url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/6","repository_url":"https://api.github.com/repos/Therena/ConEmuIntegration","labels_url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/6/comments","events_url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/6/events","html_url":"https://github.com/Therena/ConEmuIntegration/issues/6","id":163123694,"number":6,"title":"Allow the initial ConEmu task to be specified","user":{"login":"PhilipDaniels","id":1809220,"avatar_url":"https://avatars.githubusercontent.com/u/1809220?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipDaniels","html_url":"https://github.com/PhilipDaniels","followers_url":"https://api.github.com/users/PhilipDaniels/followers","following_url":"https://api.github.com/users/PhilipDaniels/following{/other_user}","gists_url":"https://api.github.com/users/PhilipDaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipDaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipDaniels/subscriptions","organizations_url":"https://api.github.com/users/PhilipDaniels/orgs","repos_url":"https://api.github.com/users/PhilipDaniels/repos","events_url":"https://api.github.com/users/PhilipDaniels/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipDaniels/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Therena/ConEmuIntegration/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-30T09:41:01Z","updated_at":"2016-07-01T08:04:25Z","closed_at":null,"body":"It would be great if we could choose the initial task that is run when the ConEmu window is shown. There are several things to think about.\r\n\r\nFirstly, ConEmu already has a startup task specified in ConEmu.xml. Why not just run that?\r\n\r\nSecondly, we may want more flexibility when running ConEmu inside Visual Studio vs running it normally, in which case the first point is not valid. Instead, I should be allowed to pick a specific task to be the startup task within VS. The list of tasks is currently hardwired (to cmd and PS) but could instead be derived by parsing the ConEmu.xml file. As an example, lots of people may run Far Manager as their normal ConEmu startup task, but want to default to the VS2015 command prompt when running inside Visual Studio.\r\n\r\nThirdly, the \"change directory\" logic that runs when you open from the context-sensitive menu is great, but is hardcoded to two different types of shells (cmd.exe and powershell.exe). Other shells that are widely in use are cygwin (bash) and Git for Windows (bash again, but based on MinGW). The syntax will vary for different shells and it is a hard task to keep up with them all (though perhaps not infeasible). Interestingly, cygwin bash will allow **cd 'C:\\Users\\pdaniels'**, which is a bit of a surprise, it looks like somebody tought it to translate Windows paths to cygwin ones (that is really **/c/users/pdaniels** on my system due to how I have my cygdrive prefix set, but for normal Cygwin users would be **/cygdrive/c/users/pdaniels**). I haven't tested Git for Windows.\r\n\r\nAlternatively, perhaps it is possible to adjust the cwd before starting the ConEmu window? Not sure if this is possible or not, it depends on how ConEmu process is invoked.\r\n"},"comment":{"url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/comments/229882957","html_url":"https://github.com/Therena/ConEmuIntegration/issues/6#issuecomment-229882957","issue_url":"https://api.github.com/repos/Therena/ConEmuIntegration/issues/6","id":229882957,"user":{"login":"PhilipDaniels","id":1809220,"avatar_url":"https://avatars.githubusercontent.com/u/1809220?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilipDaniels","html_url":"https://github.com/PhilipDaniels","followers_url":"https://api.github.com/users/PhilipDaniels/followers","following_url":"https://api.github.com/users/PhilipDaniels/following{/other_user}","gists_url":"https://api.github.com/users/PhilipDaniels/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilipDaniels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilipDaniels/subscriptions","organizations_url":"https://api.github.com/users/PhilipDaniels/orgs","repos_url":"https://api.github.com/users/PhilipDaniels/repos","events_url":"https://api.github.com/users/PhilipDaniels/events{/privacy}","received_events_url":"https://api.github.com/users/PhilipDaniels/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T08:04:24Z","updated_at":"2016-07-01T08:04:24Z","body":"I think you should reference the Github issue I created as well because it\ncontains a lot more thinking about the subject.\n\nOn 1 July 2016 at 09:02, David Roller <notifications@github.com> wrote:\n\n> This cannot be solved in the extension only.\n>\n> I opened a bug for this in the conemu inside project:\n> Maximus5/conemu-inside#27\n> <https://github.com/Maximus5/conemu-inside/issues/27>\n>\n> As long conemu or in this case conemu inside doesn't support this, it is\n> not possible to add this to the extension.\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/Therena/ConEmuIntegration/issues/6#issuecomment-229882550>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe/ABubRKQZODyO_LjvkDXCamg1nOQClA-Sks5qRMl9gaJpZM4JB-r6>\n> .\n>\n\n\n\n-- \nPhilip Daniels.\n"}}
{"actor":{"display_login":"PhilipDaniels"}}