-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Completion list should remain open if suitable match is not found #10204
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
Comments
On the other hand consider the following, which is valid javascript: var x = { y: 10 }
var x.hello ... showing the completion list while still typing |
I have personally found this to be an obvious hindrance to productivity. For example, when looking for say Now in order to bring it back up, I need to delete all of We could perhaps fix this this by bringing up the list when |
Also I don't understand why |
Bringing the completion list back would be something we would need to specifically implement for TypeScript, which makes it expensive and thus low on the list of features we're considering. You can always hit [CTRL] + [Space] to bring back the completion list, after if closed. |
@paulvanbrenk, I understand that you are trying to balance the needs of people writing plain JavaScript. But the first consideration ought to be for those working in TypeScript. Yes, I can bring back the list with Ctrl+Space, but I have to first delete the last character and press two more keys. Altogether it's 3 more keys now for functionality that was working correctly before. I really do not find the argument that the list remains open when typing non-existent properties in JavaScript to be a compelling one. Firstly it's lazy and stubborn not to adopt TypeScript and secondly one can always hit escape to dismiss the completion box (one key vs. 3). Please consider adding this back to the 2.1 milestone. |
As mentioned earlier in the thread, we'll make this behavior an option.. not going to commit for 2.1, but we're working on some IntelliSense options infrastructure now, so it's coming. |
Wow nothing on this? I mean somebody breaks a working piece of code in TypeScript in order to fix an obscure issue for JavaScript users and nothing gets done about it. This is very disappointing. |
We're transitioning to LSP which will mean this behavior is language-agnostic. |
TypeScript Version: 2..0 Beta / VS 2105 Update 3
Code
Here's a comparison of typing in a C# vs TypeScript code file:
C#

TS

Expected behavior:
The completion list should remain open if a suitable match is not found.
Actual behavior:
The list closes when an incorrect key is typed.
This makes it difficult to backtrack when a mistake is made. I believe this was a regression in 1.8 or thereabouts.
The text was updated successfully, but these errors were encountered: