Skip to content

[pull] master from microsoft:master#243

Merged
pull[bot] merged 1 commit intoclaasahl:masterfrom
microsoft:master
Jul 19, 2019
Merged

[pull] master from microsoft:master#243
pull[bot] merged 1 commit intoclaasahl:masterfrom
microsoft:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jul 19, 2019

See Commits and Changes for more details.


Created by pull[bot]. Want to support this open source service? Please star it : )

* Fix type keyword completions

1. In functions, type keywords were omitted.
2. In All context, no keywords were omitted.

(1) fixes #28737
(2) removes 17 keywords that should not be suggested, even at the
toplevel of a typescript file:

* private
* protected
* public
* static
* abstract
* as
* constructor
* get
* infer
* is
* namespace
* require
* set
* type
* from
* global
* of

I don't know whether we have a bug tracking this or not.

* Change keyword filter in filterGlobalCompletion

Instead of changing FunctionLikeBodyKeywords

* Add more tests cases

* Make type-only completions after < more common

Because isPossiblyTypeArgumentPosition doesn't give false positives now
that it uses type information.
@pull pull bot added the ⤵️ pull label Jul 19, 2019
@pull pull bot merged commit e543d8b into claasahl:master Jul 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant