{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/38","repository_url":"https://api.github.com/repos/AtomLinter/linter-scalac","labels_url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/38/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/38/events","html_url":"https://github.com/AtomLinter/linter-scalac/issues/38","id":129184381,"number":38,"title":"No project paths available","user":{"login":"molsky","id":1943521,"avatar_url":"https://avatars.githubusercontent.com/u/1943521?v=3","gravatar_id":"","url":"https://api.github.com/users/molsky","html_url":"https://github.com/molsky","followers_url":"https://api.github.com/users/molsky/followers","following_url":"https://api.github.com/users/molsky/following{/other_user}","gists_url":"https://api.github.com/users/molsky/gists{/gist_id}","starred_url":"https://api.github.com/users/molsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/molsky/subscriptions","organizations_url":"https://api.github.com/users/molsky/orgs","repos_url":"https://api.github.com/users/molsky/repos","events_url":"https://api.github.com/users/molsky/events{/privacy}","received_events_url":"https://api.github.com/users/molsky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-27T15:54:13Z","updated_at":"2016-02-19T11:05:23Z","closed_at":null,"body":"Installed Scala to OS X via brew command. After that installed language-scala and linter-scalac plugin for Atom. For some reason this plugin can't find path to scalac bin.\r\nTried to configure path to plugins settings but still same error. \r\n`which scalac` gives following path `/usr/local/bin/scala` and from command line scala and scalac commads works fine.\r\nTried also `/usr/local/Cellar/scala/2.11.7/bin/scalac` but that doesn't help either.\r\n\r\nAtom 1.4.1\r\nOS X 10.10.5\r\nScala 2.11.7"},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/comments/186173489","html_url":"https://github.com/AtomLinter/linter-scalac/issues/38#issuecomment-186173489","issue_url":"https://api.github.com/repos/AtomLinter/linter-scalac/issues/38","id":186173489,"user":{"login":"andystanton","id":1374614,"avatar_url":"https://avatars.githubusercontent.com/u/1374614?v=3","gravatar_id":"","url":"https://api.github.com/users/andystanton","html_url":"https://github.com/andystanton","followers_url":"https://api.github.com/users/andystanton/followers","following_url":"https://api.github.com/users/andystanton/following{/other_user}","gists_url":"https://api.github.com/users/andystanton/gists{/gist_id}","starred_url":"https://api.github.com/users/andystanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andystanton/subscriptions","organizations_url":"https://api.github.com/users/andystanton/orgs","repos_url":"https://api.github.com/users/andystanton/repos","events_url":"https://api.github.com/users/andystanton/events{/privacy}","received_events_url":"https://api.github.com/users/andystanton/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T11:05:23Z","updated_at":"2016-02-19T11:05:23Z","body":"I had to specifically load a non-existent path such as the one shown in the screenshots (atom://config) by opening my Atom config through the menu options.\r\n\r\nSteps to reproduce:\r\n\r\n1. Load Atom.\r\n2. Atom -> Open your config\r\n3. File -> New file\r\n4. File -> Save as\r\n5. Location: anywhere, Filename: foo.scala\r\n6. Save\r\n\r\nThis appears to have been fixed during the migration from CoffeeScript to Javascript though it's unclear why.\r\n\r\n* [Original CS](https://github.com/AtomLinter/linter-scalac/blob/9425acc50a5ca980668ee89ceb20d907bb81f39e/lib/linter-scalac.coffee#L59-L60)\r\n* [New JS](https://github.com/andystanton/linter-scalac/blob/c728ae173397c8232cedd8159f44f6e9761d1ab7/lib/linter-scalac.js#L86-L89)\r\n\r\nI'll try and understand why it's fixed, then get the change merged. In the meantime, I suggest creating and modifying Scala source in the context of a real path on the file system."}}