Commit Graph
399 Commits
Author SHA1 Message Date
Matt Bierner 336db91acb Use switch case 2018-11-27 11:40:27 -08:00
Matt Bierner 9531a7c380 💄 2018-11-27 11:40:27 -08:00
Matt Bierner 0c126b0608 Extract display part kinds to constants files 2018-11-27 11:40:27 -08:00
Matt Bierner bab1ea6c27 💄 2018-11-27 11:40:27 -08:00
Matt Bierner ca7f6c2cf2 Move snippetForFunctionCall to own file 2018-11-27 11:40:27 -08:00
Matt Bierner 77454b24bc Extract append joined placeholders 2018-11-27 11:40:27 -08:00
Matt Bierner 0aef227bbf Try splitting up parameter list extraction from snippet building 2018-11-27 11:40:27 -08:00
Matt Bierner 61ad185759 Make it clearer that insert text snippets override the rest snippet generation 2018-11-27 11:40:27 -08:00
Matt Bierner d5843e550f Fix bug for generating snippet if the object type contained a method signature 2018-11-27 11:40:27 -08:00
Matt Bierner 1755715a13 Fix bug where return type containing function type could be merged with normal parameters 2018-11-27 11:40:26 -08:00
Matt Bierner 86d7fd923a Adding pinning test for inline types 2018-11-27 11:40:26 -08:00
Matt Bierner af05b65331 Adding plnning test for rest paramters 2018-11-27 11:40:26 -08:00
Matt Bierner e8f00e763a Adding pinning test for getting parameters 2018-11-27 11:40:26 -08:00
Matt Bierner ece1bad312 Adding basic pinning tests for insert text 2018-11-27 11:40:26 -08:00
Matt Bierner ec3cba2661 Add test for using insert text 2018-11-27 11:40:26 -08:00
Matt Bierner ecce9249cb Extract snippetForFunctionCall so that it can be tested 2018-11-27 11:40:26 -08:00
Matt Bierner 02a59c3015 Make CachedResponse generic 2018-11-19 18:48:36 -08:00
Matt Bierner fabc627634 Move getSymbolRange out of class 2018-11-19 18:46:09 -08:00
Matt Bierner 1f1618d280 Remove extra conditional
This should always be true
2018-11-19 18:41:26 -08:00
Matt Bierner f953906c74 Remove un-needed any cast 2018-11-19 18:24:59 -08:00
Matt Bierner 26cd646618 Remove unnessisary conditional
The body of these specific events are always non-null
2018-11-19 16:34:15 -08:00
Matt Bierner 277b96327f Enable loading indicator for subsequent js/ts project loads
Fixes #62978
2018-11-19 16:34:15 -08:00
Matt Bierner b115d8860c Extract loadingIndicator to class 2018-11-19 16:34:15 -08:00
Matt Bierner 300f1b8d98 Extract lazy activation logic 2018-11-19 16:34:15 -08:00
Matt Bierner 575e1630d5 Add API so that extensions can configure TS Server plugins
Fixes #63181

This is a replacement for the `_typescript.configurePlugin` command. Using a command, it is easy to forget to check if the js-ts extension is active before executing it. Using an actual api prevents this  and also allows better typing
2018-11-19 14:59:19 -08:00
Matt Bierner 0bfb7fcb54 Add metadata on completions accepted api 2018-11-19 11:04:03 -08:00
Johannes Rieken c507f6347b set outline label for TypeScript and launch.json, #62839 2018-11-16 16:08:55 +01:00
Matt Bierner a6b8074a19 Remove is 2018-11-15 18:10:35 -08:00
Matt Bierner 8244f81b65 Simplify data2String 2018-11-15 18:07:57 -08:00
Matt Bierner 78de541d49 Delete unused log level and type levels 2018-11-15 18:07:20 -08:00
Matt Bierner 07a5118d23 Make sure we dispose of pluginManager 2018-11-15 17:59:35 -08:00
Matt Bierner 0dd2f7487f Don't eagerly construct surveys 2018-11-15 17:56:40 -08:00
Matt Bierner a0f0ee42e9 Move survey ready logic into Surveyor 2018-11-15 17:54:46 -08:00
Matt Bierner 106cbdec2c Extract api to own file 2018-11-15 17:50:28 -08:00
Matt Bierner ca68cfd75d Split commands into own files 2018-11-15 17:44:56 -08:00
Matt Bierner dc03204cc2 Improve names 2018-11-15 17:44:56 -08:00
Matt Bierner 71f86e584d Merge plugin config provider into plugin manager 2018-11-15 17:44:56 -08:00
Matt Bierner 5da4d1188e Encapsulate plugins in plugins manager 2018-11-15 17:44:56 -08:00
Matt Bierner 01511eeb28 Make plugin.languages readonly 2018-11-15 17:44:56 -08:00
Matt Bierner 49fd31af84 Move plugin config provider to plugins file 2018-11-15 17:44:56 -08:00
Matt Bierner ac95482f6d Pick up TS 3.2 rc 2018-11-15 17:44:56 -08:00
Matt Bierner f31bc50d1c Use correct position for requesting closing jsx tags
Fixes #63178

Make sure we compute the correct line and offset for multi-line changes
2018-11-14 18:37:00 -08:00
Matt Bierner 813d3aa393 Fixing some more restrictive tslint errors 2018-11-14 14:45:13 -08:00
Matt Bierner bd314b04a8 Remove extra await 2018-11-14 14:26:46 -08:00
Matt Bierner 3aa49aa583 Improve method names 2018-11-14 14:16:46 -08:00
Matt Bierner d6b6c51b6e Make sure we dispose of reader properly 2018-11-14 14:15:31 -08:00
Matt Bierner 4737e3efd1 Fixing TS 3.2 compile errors 2018-11-13 17:13:15 -08:00
Matt Bierner 4f227dd88c Use 'references' instead of 'occurrence' to power document highlights
`occurrence` is marked as deprecated
2018-11-13 17:13:15 -08:00
Matt Bierner fd824ee58e Don't explicitly add folder name to task labels
Fixes #60315

Don't add workspace folder name to task labels as this messes up build task detection.

This change currently causes a regression when you have two folders with the same folder name (but different paths) in a workspace
2018-11-12 15:00:13 -08:00
Matt Bierner a3fa56b477 Observe isIncomplete metadata passed by from a plugin
Supports cases like https://github.com/Microsoft/typescript-styled-plugin/issues/41

Requires TS 3.2
2018-11-09 16:30:49 -08:00