{"action":"created","issue":{"url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/721","repository_url":"https://api.github.com/repos/rust-lang-nursery/rls","labels_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/721/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/721/comments","events_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/721/events","html_url":"https://github.com/rust-lang-nursery/rls/issues/721","id":297971545,"number":721,"title":"Autocomplete standard macros","user":{"login":"Phlosioneer","id":4657718,"avatar_url":"https://avatars2.githubusercontent.com/u/4657718?v=4","gravatar_id":"","url":"https://api.github.com/users/Phlosioneer","html_url":"https://github.com/Phlosioneer","followers_url":"https://api.github.com/users/Phlosioneer/followers","following_url":"https://api.github.com/users/Phlosioneer/following{/other_user}","gists_url":"https://api.github.com/users/Phlosioneer/gists{/gist_id}","starred_url":"https://api.github.com/users/Phlosioneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phlosioneer/subscriptions","organizations_url":"https://api.github.com/users/Phlosioneer/orgs","repos_url":"https://api.github.com/users/Phlosioneer/repos","events_url":"https://api.github.com/users/Phlosioneer/events{/privacy}","received_events_url":"https://api.github.com/users/Phlosioneer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-17T02:35:41Z","updated_at":"2018-03-06T23:17:46Z","closed_at":null,"author_association":"NONE","body":"I use the visual studio preview + RLS combo, and I've noticed that standard macros aren't being autocompleted. By \"standard macros\" I mean:\r\n\r\n- `assert!` and `assert_eq!`\r\n- `println!`\r\n- `format!`\r\n\r\nI'm reasonably certain that it's not VS's fault - every other autocomplete works perfectly (keywords, std lib stuff, etc...). I'm trying to get it to autocomplete in a function body; it correctly suggests the names of functions I've defined. I'm using:\r\n\r\n- VS 2017 Preview 4.0\r\n- rustup 1.10.0 (2018-01-25)\r\n- toolchain: `nightly-x86_64-pc-windows-msvc (default)`\r\n- No directory overrides\r\n\r\nI would expect completion for at least `assert` and `assert_eq`, which is why I came here to make an issue. Aren't they part of the language?"},"comment":{"url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/comments/370964259","html_url":"https://github.com/rust-lang-nursery/rls/issues/721#issuecomment-370964259","issue_url":"https://api.github.com/repos/rust-lang-nursery/rls/issues/721","id":370964259,"user":{"login":"daboross","id":1152146,"avatar_url":"https://avatars1.githubusercontent.com/u/1152146?v=4","gravatar_id":"","url":"https://api.github.com/users/daboross","html_url":"https://github.com/daboross","followers_url":"https://api.github.com/users/daboross/followers","following_url":"https://api.github.com/users/daboross/following{/other_user}","gists_url":"https://api.github.com/users/daboross/gists{/gist_id}","starred_url":"https://api.github.com/users/daboross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daboross/subscriptions","organizations_url":"https://api.github.com/users/daboross/orgs","repos_url":"https://api.github.com/users/daboross/repos","events_url":"https://api.github.com/users/daboross/events{/privacy}","received_events_url":"https://api.github.com/users/daboross/received_events","type":"User","site_admin":false},"created_at":"2018-03-06T23:17:46Z","updated_at":"2018-03-06T23:17:46Z","author_association":"NONE","body":"I'm... not sure. I think autocompletions are implemented in racer rather than rls, but I'm not sure. There's an issue here: https://github.com/racer-rust/racer/issues/777, but no notes on what would be involved in completing it."}}
{"actor":{"display_login":"daboross"}}