{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/609","repository_url":"https://api.github.com/repos/Microsoft/vscode-cpptools","labels_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/609/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/609/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/609/events","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/609","id":219485321,"number":609,"title":"IntelliSense messed up when ARM Toolchain include","user":{"login":"zabeloliver","id":9071408,"avatar_url":"https://avatars0.githubusercontent.com/u/9071408?v=3","gravatar_id":"","url":"https://api.github.com/users/zabeloliver","html_url":"https://github.com/zabeloliver","followers_url":"https://api.github.com/users/zabeloliver/followers","following_url":"https://api.github.com/users/zabeloliver/following{/other_user}","gists_url":"https://api.github.com/users/zabeloliver/gists{/gist_id}","starred_url":"https://api.github.com/users/zabeloliver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zabeloliver/subscriptions","organizations_url":"https://api.github.com/users/zabeloliver/orgs","repos_url":"https://api.github.com/users/zabeloliver/repos","events_url":"https://api.github.com/users/zabeloliver/events{/privacy}","received_events_url":"https://api.github.com/users/zabeloliver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-05T06:52:38Z","updated_at":"2017-04-05T06:52:38Z","closed_at":null,"body":"Hi, \r\n\r\nwhen i include my ARM Toolchain in my C Project, IntelliSense is messed up. \r\nSteps to reproduce:\r\n1. Create a sample file with following content:\r\n\r\n``` C\r\n#include <stdint.h>\r\n\r\ntypedef struct _test {\r\n    uint8_t ucValue;\r\n    uint16_t uiValue;\r\n} sTest;\r\n\r\n\r\nint main(int argc, char *argv[]) {\r\n    sTest a;\r\n    \r\n    return 0;\r\n}\r\n```\r\n2.  Now type a. and it gives you correctly the right struct members.\r\n![image](https://cloud.githubusercontent.com/assets/9071408/24693185/a6c22772-19dc-11e7-8538-d1396d48ed85.png)\r\n\r\n3. Create a CPP config with a custom Toolchain. In my example i'm using an ARM toolchain provided by the Cypress PSoC Creator IDE 4.0\r\n``` JS\r\n        {\r\n            \"name\": \"Cypress ARM\",\r\n            \"includePath\": [\r\n                \"C:/Program Files (x86)/Cypress/PSoC Creator/4.0/PSoC Creator/import/gnu/arm/4.9.3/arm-none-eabi/include\"\r\n            ],\r\n            \"browse\": {\r\n                \"limitSymbolsToIncludedHeaders\": true,\r\n                \"databaseFilename\" : \"${workspaceRoot}/.vscode/browse.db\"\r\n            }\r\n        }\r\n```\r\n4. Now repeat step 2 und you get the following list by typing a. :\r\n![image](https://cloud.githubusercontent.com/assets/9071408/24693266/0725149e-19dd-11e7-8457-ed0d10f6d5fd.png)\r\n\r\nWhat am i doing wrong?\r\n\r\nThanks for Help and best regards!\r\n\r\nPS: \r\nWindows 7\r\nVSCode 1.10.2\r\nCPP Ext 0.10.5"}}
{"actor":{"display_login":"zabeloliver"}}