Song Gao
0673f0288c
Fix JsDocTags inheritage and setter/getter quickInfo ( #46801 )
...
* tmp
* fix jsdoc inheritage for property and setter/getter
* fix test
* fix test
* fix mirrors
* add more tests
* add tests of jsdoc for intance of class
2022-01-25 15:43:12 -08:00
Song Gao
e2c89af335
use default type parameter rather than unknown when show quick help ( #46792 )
...
* use default type parameter rather than `unknown` when show quick help
* prefer default type parameter than constraint for quick info
2021-12-08 17:02:22 -08:00
Song Gao and Orta
971133d5d0
New command line help developer experience. ( #44157 )
...
* refactor help CLI output.
* fix typo and omit false condition boolean output.
* fix typo
* add line break
* add --plugins option to basic option category.
* add ts icon and remove old print help function.
* better command description for --jsx.
* Fix test
* fix lint
* Improvements to the UX
* Fix tests
* fix test.
* add missing help out.
* use environemnt variable to control test case.
* fix merge issues.
* No `No Category`
* make getWidthOfTerminal optional.
* fix test
* fix review.
* fix review.
* Update baselines
Co-authored-by: Orta <git@orta.io >
2021-06-16 14:18:00 +01:00
Song Gao
2d66517312
fix quickinfo of narrowed private filed ( #43356 )
...
* fix quickinfo of narrowed private filed
* add test case.
* adapt review.
2021-04-05 13:24:19 -07:00
Song Gao and Ron Buckton
3e28e29c51
fix 38503. ( #39716 )
...
* fix 38503.
* trigger test.
* trigger test.
* Move isCallChain
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com >
2021-02-01 18:34:46 -08:00
Song Gao
b9ac2f50b8
remove duplicated type -- remove TriviaKind, keep TriviaSyntaxKind. ( #42108 )
2021-01-04 14:34:53 -08:00
Song Gao
3442151f9d
completion for return const assertion. ( #41475 )
2020-12-22 09:16:30 +00:00
Song Gao and Orta Therox
8cbc576954
Fix #41800 correctly. ( #41895 )
...
* fix as suggestion.
* Update moduleSpecifiers.ts
* compare symbol rather than string
* fix typo.
* fix
* fix lint.
* better name and more clear code
* fix comment.
Co-authored-by: Orta Therox <git@orta.io >
2020-12-16 18:56:18 -08:00
Song Gao
37e898cfd7
import statement from "node" in js source file could produce correct declaration path. ( #41816 )
...
* fix #41800
* add test
* fix test
2020-12-07 13:54:47 +00:00
Song Gao
d5779c75d3
replace whole path if directory separator appears for import completion. ( #41412 )
...
* replace whole path if directory separator appears.
* Fix.
* revert change.
* Fix test case.
* add test.
* fix as suggested.
* revert useless change
* adapt to code change.
* fix baseline for test file.
2020-11-25 09:37:08 -08:00
Song and Orta
e76d17257a
Fix 38219: signature helper works for optional function condition. ( #39672 )
...
* fix optional fuction condition.
* Adds a test
Co-authored-by: Orta <git@orta.io >
2020-07-22 12:30:21 -04:00
Song
8a05707559
Fix 31995: make cached key more precise to avoid returning wrong cached value. ( #39670 )
...
* fix 31995
* revert useless change only for debug.
* add test
2020-07-22 12:26:17 -04:00
Song
294a0406e3
not escape unicode char for import path string. ( #39463 )
...
* not escape unicode char for import path string.
* fix test.
2020-07-22 11:28:29 -04:00
Song
5484687384
switch typeof any could be checked for unreachable ( #39389 )
...
* switch typeof any could be checked for unreachable
* fix stupid error
* support unknown
* remvoe use less code.
* fix spelling.
2020-07-21 13:51:27 -04:00
Song
d897646a4a
fix 39453 ( #39579 )
...
* fix 39453
* add restriction.
* add tests
* comment.
* fix as suggestion.
2020-07-21 09:40:25 -07:00
bf1ea6508b
fix static method reference non-static ( #38730 )
...
* fix static method reference non-static
* fix contextRangeIndex
* fix lint.
* fix style.
* update according to suggestion.
* continue fix.
* use every rather than foreach
* format
* fix
* add comment.
* fix according to review suggestions.
* Update src/services/findAllReferences.ts
* Update src/services/findAllReferences.ts
* Update src/services/findAllReferences.ts
* Update src/services/findAllReferences.ts
* Update src/services/findAllReferences.ts
Co-authored-by: Song Gao <song.gao@laserfiche.com >
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com >
2020-07-09 12:21:12 -07:00
ShuiRuTian
f29e03eea5
autocomplete works for const assertion. ( #39412 )
...
* fix 39384
* add test
2020-07-06 08:49:50 -04:00
ShuiRuTian
4601a786aa
not narrow static property without type annotation in constructor. ( #39252 )
...
* fix #39226
* fix lint.
2020-06-26 11:08:35 -07:00
ShuiRuTian and Song Gao
d76e85d94e
Update bigint declaration file ( #38526 )
...
* update toLocalString function signature
* update test.
* fix lint
* follow review advice.
* format and better comment.
* format
* add case
* fix symbol.
* remove subtype and string union in interface.
* remove useless code.
Co-authored-by: Song Gao <song.gao@laserfiche.com >
2020-06-22 14:55:04 -07:00
8293e517c0
fix rename cause import change wrongly ( #38462 )
...
* use canonical file name when resolve module
* renameSync in vfs supports same folder.
* Update src/harness/vfsUtil.ts
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com >
* change tss rather than compiler.
* remove useless comment.
* use fileName rather than path.
Co-authored-by: Song Gao <song.gao@laserfiche.com >
Co-authored-by: Ron Buckton <ron.buckton@microsoft.com >
2020-06-18 08:31:30 -07:00