{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23914","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23914/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23914/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23914/events","html_url":"https://github.com/Microsoft/TypeScript/issues/23914","id":320461995,"number":23914,"title":"intellisense stop working on node require() statement","user":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"labels":[{"id":113971304,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Needs%20More%20Info","name":"Needs More Info","color":"556b75","default":false},{"id":923226499,"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/javascript","name":"javascript","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"assignees":[{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-05T00:04:11Z","updated_at":"2018-05-05T00:04:13Z","closed_at":null,"author_association":"COLLABORATOR","body":"_From @goonode on April 22, 2018 8:36_\n\n<!-- Do you have a question? Please ask it on https://stackoverflow.com/questions/tagged/vscode. -->\r\n\r\n<!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: code-insider-1.23.0-1524201267\r\n- OS Version: ubuntu 18.04\r\n\r\nSteps to Reproduce:\r\n\r\n1. make a new project folder (i used express generator like: express --view=pug --css=sass )\r\n2. npm install\r\n3. open the folder in vscode\r\n4. create a new file (i.e. test.js)\r\n5. insert a require statement (i.e. const rl = require('readline'); and press enter)\r\n\r\nNow cpu go to 100% , intellisense stop working (but also code formatter, linting...)\r\n\r\nClosing vscode and re-run solve this issue until a new require statement is used.\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nDoes this issue occur when all extensions are disabled?: Yes\r\n\r\nupdate: it seems also the stable release (i tested on code-stable-code_1.22.2-1523551015_amd64) is affected by this issue.\r\n\n\n_Copied from original issue: Microsoft/vscode#48338_"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/386763480","html_url":"https://github.com/Microsoft/TypeScript/issues/23914#issuecomment-386763480","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/23914","id":386763480,"user":{"login":"mjbvz","id":12821956,"avatar_url":"https://avatars2.githubusercontent.com/u/12821956?v=4","gravatar_id":"","url":"https://api.github.com/users/mjbvz","html_url":"https://github.com/mjbvz","followers_url":"https://api.github.com/users/mjbvz/followers","following_url":"https://api.github.com/users/mjbvz/following{/other_user}","gists_url":"https://api.github.com/users/mjbvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbvz/subscriptions","organizations_url":"https://api.github.com/users/mjbvz/orgs","repos_url":"https://api.github.com/users/mjbvz/repos","events_url":"https://api.github.com/users/mjbvz/events{/privacy}","received_events_url":"https://api.github.com/users/mjbvz/received_events","type":"User","site_admin":false},"created_at":"2018-05-05T00:04:13Z","updated_at":"2018-05-05T00:04:13Z","author_association":"COLLABORATOR","body":"You may also want to try creating a [`jsconfig.json`](https://code.visualstudio.com/docs/languages/javascript#_javascript-projects-jsconfigjson) if you do not already have one. Our intellisense sometimes picks up unexpected files otherwise"}}
{"actor":{"display_login":"mjbvz"}}