{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/13138","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/13138/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/13138/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/13138/events","html_url":"https://github.com/Microsoft/vscode/issues/13138","id":180526381,"node_id":"MDU6SXNzdWUxODA1MjYzODE=","number":13138,"title":"Support launching VS Code from Bash on Ubuntu on Windows","user":{"login":"sujaysarma","id":11476861,"node_id":"MDQ6VXNlcjExNDc2ODYx","avatar_url":"https://avatars1.githubusercontent.com/u/11476861?v=4","gravatar_id":"","url":"https://api.github.com/users/sujaysarma","html_url":"https://github.com/sujaysarma","followers_url":"https://api.github.com/users/sujaysarma/followers","following_url":"https://api.github.com/users/sujaysarma/following{/other_user}","gists_url":"https://api.github.com/users/sujaysarma/gists{/gist_id}","starred_url":"https://api.github.com/users/sujaysarma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sujaysarma/subscriptions","organizations_url":"https://api.github.com/users/sujaysarma/orgs","repos_url":"https://api.github.com/users/sujaysarma/repos","events_url":"https://api.github.com/users/sujaysarma/events{/privacy}","received_events_url":"https://api.github.com/users/sujaysarma/received_events","type":"User","site_admin":false},"labels":[{"id":670185781,"node_id":"MDU6TGFiZWw2NzAxODU3ODE=","url":"https://api.github.com/repos/Microsoft/vscode/labels/WSL","name":"WSL","color":"006b75","default":false},{"id":272689392,"node_id":"MDU6TGFiZWwyNzI2ODkzOTI=","url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"dcdcdc","default":false},{"id":256129996,"node_id":"MDU6TGFiZWwyNTYxMjk5OTY=","url":"https://api.github.com/repos/Microsoft/vscode/labels/help%20wanted","name":"help wanted","color":"fef2c0","default":true},{"id":374931321,"node_id":"MDU6TGFiZWwzNzQ5MzEzMjE=","url":"https://api.github.com/repos/Microsoft/vscode/labels/windows","name":"windows","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":159,"created_at":"2016-10-02T18:26:11Z","updated_at":"2018-08-19T04:38:46Z","closed_at":null,"author_association":"NONE","body":"- VSCode Version: Unpacked and installed \"code_1.5.3-1474533365_amd64.deb\"\n- OS Version: Windows 10 with WSL, latest patched.\n\nSteps to Reproduce:\n(NOTE: I am running Xming on my Windows 10 host, and have \"export DISPLAY=:0\" set in my .bashrc file)\n1. Open Bash on Ubuntu on Windows\n2. Type \"code\" and press ENTER.\n\nExpected result:\nCode launches in a GUI window.\n\nActual result:\nAbsolutely nothing happens. There is no output. The prompt just returns in a couple of seconds.\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/414103011","html_url":"https://github.com/Microsoft/vscode/issues/13138#issuecomment-414103011","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/13138","id":414103011,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDEwMzAxMQ==","user":{"login":"olingern","id":1470297,"node_id":"MDQ6VXNlcjE0NzAyOTc=","avatar_url":"https://avatars1.githubusercontent.com/u/1470297?v=4","gravatar_id":"","url":"https://api.github.com/users/olingern","html_url":"https://github.com/olingern","followers_url":"https://api.github.com/users/olingern/followers","following_url":"https://api.github.com/users/olingern/following{/other_user}","gists_url":"https://api.github.com/users/olingern/gists{/gist_id}","starred_url":"https://api.github.com/users/olingern/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olingern/subscriptions","organizations_url":"https://api.github.com/users/olingern/orgs","repos_url":"https://api.github.com/users/olingern/repos","events_url":"https://api.github.com/users/olingern/events{/privacy}","received_events_url":"https://api.github.com/users/olingern/received_events","type":"User","site_admin":false},"created_at":"2018-08-19T04:38:46Z","updated_at":"2018-08-19T04:38:46Z","author_association":"CONTRIBUTOR","body":"I'm not sure this issue is still relevant. Opening a different issue is possibly better since this is pretty old. \r\n\r\n## Inside of `/mnt/c`\r\n\r\nSince WSL and Windows share `/mnt/c/` you can easily open these from bash and edit them in Windows[1]\r\n\r\n> Want to edit Windows files and edit them both in Windows and in Linux? Keep your files/code in /mnt/c/ and you can edit them with other OS. Don't use Windows to \"reach into the Linux file system.\"\r\n\r\nAnywhere inside of `/mnt/c` I can run `code-insiders .` ( _or `code .` if you're not on the insider build_) and open the current directory inside of vscode.\r\n\r\n![image](https://user-images.githubusercontent.com/1470297/44305518-5dec2d00-a3b4-11e8-87d5-7e29da051922.png)\r\n\r\n___\r\n\r\n## Outside of `/mnt/c`\r\n\r\n\r\nNow, with that said -- I do have a use-case of accessing files outside of the recommended typical scenario, which is I have go installed in its usual place, e.g. `/home/$USER/go`. If I try to use any go tooling that resides in `/home/$USER/go/bin` it will complain that I'm outside of the $GOPATH. \r\n\r\nSo, I can run and edit files from WSL. It's not easy to get there, but you can manually navigate to where the files are \"hidden.\" It goes without saying, but do this at your own risk.\r\n\r\n1. Navigate to: `%userprofile%\\AppData\\Local\\Packages\\\r\n2. Find your Ubuntu folder:\r\n  - CanonicalGroupLimited.UbuntuonWindows_[xxxxxxx]\\LocalState\\rootfs\\home\\$USER`\r\n  - Where [xxxxx] and `$USER` are unique to your machine\r\n\r\n![image](https://user-images.githubusercontent.com/1470297/44305420-ba018200-a3b1-11e8-978a-2cf322274009.png)\r\n\r\n**Links**\r\n1 - https://www.hanselman.com/blog/TheYearOfLinuxOnTheWindowsDesktopWSLTipsAndTricks.aspx"}}
{"actor":{"display_login":"olingern"}}