{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2062","repository_url":"https://api.github.com/repos/Microsoft/vscode-cpptools","labels_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2062/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2062/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2062/events","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/2062","id":327895914,"node_id":"MDU6SXNzdWUzMjc4OTU5MTQ=","number":2062,"title":"Stuck on Updating Intellisense..","user":{"login":"mjaybaig","id":16021620,"node_id":"MDQ6VXNlcjE2MDIxNjIw","avatar_url":"https://avatars1.githubusercontent.com/u/16021620?v=4","gravatar_id":"","url":"https://api.github.com/users/mjaybaig","html_url":"https://github.com/mjaybaig","followers_url":"https://api.github.com/users/mjaybaig/followers","following_url":"https://api.github.com/users/mjaybaig/following{/other_user}","gists_url":"https://api.github.com/users/mjaybaig/gists{/gist_id}","starred_url":"https://api.github.com/users/mjaybaig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjaybaig/subscriptions","organizations_url":"https://api.github.com/users/mjaybaig/orgs","repos_url":"https://api.github.com/users/mjaybaig/repos","events_url":"https://api.github.com/users/mjaybaig/events{/privacy}","received_events_url":"https://api.github.com/users/mjaybaig/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-05-30T20:56:08Z","updated_at":"2018-05-31T04:30:45Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nMy issue is very similar to this: https://github.com/Microsoft/vscode-cpptools/issues/1852\r\n\r\n```\r\nVSCODE:\r\nVersion 1.23.1\r\nCommit d0182c3417d225529c6d5ad24b7572815d0de9ac\r\nDate 2018-05-10T17:11:38.209Z\r\nShell 1.7.12\r\nRenderer 58.0.3029.110\r\nNode 7.9.0\r\nArchitecture ia32\r\n```\r\n\r\ncpptools version 0.17.3\r\n\r\nI can provide a slightly more specific description on when this happens to me.\r\n\r\nI am using CMake and MS Visual Studio 2017's own nmake to build my project.\r\nHere is my tasks.json:\r\n\r\n```\r\n{\r\n    // See https://go.microsoft.com/fwlink/?LinkId=733558\r\n    // for the documentation about the tasks.json format\r\n    \"version\": \"2.0.0\",\r\n    \"options\": {\r\n        \"cwd\": \"${workspaceRoot}/build\"\r\n    },\r\n    \"type\": \"shell\",\r\n    // \"suppressTaskName\": true,\r\n    \"presentation\": {\r\n        \"echo\": true,\r\n        \"reveal\": \"always\",\r\n        \"focus\": false,\r\n        \"panel\": \"shared\"\r\n    },\r\n    \"tasks\": [\r\n        {\r\n            \"label\": \"cmake\",\r\n            \"command\": \"cmake -G 'MinGW Makefiles' ..\"\r\n        },\r\n        {\r\n            \"label\": \"make\",\r\n            \"command\": \"nmake\",\r\n            \"group\": \"build\",\r\n            \"problemMatcher\": []\r\n        }\r\n    ]\r\n}\r\n```\r\n\r\nEvery time I run the nmake command (through a task in tasks.json), I see the flame icon with tooltip \"Updating Intellisense..\" \r\n\r\n![image](https://user-images.githubusercontent.com/16021620/40746590-4e7e52dc-6474-11e8-9bc1-0f592e1c6e9a.png)\r\n\r\n Which results in autocomplete/intellisense not working and requires a reload of the editor to fix.\r\n\r\nAnother odd thing I'm experiencing (not entirely sure if it's related to this) is that the use of the string standard library seems to break the compilation.\r\nTo demonstrate, the following simple program compiles and runs fine:\r\n```\r\n#include <iostream>\r\n#include <string>\r\nusing namespace std;\r\nint main(){\r\n    cout<<\"Hello world!\"<<endl;\r\n    return 0;\r\n}\r\n\r\n```\r\n![image](https://user-images.githubusercontent.com/16021620/40746892-12ef7c18-6475-11e8-9525-456d5d7faefd.png)\r\n\r\n\r\nHowever, the following code results in successful compilation and then just an empty execution. No errors, exceptions, just nothing\r\n\r\n```\r\n#include <iostream>\r\n#include <string>\r\nusing namespace std;\r\nint main(){\r\n    cout<<\"Hello world!\"<<endl;\r\n    string myName = \"Bob\";\r\n    cout<<\"Hello \"<<myName<<endl;\r\n    return 0;\r\n}\r\n```\r\n\r\n![image](https://user-images.githubusercontent.com/16021620/40747092-bb319906-6475-11e8-8e8e-95ed9d3cdc60.png)\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/comments/393398850","html_url":"https://github.com/Microsoft/vscode-cpptools/issues/2062#issuecomment-393398850","issue_url":"https://api.github.com/repos/Microsoft/vscode-cpptools/issues/2062","id":393398850,"node_id":"MDEyOklzc3VlQ29tbWVudDM5MzM5ODg1MA==","user":{"login":"bobbrow","id":12818240,"node_id":"MDQ6VXNlcjEyODE4MjQw","avatar_url":"https://avatars3.githubusercontent.com/u/12818240?v=4","gravatar_id":"","url":"https://api.github.com/users/bobbrow","html_url":"https://github.com/bobbrow","followers_url":"https://api.github.com/users/bobbrow/followers","following_url":"https://api.github.com/users/bobbrow/following{/other_user}","gists_url":"https://api.github.com/users/bobbrow/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbrow/subscriptions","organizations_url":"https://api.github.com/users/bobbrow/orgs","repos_url":"https://api.github.com/users/bobbrow/repos","events_url":"https://api.github.com/users/bobbrow/events{/privacy}","received_events_url":"https://api.github.com/users/bobbrow/received_events","type":"User","site_admin":false},"created_at":"2018-05-31T04:30:44Z","updated_at":"2018-05-31T04:30:44Z","author_association":"MEMBER","body":"@mjaybaig I recommend removing the double asterisks until we release the fix for the bug causing the problem.  We're tracking this with issue #2043 and intend to release an insiders build this week so the people affected can confirm that we have the right fix in place before we push the fix out to everyone.  We'll let everyone know when this update is ready by updating the issues that mention this problem.\r\n\r\nThe purpose of the recursive includes is so that you don't have to manually list out all of the folders in your project that have header files in them in the `\"includePath\"` array.  This feature is trying to reduce the configuration burden for people opening new code folders."}}
{"actor":{"display_login":"bobbrow"}}