Commit graph

7990 commits

Author SHA1 Message Date
Matt Bierner 37753d5bbc Update deps 2019-11-02 15:28:01 -07:00
Huáng Jùnliàng c35b9ba236 add babel.config.json to validation (#83758) 2019-11-01 11:23:04 -07:00
Johannes Rieken 5a4e23fb31 update names 2019-11-01 17:03:56 +01:00
Johannes Rieken 36c3e8756c adjust API proposal to account for N files being created, moved, and deleted 2019-11-01 16:50:56 +01:00
Martin Aeschlimann 90e887f8b5 [json] update yarn lock 2019-11-01 15:42:47 +01:00
Alex Ross 5a1242ab45
Detail for npm: install task (#83765)
Fixes #83654
2019-11-01 15:26:58 +01:00
Johannes Rieken 2d71cb4cdf adopt proposed API changes in TS land 2019-11-01 12:38:46 +01:00
Daniel Imms 3c282d45bd Move icons out of translated strings 2019-10-31 16:02:23 -07:00
Daniel Imms 5d5dc6c277 Merge remote-tracking branch 'origin/master' into tyriar/integration_test 2019-10-31 12:36:33 -07:00
Joao Moreno d651044482 fixes #73613 2019-10-31 19:57:46 +01:00
Daniel Imms f5cb824330 Ignore 0,0 event to fix override dimensions pty test
See #83778 for follow up (when we're not in endgame)
2019-10-31 11:39:03 -07:00
Daniel Imms 82c348326c Merge remote-tracking branch 'origin/master' into tyriar/integration_test 2019-10-31 11:28:31 -07:00
Daniel Imms fe2e842fee Ensure terminal/task tests don't leak listeners across tests 2019-10-31 11:21:18 -07:00
Daniel Imms c0e630fd7a Pass assertion failure to done 2019-10-31 10:43:36 -07:00
Johannes Rieken 14e2178b7f fix #83762 2019-10-31 16:02:34 +01:00
Martin Aeschlimann 7887f81b80 [json] improved error message 2019-10-31 15:10:31 +01:00
Martin Aeschlimann 3a5209ec64 [json] file schema loaded on client instead of server. Fixes #83515 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 4bdb7355f7 [json] fix azure telemetry 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 9a9c0e351b update request-light 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 7b944a16f5 update request-light 2019-10-30 20:57:21 +01:00
Benjamin Pasero 672ca38a78 remote - fix text resolver action to show log 2019-10-30 17:43:40 +01:00
Matt Bierner 31f577ec88 Prevent default zoom behavior in image preview for browsers 2019-10-29 17:04:05 -07:00
Matt Bierner 175b3fefd7 Use vendor specific use-select to make Safari happy
Fixes #83600
2019-10-29 16:59:31 -07:00
Matt Bierner c80fb1b771 Be more resilient when checking if we have an opened jts/ts buffer
Fixes #83338

`TextDocument` lifetime may not match that of the the user facing editors. However the JS/TS extension was assuming that it did. Introduce a `ensureHasBuffer` function that can open a buffer if vscode knows about a textdocument but no `onDidOpenTextDocument` has been fired for it yet
2019-10-29 14:26:20 -07:00
Pine Wu 36a3fd8e42 Update css service 2019-10-29 11:45:48 -07:00
Joao Moreno 32a529d1ca
add modal to undo merge commit
related to #69937
2019-10-29 15:40:01 +01:00
Benjamin Pasero b7b21844e7 api - fold app uri creation into asExternalUri (fix #82884) 2019-10-29 07:18:19 +01:00
Pine Wu a3837d1a64 Fix #79844 2019-10-28 16:14:32 -07:00
Matt Bierner 149376dab8 Update md grammar 2019-10-28 14:19:13 -07:00
Martin Aeschlimann 223076ac54 [json] support result limits 2019-10-28 20:23:16 +01:00
Erich Gamma 3a9907df1a Add missing activation event 2019-10-28 17:17:01 +01:00
Eric Amodio d6cbcb5eec Fixes failing terminal test 2019-10-28 09:02:53 -04:00
Alex Ross 219735002a Add alignof to light and dark themes
Part of #80783
2019-10-28 13:38:30 +01:00
Joao Moreno ad6011cb7a rename git.untrackedChanges: default to mixed 2019-10-28 10:35:56 +01:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Matt Bierner 6aab56dd62 Use specific scope name for js vs ts
Fixes #83289
2019-10-25 10:53:04 -07:00
Benjamin Pasero e5f0077f40 css 💄 2019-10-25 16:41:56 +02:00
Joao Moreno 7563aa3c3f
Merge branch 'pr/80083' 2019-10-25 16:14:19 +02:00
Joao Moreno 7da96f94c1
cleanup setting name and values 2019-10-25 16:11:36 +02:00
Joao Moreno d5e692e758
smart commit should be aware of handleUntracked 2019-10-25 16:06:11 +02:00
Joao Moreno 82abb9e56d
differentiate between tracked & untracked in staging 2019-10-25 16:01:52 +02:00
Joao Moreno 003177ea90
git.stageAllUntracked, git.cleanAllUntracked 2019-10-25 15:49:38 +02:00
Joao Moreno 88c03a7a8d
rename unstaged group 2019-10-25 15:42:19 +02:00
Joao Moreno 1b0f70606a
fix untracked decorations 2019-10-25 15:20:44 +02:00
Joao Moreno 179154d3f5
💄 2019-10-25 15:19:30 +02:00
Joao Moreno a8b09d4711
fixed scope 2019-10-25 15:14:59 +02:00
Alex Ross 158ffdf7c3 Add profiles.json to jsonc files for Windows terminal
Related to https://github.com/microsoft/terminal/issues/3183 and Fixes https://github.com/microsoft/vscode/issues/78559
2019-10-25 15:01:28 +02:00
Joao Moreno 94389f776f
fix bad git package.nls.json change 2019-10-25 12:19:35 +02:00
Joao Moreno 1a071b1f79
Merge commit 'refs/pull/80083/head' of github.com:microsoft/vscode into pr/80083 2019-10-25 12:15:59 +02:00
Joao Moreno 1c19031a23
Merge remote-tracking branch 'origin/master' 2019-10-25 11:41:31 +02:00
Joao Moreno b716ca6ae6
fix typo 2019-10-25 11:38:55 +02:00
Joao Moreno 2c0115ec8c
fix compile errors 2019-10-25 11:36:06 +02:00
Joao Moreno 980fb4b0ff
Merge commit 'refs/pull/76342/head' of github.com:microsoft/vscode into pr/76342 2019-10-25 11:32:15 +02:00
João Moreno 16e5fae907
Merge pull request #83257 from andrecasal/fix-git-confirmEmptyCommits-description
Clarified git.confirmEmptyCommits description
2019-10-25 10:46:34 +02:00
Joao Moreno 93f1e0287b
git: remove bad menu 2019-10-25 09:54:20 +02:00
Matt Bierner ba4a504ffe Use a case-insensitive map for store pending buffer operations
Fixes #82634
2019-10-24 18:12:21 -07:00
Matt Bierner de2c32f69d Split js doc injection into js and specific ones 2019-10-24 16:58:12 -07:00
Matt Bierner 951f891b23 Extend disposable 2019-10-24 16:58:12 -07:00
Matt Bierner 73fbb9da18 Use proper map 2019-10-24 16:58:12 -07:00
Matt Bierner b66a2571fd Use Disposable 2019-10-24 16:58:12 -07:00
Matt Bierner 73b3fc4348 Support performing a js/ts workspace symbol search when focused on the left side of a git view
Fixes #75107
2019-10-24 14:55:54 -07:00
Matt Bierner c4868f4cc8 Use includes 2019-10-24 14:55:54 -07:00
Matt Bierner 520fafc07b Use includes 2019-10-24 14:55:54 -07:00
andrecasal 396dead18b Clarified git.confirmEmptyCommits description 2019-10-24 21:29:07 +01:00
Eric Amodio 5367bf6d2b
Merge pull request #82189 from microsoft/bug/#48513
Fixes #48513 - buffers terminal onData events
2019-10-24 13:41:38 -04:00
Christof Marti fc6ae20dd7 Polish description 2019-10-24 16:10:45 +02:00
Joao Moreno f402575486 cleanup git delete tag command 2019-10-24 15:27:57 +02:00
Joao Moreno 23a4df3672 Merge commit 'refs/pull/74345/head' of github.com:microsoft/vscode into pr/74345 2019-10-24 15:13:29 +02:00
Martin Aeschlimann 22bf38cade
Merge branch 'master' into perl5-pod-folding 2019-10-24 11:15:03 +02:00
Matt Bierner 78559bf9e6 Normalize vscode links in markdown files to target current vscode version
Fixes #71622

This allows you to use generic `vscode` links inside the markdown preview and still have them work if the preview is viewed in insiders
2019-10-23 20:27:52 -07:00
Matt Bierner 8c0e291789 Make message for update imports better match vscode's message
For #76268
2019-10-23 18:04:22 -07:00
Matt Bierner 639ccb016f Batch renames for js/ts
Fixes #76268
2019-10-23 17:57:41 -07:00
Matt Bierner e4478d363d Batch renames 2019-10-23 17:57:41 -07:00
Matt Bierner 6290c3ff0b Use file name to determine if we are in a ts file or not
Using a textdocument to know if we are in a typescript vs a javascript document is ideal but comes at a performance cost. In most cases we can use the file name safely
2019-10-23 17:57:40 -07:00
Matt Bierner 645a178353 Use destructured paramters 2019-10-23 17:57:40 -07:00
Matt Bierner 01f429e8c9 Don't show progress indicator when we know for sure we are not doing a js/ts rename 2019-10-23 17:57:40 -07:00
Matt Bierner 46d2224d8b Remove gating for TS versions < 2.4
Telemetry shows that these old TS versions have very low usage (in the tens across the many, many js/ts users). Given this, it now makes sense to remove the extra gating/checks required to support these old versions
2019-10-23 17:57:40 -07:00
Matt Bierner 0d0a574164 Normalizing names 2019-10-23 17:57:40 -07:00
Matt Bierner 45cd966a16 Use VS Code's fs instead of node 2019-10-23 17:57:40 -07:00
Matt Bierner 611fd60cd4 Make sure we update js/ts diagnostics when the visible editors change
Changes in one document may cause errors in other, not yet visible docs. Make sure we update the diagnostics when another file becomes visible to handle that case
2019-10-23 17:57:40 -07:00
Daniel Imms ebc27c4410 More formatting 2019-10-23 16:57:22 -07:00
Daniel Imms a00301d074 Format/minimize diff 2019-10-23 16:54:04 -07:00
Eric Amodio 95b1f7c3c0 Reworks the test to not be timing specific 2019-10-23 18:28:17 -04:00
Eric Amodio 000006f0d1 Fixes terminal integration test timing 2019-10-23 18:28:16 -04:00
Matt Bierner 76a8e836c5 Use standard vscode.proposed.d.ts instead of copying it 2019-10-23 13:20:58 -07:00
Alexandr Fadeev 7ee0e02883 Makefile testcase for updated scheme to support the following: var:=$(val:.c=.o) (#83121) 2019-10-23 10:45:07 +02:00
Alex Ross 7e3d3a5c92 Update make grammar 2019-10-23 10:31:08 +02:00
Alex Ross 384464411c Merge branch 'master' of https://github.com/Microsoft/vscode 2019-10-23 10:15:41 +02:00
Matt Bierner 6803eba9fe Add zoomIn and zoomOut commands for image preview
Fixes #71653

Adds two new commands, `imagePreview.zoomIn` and `imagePreview.zoomOut`. These zoom the active image preview in or out. They have no default keybinding but users can configure one for them
2019-10-22 17:11:31 -07:00
Matt Bierner dd51127323 Remove preventDefault call that was causing warning in chrome
Not sure why this was added originally but in my testing it does not seem to be required
2019-10-22 16:43:49 -07:00
Matt Bierner 587061a8fc ?. operator 2019-10-22 14:57:25 -07:00
Pine Wu 3082edc2d8 💄 2019-10-22 14:45:22 -07:00
Pine Wu 7fa28ec9d3 Part of #79964 2019-10-22 14:19:03 -07:00
Pine Wu 603d861749 Fix #79768 2019-10-22 12:41:33 -07:00
Pine Wu 313a142652 Bump css LS for #79215 2019-10-22 12:03:11 -07:00
Matt Bierner 07f1939ba2 Log where the typescript version is coming from 2019-10-22 11:25:14 -07:00
Matt Bierner 802d09f5f2 Use double quotes for user facing strings 2019-10-22 11:25:14 -07:00
Matt Bierner de0cd31fa5 Rename versionString to displayName to make it clearer how this version is used 2019-10-22 11:25:14 -07:00
Pine Wu a724a64cce Bump css LS for #74635 2019-10-22 11:19:49 -07:00
Alex Ross 56246ed3d8 Update vscode.proposed.d.ts in npm extension 2019-10-22 18:20:21 +02:00
Alex Ross 87998af618 Add task detail property and adopt in npm extension
Fixes #69785
2019-10-22 15:56:21 +02:00
Alex Ross 9d1ae3e615 Merge branch 'master' of https://github.com/Microsoft/vscode 2019-10-22 09:57:21 +02:00
Matt Bierner 96a5151f7a Workaround for TS not being able to handle interactive playground resource with query parameters in uri
Fixes #81059
Fixes #82419

The interactive playground generates uris that have query paramters. This causes the TS Server to crash. The workaround here is make sure the file paths we give to TS Server don't have query paramters but the ones we work with locally do
2019-10-21 18:26:40 -07:00
Matt Bierner ed53e86205 Make sure the syntax and semantic servers don't get out of sync
If one server fails for a command but the other does not, we are in an inconsistent state. Treat this as a fatal error
2019-10-21 18:26:40 -07:00
Matt Bierner ab4e86df8d Fix time range for restart detection 2019-10-21 18:26:40 -07:00
Alexander ed31ffc1b5 Remove unused colors from themes (#82986) 2019-10-21 09:00:51 -07:00
Alex Ross 39ec547156 Merge branch 'master' of https://github.com/Microsoft/vscode 2019-10-21 16:01:49 +02:00
João Moreno ad9bce8978
Merge pull request #82038 from jeanp413/fix-81158
Fix git repository not detected if root folder ends in [space]
2019-10-21 16:01:18 +02:00
Erich Gamma 4225aa8a9a Remove inefficient code to set a custom tooltip 2019-10-21 15:05:01 +02:00
Alex Ross a0bc43dd73 Update grammars 2019-10-21 11:21:03 +02:00
Matt Bierner 82ca6ba87f document that suggest.names doesn't work with checkjs
Fixes #81895
2019-10-19 16:19:35 -07:00
Matt Bierner bd200eafd1 Add configuration for includeAutomaticOptionalChainCompletions
For https://github.com/microsoft/TypeScript/pull/34552
2019-10-18 22:00:11 -07:00
Matt Bierner 693ffb4d57 Default maxTsServerMemory to 3GB 2019-10-18 16:14:48 -07:00
Matt Bierner 2a46387970 Use test instead of match 2019-10-18 16:14:48 -07:00
Matt Bierner 035963b1f1 Add basic pinning test for jsdoc completions
For #82874
2019-10-18 16:14:48 -07:00
Sohail Rajdev e10218c359 add support for command line arguments in grunt task runner (#82819)
fixes #66748
2019-10-18 10:44:53 +02:00
Joao Moreno 1cd6bd6096 Revert "fixes #71355"
This reverts commit f0772536de.

Fixes #82797
2019-10-18 10:23:10 +02:00
Matt Bierner 5aec74ad3b Treat errors on updateOpen as non-recoverable
Any errors on `updateOpen` will cause the TS Server to become out of sync. This change alerts us to errors that happen in `updateOpen`. We then restart the ts server
2019-10-17 21:52:02 -07:00
Miguel Solorio 74e61de8e8
Merge branch 'master' into misolori/icon-font 2019-10-17 12:23:08 -07:00
Joao Moreno f367d0fe20 skip auth only for auto fetch
related to #72615
2019-10-17 16:19:26 +02:00
Joao Moreno 612b072362 Merge commit 'refs/pull/72615/head' of github.com:microsoft/vscode into pr/72615 2019-10-17 16:16:36 +02:00
João Moreno fd8383a6b0
Merge pull request #71525 from jmbockhorst/confirmUndoMerge
Confirm "Undo last commit" if its a merge commit
2019-10-17 07:01:23 -07:00
Joao Moreno 2125bcf9af 💄 2019-10-17 15:52:21 +02:00
Joao Moreno 1852e0c764 Merge commit 'refs/pull/71434/head' of github.com:microsoft/vscode into pr/71434 2019-10-17 15:35:22 +02:00
Joao Moreno f901a47197 💄 git clone progress 2019-10-17 14:08:40 +02:00
Joao Moreno 471b263ce5 Merge commit 'refs/pull/71341/head' of github.com:microsoft/vscode into pr/71341 2019-10-17 12:53:45 +02:00
Miguel Solorio 641276b599 Merge remote-tracking branch 'origin/master' into misolori/icon-font 2019-10-16 14:13:44 -07:00
Miguel Solorio 42d4a3b5c8 Replace 'Octicon' refs with 'Codicon' 2019-10-16 11:38:15 -07:00
Matt Bierner cd955c2770 Pick up latest js/ts grammar
For #82224
2019-10-16 10:43:27 -07:00
Matt Bierner f462eab969 Adding builtin priority for custom editors 2019-10-15 16:45:15 -07:00
Michael Loughry 89e4d3eddc Add setting to configure the max memory for tsserver (#82630)
* Add setting to configure the max memory for tsserver

* Fix silly tpo from fixing formatting

* Add "MB" to setting description string

* Add validation to configuration value

* Add 128MB as a lower bound
2019-10-15 13:45:11 -07:00
ganxy1028 5c705ea7ee Fix #82199, resetting some color of code blocks at Markdown Preview with light theme (#82453)
* Fix #82199 

This PR resets color theme of number, title and built_in at Preview with light theme.

* Bad whitespace indentation Fixe

* owner comment Removed
2019-10-15 13:12:11 -07:00
Joao Moreno d5664e35ed cleanup commit template, merge
related to #66522
2019-10-15 17:43:33 +02:00
Joao Moreno 4a80681a01 Merge commit 'refs/pull/66522/head' of github.com:microsoft/vscode into pr/66522 2019-10-15 17:16:42 +02:00
Joao Moreno d9e93a7067 Merge branch 'joao/fix-82264' 2019-10-15 13:03:24 +02:00
Joao Moreno b8bc8accf5 fixes #82564 2019-10-15 11:20:07 +02:00
Benjamin Pasero 49129e9911
Allow to run web client out of sources (#82569)
* web - first cut allow to run from oss

* add launch config
2019-10-15 10:50:25 +02:00
Rob Lourens 3e1276cb51
Merge pull request #82377 from microsoft/fix/php-custom-tags
php - fix custom tags appearing invalid
2019-10-14 16:00:04 -07:00
Matt Bierner ecdba243ff Treat non-spacing marks as part of word in md files
Fixes #82386
2019-10-14 15:59:41 -07:00
MartinBrathen 9048856bf3 Fixed: Image preview should not zoom on first click if unfocused (#82074)
* Fixed a bug where first click on an unfocused image preview would zoom

* added two spaces

* removed unnecessary state variable

* User now has ability to enter zoom-out mode on first click

* removed some code that was not needed

* removed useless if statement
2019-10-14 14:55:16 -07:00
Jakob Fahr 9f2ca57b05 Fix #82199, numbers hard to read in light theme markdown preview (#82450) 2019-10-14 11:47:53 -07:00
Miguel Solorio 12625aaffd
Merge branch 'master' into misolori/monokai-theme 2019-10-14 10:48:09 -07:00
Erich Gamma 7485ffde50 Some polish for 'Run NPM Script in Folder' 2019-10-14 16:13:06 +02:00
Matt Bierner 5a24d13624 Update highlight js and md versions 2019-10-14 14:39:44 +02:00
helen3141 34648a0cc6
Merge branch 'master' into runNpmFromContextMenu 2019-10-11 15:38:33 -07:00
helen3141 a7ff5b1ac8 Pull Request feedback: do not show command in command palette 2019-10-11 15:31:01 -07:00
helen3141 cecda63be5 Pull Request feedback: updated documentation and naming, read from cache if available instead of creating new tasks 2019-10-11 15:18:31 -07:00
Connor Peet 78fd1e5ec2
php - fix break statement not reducing indent level
Fixes https://github.com/microsoft/vscode/issues/57964
2019-10-11 13:36:36 -07:00
Miguel Solorio 85fe047664 Tweak Monokai colors for diff views 2019-10-11 13:28:54 -07:00
Connor Peet b6b011b294
php - increment indentation for inline php tags
Fixes https://github.com/microsoft/vscode/issues/44137
2019-10-11 11:56:32 -07:00