{"action":"opened","issue":{"url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1678","labels_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1678/labels{/name}","comments_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1678/comments","events_url":"https://api.github.com/repos/ceylon/ceylon-ide-eclipse/issues/1678/events","html_url":"https://github.com/ceylon/ceylon-ide-eclipse/issues/1678","id":128188329,"number":1678,"title":"console exceptions and tests link to wrong source file","user":{"login":"jvasileff","id":236050,"avatar_url":"https://avatars.githubusercontent.com/u/236050?v=3","gravatar_id":"","url":"https://api.github.com/users/jvasileff","html_url":"https://github.com/jvasileff","followers_url":"https://api.github.com/users/jvasileff/followers","following_url":"https://api.github.com/users/jvasileff/following{/other_user}","gists_url":"https://api.github.com/users/jvasileff/gists{/gist_id}","starred_url":"https://api.github.com/users/jvasileff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvasileff/subscriptions","organizations_url":"https://api.github.com/users/jvasileff/orgs","repos_url":"https://api.github.com/users/jvasileff/repos","events_url":"https://api.github.com/users/jvasileff/events{/privacy}","received_events_url":"https://api.github.com/users/jvasileff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-22T16:08:52Z","updated_at":"2016-01-22T16:08:52Z","closed_at":null,"body":"Clicking on a file & line number in the console (or a test in the test view) can take you to a source file of the same name and package in the wrong project.\r\n\r\nI believe this started happening for me with 1.2.0 SR1.\r\n\r\nTo reproduce:\r\n\r\n1. Create a new workspace (or don't)\r\n2. Create a new project, module, and source file: `Project1/source/simple/run.ceylon` with contents as shown below\r\n3. Create a second project with `Project2/source/simple/run.ceylon`\r\n4. Run *Project2*'s `run2` top-level function.\r\n5. Click on `at simple.run2_.run2(run.ceylon:3)` in the console. This takes you to *Project1*'s `run.ceylon` file.\r\n\r\nProject 1's `run.ceylon`:\r\n```ceylon\r\n// Project 1\r\nshared void run1() {\r\n    throw Exception(\"Project1\");\r\n}\r\n```\r\n\r\nProject 2's `run.ceylon`\r\n```ceylon\r\n// Project 2\r\nshared void run2() {\r\n    throw Exception(\"Project2\");\r\n}\r\n```\r\n"}}