-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: intellisense does not see new files. #20023
Comments
From @KostyaTretyak on November 9, 2017 21:2 @mjbvz, yes, sorry. I rewrite my previous "Steps to Reproduce". |
@KostyaTretyak I still can't reproduce this. What if you manually tigger suggestions by using ctrl+space after the |
From @KostyaTretyak on November 10, 2017 19:2 @mjbvz, yes, right. This bug reproduce only first time open VS Code and follow "Steps to Reproduce". |
From @KostyaTretyak on November 11, 2017 14:15 In addition, after deleting files, |
Ok, I was able to reproduce this on Ubuntu 16 with those exact steps. Here is the ts server log:
If I then restart the TS server, the suggestions work as expected |
The root cause of this issue is same as #19989 which is that directory watching recursively doesnt work on any OS except Windows or OSX. (https://github.com/Microsoft/TypeScript/blob/master/src/compiler/sys.ts#L277) which means the watch is never invoked resulting in the behaviour |
PR #21243 has multiple options enabled using environment variables The different options are explained in #21243 (comment) . Experience and feedback about these options is appreciated and would help us make decision on which strategy to go as default. |
@mhegazy, why is this issue closed? The above described bug is reproduced on current VS Code v1.21.0 on Ubuntu 16.04. |
The next build of typescript should have this fixed since we handle recursive directory watching through PR #21243 |
@sheetalkamat, thanks for the answer. So I should to do UPD: I tested it with TypeScript v2.8.0-dev.20180308 - bug reproduced. |
The nightlys haven't been publishing (see #22455) but once that resolves, yes. |
I tested it with TypeScript v2.8.0-dev.20180316 - bug reproduced on Ubuntu 16.04 and VS Code 1.21.0. |
In VS Code v1.22.1 this bug fixed. Thank you! |
From @KostyaTretyak on November 9, 2017 12:49
Steps to Reproduce:
tsconfig.json
file in the root;dir1
folder in the root;file1.ts
andfile2.ts
intodir1
;file1.ts
and doimport { } from './'
and VS Code does not seefile2.ts
.Reproduces without extensions: Yes
Screen shot:
Copied from original issue: microsoft/vscode#37939
The text was updated successfully, but these errors were encountered: