Matt Bierner
eb5ec1b324
Use warning for partial mode language status item
2021-10-04 09:19:47 -07:00
Matt Bierner
9990843822
Disable non syntax errors in files that don't have semantic capabilities ( #134175 )
...
If we're on a host that supports semantic checking, but in a file that doesn't support semantic errors, we currently don't want to report semantic errors since these will likely complain about imports and other undefined symols
2021-10-04 08:11:16 -07:00
Johannes Rieken
f8e953fdff
adopt API breakage of onDidChangeInlayHints
2021-10-04 12:59:25 +02:00
Matt Bierner
595bc1d56b
Fix fragment being dropped from in-memory js/ts resources
...
Some documents (specifically notebook cells) use the fragment to identify different document parts
Make sure we preserve this
2021-09-30 11:49:08 -07:00
Martin Aeschlimann
ab55b573ea
add tag closing for tsx (for #34484 )
2021-09-30 11:17:42 +02:00
Matt Bierner
6fed60f8f4
Fix formatting
...
Introduced by PR
2021-09-29 21:32:20 -07:00
Armando Aguirre
7fdc489e08
Add jsxAttributeCompletionStyle setting ( #133920 )
...
* Add jsxAttributeCompletionStyle setting
* Apply suggestions from code review
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com >
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com >
2021-09-29 16:20:23 -07:00
Matt Bierner
fa27356174
Update link
2021-09-29 08:45:48 -07:00
Matt Bierner
ece191d76f
Use correct project types for javascript projects
2021-09-29 08:42:59 -07:00
Matt Bierner
c03da8b023
Add consolidated IntelliSense status item
...
Fixes #133731
2021-09-28 18:30:47 -07:00
Matt Bierner
c6d45158c5
Spelling
2021-09-28 16:59:04 -07:00
Matt Bierner
124f1ef74e
Remove extra check for non-nullable param
2021-09-27 15:43:25 -07:00
Matt Bierner
8731be5e78
Fix errors in untitled JS/TS files
2021-09-27 14:09:31 -07:00
Matt Bierner
1aa23f12ac
Only show capabilities item when in single file mode
...
For #133731
No need to show this normally since project intellisense is the default
2021-09-27 13:39:26 -07:00
Matt Bierner
f47586563e
Show loading spinner while loading status of tsconfig for current file
2021-09-27 13:39:25 -07:00
Ikko Ashimine
437b6ce304
Fix typo in completions.test.ts ( #133401 )
...
backets -> brackets
2021-09-27 12:23:56 -07:00
Benjamin Pasero
54cdd9c58b
status - improve hover feedback for compact entries ( #129037 )
2021-09-18 09:53:10 +02:00
Matt Bierner
eefcaf6e0f
Extract duplicated constant
2021-09-16 17:20:03 -07:00
Matt Bierner
6d01964e8e
Add language status item for single file mode
...
Fixes #133296
2021-09-16 17:20:02 -07:00
Matt Bierner
43f7c113e4
Move project status items to a new ui folder
2021-09-16 17:20:02 -07:00
Matt Bierner
4fcbe9449c
Add support for cross file JS/TS intellisense in yarn web
...
Fixes #133199
2021-09-15 16:26:22 -07:00
Matt Bierner
8a912d57c3
Include in-memory in same implicit JS/TS project
...
Fixes #133195
2021-09-15 16:26:22 -07:00
Matt Bierner
fc5e2f515c
Adopting langauge status api for JS/TS versions ( #132015 )
...
* Adopting language status api for JS/TS versions
* Polish
2021-09-14 08:35:12 -07:00
Matt Bierner
ad67ad4530
Show lightbulb when user makes a selection in js/ts
2021-09-09 18:18:00 -07:00
Matt Bierner
74989b2993
Fix organize import for empty file
...
Fixes #132637
We should not show the lightbulb when auto applying code actions
2021-09-09 18:18:00 -07:00
Justin Wei
0aaedebdb0
Do not fold closing tag ( #132316 )
2021-09-09 14:27:16 -07:00
Matt Bierner
f1581dcad7
Fix labels for optional auto imports
...
Fixes #132212
2021-09-07 14:54:11 -07:00
Matt Bierner
aec6ee09fa
Remove eslint disablement in file
...
" -> '
2021-09-02 16:58:01 -07:00
Matt Bierner
e802791cf1
Introduce typescript.tsserver.useSyntaxServer
...
Fixes #131142
This setting replaces `typescript.tsserver.useSeparateSyntaxServer` and officailly documents the syntax only mode on desktop
2021-08-18 18:36:37 -07:00
Matt Bierner
5fe071c2e7
Don't return trigger characters for ambient JS suggestions
...
Fixes #130096
2021-08-12 15:34:34 -07:00
Matt Bierner
813c0b2178
Pick up newest TS versions
2021-08-09 11:24:34 -07:00
Matt Bierner
f944203712
Remove old cast
...
Not needed with TS 4.4
2021-08-03 22:15:43 -07:00
Matt Bierner
e4eaed4bf5
Add support for rendering @linkcode jsdoc tags as code
2021-08-03 16:37:26 -07:00
Matt Bierner
5bc143160c
Add on Error handler for ts worker
2021-08-03 16:37:25 -07:00
Matt Bierner
48c560d788
Organize imports in TS ext
2021-08-03 13:22:45 -07:00
Matt Bierner
637b409b00
Bundle TS 4.4
2021-08-02 15:33:27 -07:00
Matt Bierner
847a6d8cd0
Fix request position of the inlay hints
...
Fixes #129134
The document may change between the request and when `ensureConfigurationForDocument` completes
I think this should fix the shifting around
2021-07-22 17:53:53 -07:00
Matt Bierner
0207dfe18c
Remove unused class
2021-07-21 18:32:57 -07:00
Matt Bierner
23d99b3055
Prompt users to update TS versions before reporting issues
...
Fixes #129131
2021-07-21 14:56:20 -07:00
Matt Bierner
76885d753d
Use static list of commit characters
...
Testing this for the TS side. We think that being consistent may be better than trying to be smart here
2021-07-21 14:56:20 -07:00
Matt Bierner
3fd02ec7ba
Update inlay hints when inlay settings change
2021-07-15 15:59:59 -07:00
Martin Aeschlimann
57376f410d
typescript: avoid global setImmediate
2021-07-09 12:39:38 +02:00
Matt Bierner
d5d45297f8
Split service configuration for desktop and browser
...
Fixes #128222
We only support using configured TS versions on desktop. In browsers we always use the bundled version
2021-07-08 15:29:54 -07:00
Matt Bierner
41807b889d
Use service for loading service configuration
...
For #128222
2021-07-08 15:29:53 -07:00
Matt Bierner
b7e633aae1
Use interface for service config
...
For #128222
2021-07-08 15:29:53 -07:00
Matt Bierner
8b3d6668bd
Support syntax diagnostics in partial mode
...
For https://github.com/microsoft/TypeScript/pull/44859
2021-07-07 12:36:56 -07:00
Wenlu Wang
e144d6e951
Add ts inline hints ( #113412 )
...
* Add ts server for inline hints
* Add some feature related configure
* Add more config
* Rename all options
* Support range
* use new interface
* Fix cr issues
* Update inlay hints for ts plugin
* Avoid call chain hints
* Avoid more option
* Update protos
* Update extensions/typescript-language-features/package.nls.json
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com >
* Use suppress for some option
* Update CR issues
* Fix missing typedef
* Avoid changes
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com >
2021-07-07 09:21:20 -07:00
Andrew Branch
c0bc22edf0
[typescript-language-features] Add suggest.allowIncompleteCompletions and pass trigger kind to TS Server ( #127673 )
...
* Add suggest.allowIncompleteCompletions and pass trigger kind to TS Server
* Remove setting, use switch for TriggerKind conversion
2021-07-06 16:10:20 -07:00
Heyward Fann
64e1bd289c
Update completions.ts ( #124822 )
2021-07-01 13:03:01 -07:00
Johannes Rieken
14704a7e92
adopt API changes in tests and extensions
2021-06-22 14:35:32 +02:00