Commit Graph

415 Commits

Author SHA1 Message Date
isidor
347fb6347b add all cgmanifests. Still no commitHash 2018-11-14 18:18:25 +01: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
Matt Bierner
d5c11916a1 Support rendering color completions from a ts plugin as colors in the suggest list
https://github.com/Microsoft/typescript-styled-plugin/issues/80
2018-11-08 17:21:17 -08:00
ImgBotApp
d412f89baf [ImgBot] Optimize images
*Total -- 201.93kb -> 142.81kb (29.28%)

/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00:00
Matt Bierner
6e5b0be369 Use set instead instead of regexp for kind modifiers 2018-11-05 16:16:34 -08:00
Matt Bierner
92fc1f1f74 Enable file icons for js/ts path intellisense
Fixes #61625

Requires TS 3.2+. Uses the kind modifier to determine the type of the file being imported
2018-11-05 16:08:44 -08:00
Matt Bierner
edce7e2b8d Version js/ts Api 2018-11-05 15:11:50 -08:00
Matt Bierner
b929dc93d3 Use api for onCompletionAccepted instead of command 2018-11-05 14:29:50 -08:00
Matt Bierner
170077d533 Adding command that is fired when a js/ts completion is accepted 2018-11-05 14:17:17 -08:00
Matt Bierner
1faae7e83f Make sure we activate js/ts extension when someone sends the _typescript.configurePlugin command 2018-10-31 23:30:24 -07:00
Matt Bierner
36790dd767 Fixing a few errors in plugin TS config command
- Make sure we update config after server start
- Fix argument order and add type to ensure it's not as easy to confuse argument order
2018-10-31 10:58:27 -07:00
Matt Bierner
97ad72a02c Dont enable commit characters in case where cursor is at dot preceeded by whitespace
Fixes #59934

Proper fix is upstream https://github.com/Microsoft/TypeScript/issues/27742
2018-10-30 17:19:44 -07:00
Matt Bierner
db02d57569 Introduce plugin config provider
Follow up on #61756

Two fixes:

- Avoid allowing the `_typescript.configurePlugin` to activate the ts extension non-lazily by instead using a `PluginConfigProvider`
- Restrict configurePlugin to TS 3.1.4
2018-10-29 14:11:28 -07:00
Mine Starks
2f18a14a5f Support configuring TypeScript plugins (#61756) 2018-10-29 13:55:52 -07:00
Matt Bierner
1476540297 Always use splice 2018-10-26 17:36:26 -07:00
Matt Bierner
221aa3d632 Introduce RequestQueueingType
Allow for finer control over how requests are queued
2018-10-26 17:36:26 -07:00
Matt Bierner
eafe48e901 Adding basic tests for request queue 2018-10-26 17:36:26 -07:00
Matt Bierner
5919eda976 Move request queue to own file 2018-10-26 17:36:25 -07:00
Matt Bierner
7363dcca25 Move callbackmap to own file 2018-10-26 17:36:25 -07:00
Matt Bierner
855d78e8a3 Move ts server into own directory 2018-10-26 17:36:25 -07:00
Matt Bierner
f4131970f6 Add isRetrigger field to signature help context
#54972

Instead of having a generic `Retrigger` reason, add a new field on the `SignatureHelpContext` that tracks if this was a retrigger or not. This allows retrigger for all the different trigger reasons, including invoke.

Replace the old `Retriggger` trigger reason with `ContentChange` which tracks cursor movement and text updates.
2018-10-25 10:38:44 -07:00
Matt Bierner
758206be09 Don't require selection for showing TS refactorings
Fixes #61655
2018-10-23 16:18:14 -07:00
Matt Bierner
b43d76887d Add more detail to disableAutomaticTypeAcquisition setting description
Fixes #60984
2018-10-17 16:22:25 -07:00
Karthikayan
f891d5a7b0 include priority in requestItem and add to request queue accordingly (#60582)
* include priority in requestItem and add to queue accordingly

* add boolean lowPriority flag to requestItem and add to queue based on that

* set lowPriority flag to optional

* send lowPriority flag from CodeLensProvider

* revert priorityFlag for provider
2018-10-17 15:21:36 -07:00
Matt Bierner
799bc78af5 Fix parameters not having commit characters
Fixes #60907
2018-10-16 17:10:43 -07:00
Ramya Achutha Rao
a975e59eaf Update applicationInsights for #60585 2018-10-16 16:29:08 -07:00
Matt Bierner
a57e7abae2 Remove deprecated js/ts completion settings
These were marked as deprecated in VS Code 1.28 and are now being removed
2018-10-15 17:39:33 -07:00
Emil Hessman
14ef4255d6 Remove duplicate switch case (#59677) 2018-10-15 16:51:35 -07:00
Matt Bierner
0cfe8a1d7e Fix potential TSC error 2018-10-08 15:24:11 -07:00
Matt Bierner
f516d17267 Add support for TS RenameTextSpan
Fixes #60204
2018-10-08 15:18:08 -07:00
Matt Bierner
2f51e97117 Add retrigger characters to SignatureHelpProvider
Introduces the concept of a re-trigger character to the signature help provider. This is a seperate set of characters that are registered with the provider. Typing a retrigger character fires a new signature help request if signature help is already showing.

#54972
2018-10-05 16:01:02 -07:00
Matt Bierner
000f027497 Formatting 2018-10-05 13:56:34 -07:00
Matt Bierner
696fc1b48e Make sure we close old resource on ts server for path updates
Fixes #53466
2018-10-05 13:55:11 -07:00
Matt Bierner
03ed0959ee Improve message on update imports prompt
Fixes #59151
2018-10-05 13:47:14 -07:00
Johannes Rieken
7d7c27cf3e less strict checking of rename locations, #58907 2018-10-03 16:49:09 +02:00
Matt Bierner
402106a699 Introduce a shared tsconfig for extensions
Setup a baseline tsconfig for extensions to extend. This will help make sure thatof our built-in extensions are using the recommended settings for target and so on. it also reduces duplicated code and will make updating tsconfig settings easier
2018-10-01 16:35:43 -07:00
Joao Moreno
707787c5b8 update yarn.lock files to use integrity 2018-09-30 16:34:43 +02:00
Matt Bierner
e20fdf9545 Signal that TS Server has loaded succesfully when any error event is received
A successful error computation more or less signals that the server is ready and is more reliable than waiting for the projectUpdatedInBackground signal
2018-09-27 11:59:58 -07:00
Matt Bierner
17cfeaf31e Add better error message about disallowed rename of directory in import path 2018-09-26 17:47:28 -07:00
Matt Bierner
29e8dcffcf Use rename cancellation token for file rename request to ts server 2018-09-26 17:47:27 -07:00
Matt Bierner
41c47d1b56 Don't rely on updatePathOnFileMove for path renames
Better fix for #51175
2018-09-26 17:32:20 -07:00
Matt Bierner
a2d3c87982 Fix file path rename for js/ts
Fixes #51175
2018-09-26 17:23:55 -07:00
Matt Bierner
f94cfe6677 Make sure javascript.updateImportsOnFileMove.enabled also has enum descriptions
Fixes #59509
2018-09-26 17:23:55 -07:00
Matt Bierner
2e95080816 Use markdownEnumDescription for all js/ts enums
Fixes #59508
2018-09-26 17:23:55 -07:00
Matt Bierner
9906ecc7a5 Disable path renames on TS 3.1
Outcome of #51175. Requires fixes upstream
2018-09-26 14:15:07 -07:00
Matt Bierner
6e9a02177a Fix fileToRename no preserving extension 2018-09-26 14:08:18 -07:00
Matt Bierner
d8ccc514f5 Remove unneeded any cast 2018-09-26 14:08:18 -07:00
Matt Bierner
f169056822 Use better name for insertParamtersForFunctionCall setting
Renamed to `completeFunctionCalls` to hopefully make it clear that this setting will also complete functions with no parameters

Fixes #59325
2018-09-26 11:53:54 -07:00
Ramya Achutha Rao
972ee3f948 Use latest applicationinsights in extensions too 2018-09-25 16:45:00 -07:00