Commit graph

9970 commits

Author SHA1 Message Date
Johannes Rieken 165e49bfe8 use rename info instead of highlight info 2020-11-12 21:07:59 +01:00
Johannes Rieken ce7bd67d46 explore on-type-rename for TypeScript 2020-11-12 20:47:50 +01:00
Miguel Solorio 753a1c095a Adjust debug toolbar shadow (fixes #110422) 2020-11-12 09:26:51 -08:00
Alex Ross 7b5849b123 Fix build 2020-11-12 16:36:02 +01:00
Alex Dima 52e9e02e0a
Fixes #110141: Do not push undo stack elements for a no-op EOL change 2020-11-12 12:18:27 +01:00
João Moreno 549da12a6d
fixes #104061 2020-11-12 11:34:09 +01:00
unknown cc9616baf8 use 'enablement' instead of 'preconditions' 2020-11-12 08:46:41 +00:00
Matt Bierner 17c29f0b99 Add support for web TS Server logging over postMessage
For https://github.com/microsoft/TypeScript/pull/39656
2020-11-11 17:39:17 -08:00
Matt Bierner afcfc97316 Fix method spelling 2020-11-11 17:39:17 -08:00
Matt Bierner 7c6994d1b5 Use toOpenedFilePath to ensure we don't ask TS server for projectInfo if a file is not open 2020-11-11 17:39:17 -08:00
Matt Bierner fb93010aa2 Make sure we use the same path normalizer in a few additional places in buffer sync 2020-11-11 17:39:17 -08:00
Matt Bierner 805aa7e8f4 Make ResourceMap treat the same file with different scheme as different
Fixes #110435
2020-11-11 17:39:17 -08:00
meganrogge b2eca1fd4d Fix InMemoryDocument to support both OS line endings
Co-authored-by: mjbvz <matb@microsoft.com>
Co-authored-by: meganrogge <megan.rogge@microsoft.com>
2020-11-11 14:05:20 -08:00
Martin Aeschlimann 65c3fb0a08 [css] add ':' as trigger character. Fixes microsoft/vscode-css-languageservice#108 2020-11-11 21:46:02 +01:00
Connor Peet 49d1396aeb
update pattern and add to grammar 2020-11-11 10:11:04 -08:00
Connor Peet 900bcb7632
Merge remote-tracking branch 'origin/master' into connor4312/fix-search-freeze-on-long-lines 2020-11-11 10:01:06 -08:00
João Moreno 5bf6d0cabc
fixes #65188 2020-11-11 16:12:01 +01:00
Connor Peet f5898a0e59
surround match in zero-width spaces to avoid clobbering 2020-11-10 22:47:32 -08:00
Rob Lourens 35f9bac07d Disable markdown smart select tests #110365 2020-11-10 20:02:24 -08:00
Connor Peet 2b9e62fcf0
Merge remote-tracking branch 'origin/master' into connor4312/fix-search-freeze-on-long-lines 2020-11-10 16:11:50 -08:00
Connor Peet 00f32f9a26
make search editor ranges work for hidden text 2020-11-10 16:04:00 -08:00
Connor Peet 046654ae65
make search editor ranges work for hidden text 2020-11-10 15:57:03 -08:00
Erik Krogh Kristensen 7a4e81a674
fix catastrophic backtracking when parsing markdown files (#109964) 2020-11-10 14:56:06 -08:00
Megan Rogge 63d15a97c7
Support character markup in mardown smart select (#110195)
* create tests and add selection functions for inline ranges
2020-11-10 11:38:27 -08:00
Raymond Zhao 7065675056 Fix #109177 2020-11-10 17:10:46 +00:00
João Moreno 3d61a39074
fixes #103031 2020-11-10 16:52:35 +01:00
João Moreno e8b69537cd
fixes #40295 2020-11-10 13:54:53 +01:00
João Moreno 62877b66d8
Merge branch 'master' into pr/107958 2020-11-10 11:59:25 +01:00
João Moreno 13f9f73353
💄 2020-11-10 11:41:40 +01:00
João Moreno 1d18ebe47e
Merge branch 'master' into pr/107074 2020-11-10 11:33:25 +01:00
João Moreno 6a2da6d725
💄 2020-11-10 11:28:44 +01:00
João Moreno 7200f73de2
Merge branch 'master' into pr/106368 2020-11-10 11:25:50 +01:00
João Moreno 2c1272b794
fixes #104945 2020-11-10 11:22:18 +01:00
Suman B K 4247b296eb
Including ` as part of foldEndPairCharacters (#110108)
* Including '`' as part of foldEndPairCharacters

* Removed test code, which was unrelated
2020-11-09 18:02:38 -08:00
Matt Bierner d04956f6a7
Switches the 'Fix all' quick fix provider to use resolveCodeAction (#107853)
Made while testing #106410
2020-11-09 18:00:46 -08:00
Raymond Zhao c9bebe2cc9 Fix #98041 2020-11-10 00:09:42 +00:00
rebornix 0efbfd9190 fix #108765. 2020-11-09 15:38:11 -08:00
David Sanders fcef0e3db4
Use Array.flat() (#110189) 2020-11-09 12:46:26 -08:00
Raymond Zhao b5f6a521e0 Fix vscode-emmet-helper issue #1 2020-11-09 20:03:38 +00:00
rebornix e5530fc4f0 fix #105920. 2020-11-09 11:40:07 -08:00
Miguel Solorio a45abdbd1b Update seti 2020-11-09 11:15:03 -08:00
João Moreno 91aa548b05 Merge branch 'master' into pr/104614 2020-11-09 16:34:21 +01:00
João Moreno 98e0e93ae0 💄 2020-11-09 16:19:13 +01:00
João Moreno c96f362934 Merge branch 'master' into pr/99324 2020-11-09 16:17:36 +01:00
João Moreno 309cabdf51 💄 2020-11-09 16:08:03 +01:00
João Moreno 978d39324a Merge branch 'master' into pr/104312 2020-11-09 16:03:36 +01:00
Scott Davis 7e5609afa9
feat: implement Git: Push Tags command (#110096)
Related to #109799
2020-11-09 16:00:44 +01:00
João Moreno ec084a25bd 💄 2020-11-09 15:19:15 +01:00
João Moreno df4524f713 Merge branch 'master' into pr/97525 2020-11-09 15:08:04 +01:00
João Moreno 86d848d8e7 💄 2020-11-09 14:45:36 +01:00
João Moreno 592fa5cdaf Merge branch 'master' into pr/97486 2020-11-09 14:29:59 +01:00
João Moreno fd306e8cb4 Merge branch 'pr/97322' 2020-11-09 14:23:40 +01:00
João Moreno dd97a9d335 💄 2020-11-09 14:23:24 +01:00
Martin Aeschlimann 8cfcd9a3fe
Merge pull request #110178 from vfcp/master
Correct themeLabel in package.nls.json for "Tomorrow Night Blue" theme
2020-11-09 13:39:56 +01:00
João Moreno 147f623629 Merge branch 'master' into pr/97322 2020-11-09 11:39:49 +01:00
João Moreno 7efc22cc85 git.publish: do not await notification resolution
related to #109977
2020-11-09 11:37:10 +01:00
Valter Pires 9ad6e7edf9 Correct themeLabel in package.nls.json for "Tomorrow Night Blue" theme
Fix themeLabel value in package.nls.json for "Tomorrow Night Blue" theme

Incorrect value "Quiet Light" commited in 183b2a2892
2020-11-08 15:30:16 +04:00
dfireBird 024df33553 feat: add setting for default stash message 2020-11-07 08:56:48 +05:30
dfireBird 109d9984c1 fix: commit template appears as default stash message 2020-11-07 08:40:59 +05:30
dfireBird 19c0c60064 feat: detect default stash message
use commit message as default stash message if commit message box is populated
2020-11-07 08:39:26 +05:30
Rachel Macfarlane 03c38e6702 Add more logging to github auth provider 2020-11-06 15:10:09 -08:00
meganrogge 6e2aa0bfb7 clean up code and remove unused methods 2020-11-06 12:42:17 -08:00
David Sanders 153ba443d5
Use string.matchAll (#110074) 2020-11-06 11:49:56 -08:00
meganrogge fc07b2f170 add comments to clarify code 2020-11-06 11:38:21 -08:00
Jackson Kearl 339681f631 Use excludive selectors for search editor contributions to fix #91453.
cc @jrieken
2020-11-06 11:23:45 -08:00
João Moreno ce4fb6e323
fixes #96264 2020-11-06 14:45:26 +01:00
Alex Ross f53678cb4b Update branch for sql grammar
Fixes https://github.com/microsoft/vscode/issues/109251
2020-11-06 14:04:50 +01:00
João Moreno 63ce8b4732
fixes #92146 2020-11-06 12:00:13 +01:00
Alex Ross 256066f94c Fix preffered pm when pm can't be determined 2020-11-06 11:30:29 +01:00
Matt Bierner 24b28f57be Always use vscode.open to open markdown links
Fixes #108998

This ensures we use the custom editor if it is the default
2020-11-05 17:00:16 -08:00
Rachel Macfarlane 4059ff428f Allow cancelling GitHub sign in, fixes #109101 2020-11-05 16:39:25 -08:00
Matt Bierner e026e9a77e Update JS/TS grammars 2020-11-05 15:08:41 -08:00
Matt Bierner 451c2b61d3 Specify type of CodeLensProvider instead of using casts 2020-11-05 12:19:55 -08:00
Matt Bierner 9f4737fa3f Exclude definitions from js/ts references code lens
Fixes #98274
2020-11-05 12:17:18 -08:00
Dhruva Srinivas 05049f7fbb
Add Definition list to Markdown Snippets (#110026) 2020-11-05 11:21:35 -08:00
João Moreno 736a46fc8b
Merge remote-tracking branch 'origin/master' 2020-11-05 16:47:22 +01:00
João Moreno 49990bebe4
add git CommandErrorOutputTextDocumentContentProvider 2020-11-05 16:46:42 +01:00
Christof Marti 2eb805ad75 Mention Inherit Env setting (fixes microsoft/vscode-remote-release#3030) 2020-11-05 16:37:01 +01:00
João Moreno ec471da613
Merge branch 'master' into pr/95354 2020-11-05 16:22:48 +01:00
João Moreno cd6466909b
fixes #92034 2020-11-05 16:03:12 +01:00
João Moreno e3ace1fe1f
Merge branch 'master' into pr/94369 2020-11-05 15:56:26 +01:00
João Moreno 7b6561ff5b
Merge remote-tracking branch 'origin/master' 2020-11-05 15:33:22 +01:00
João Moreno 08d271585d
💄 2020-11-05 15:33:07 +01:00
João Moreno eb1cea5432
Merge branch 'master' into pr/94358 2020-11-05 15:28:07 +01:00
Dor Mesica 544c986e0a
Added a warning before dropping a stash. (#94267)
* Added a message before dropping a stash.

* Update extensions/git/src/commands.ts

Co-authored-by: João Moreno <mail@joaomoreno.com>
2020-11-05 15:20:37 +01:00
João Moreno 5afaec5c21
Merge remote-tracking branch 'origin/master' 2020-11-05 15:18:06 +01:00
João Moreno 7328c3ccb0
Merge branch 'master' into pr/91838 2020-11-05 15:13:59 +01:00
Jean Pierre 818d57db15
Better diff for deleted file in merge conflict. Fixes #88973 (#91245)
Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2020-11-05 15:11:00 +01:00
Alex Ross d6af4893ed Update grammars 2020-11-05 14:53:33 +01:00
Alex Ross 520a050cd3 Add quotes to autoClosingPairs for make
Fixes #89191
2020-11-05 12:13:53 +01:00
João Moreno 578d7381da
fix #7989 2020-11-05 11:43:42 +01:00
Benjamin Pasero ac2ca0b539 typescript - fix nls issue
//cc @mjbvz
2020-11-05 10:49:22 +01:00
Matt Bierner 4a54027a82 Disable rename after refactoring in interactive playground
Fixes #75137
2020-11-04 18:06:39 -08:00
Rachel Macfarlane 373ea1b969 Fix build 2020-11-04 16:34:33 -08:00
Rachel Macfarlane 6eeaab8e5d Handle cancelled sign in when publishing to GitHub, fixes #96502 2020-11-04 16:22:52 -08:00
Connor Peet f4e49a5f3a
php: revert break deindent behavior
Fixes https://github.com/microsoft/vscode/issues/104836
2020-11-04 15:40:46 -08:00
Matt Bierner 81a25a894c Rename implicit project settings and deprecate old ones
For #109990
2020-11-04 14:55:28 -08:00
Matt Bierner ff7cc33236 Use objects.equals for comparing configuration objects 2020-11-04 14:33:24 -08:00
Matt Bierner 05fee0cf3d Extract implictProjectConfiguration class 2020-11-04 14:33:24 -08:00
Matt Bierner 64705a07dc Add two new setting for strict null and strict funtion in js/ts that are implicit projects
For #109988

The new `js/ts.implicitProjectConfig.strictNullChecks` and `js/ts.implicitProjectConfig.strictFunctionTypes` control these settings in implict javascript and typescript files that are not contained in a jsconfig or tsconfig project. They are enabled by default for now so that we can collect feedback on them
2020-11-04 14:33:24 -08:00
Matt Bierner c38a12c26c Quote jsconfig and tsconfig in setting 2020-11-04 14:33:24 -08:00
Matt Bierner 8141dcf29a Extract adjustFoldingEnd 2020-11-04 13:19:38 -08:00
Matt Bierner 97db458fa4 Show closing ) while folding JS/TS
Fixes #109854
2020-11-04 13:19:38 -08:00
Matt Bierner 0608e3f5bd Pick up TS 4.1-rc for insiders 2020-11-04 13:19:38 -08:00
meganrogge 08e556dc5d fix #109486 and #109489 2020-11-04 10:16:06 -08:00
Alex Ross f5f4af6db3 Update C++ grammar 2020-11-04 16:57:02 +01:00
Benjamin Pasero ea84245395 Lint Sprüngli 2020-11-04 16:04:59 +01:00
Martin Aeschlimann e3a79e9e44 [css/html/json] Randomize inspect ports to avoid conflicts 2020-11-04 16:03:27 +01:00
João Moreno e5285908ca
💄 2020-11-04 15:42:40 +01:00
João Moreno 90aa30e660
Merge branch 'master' into pr/89249 2020-11-04 15:38:53 +01:00
João Moreno 4f038dba60
💄 2020-11-04 15:25:52 +01:00
João Moreno e61be087c6
Merge branch 'master' into pr/88772 2020-11-04 15:06:31 +01:00
Martin Aeschlimann 1c2005331c [json] use links for $ref, not goto definition (fixes #101474) 2020-11-03 22:30:39 +01:00
Connor Peet ab9bb823ea
debug: allow serverReadyAction to run a launch config by name
https://github.com/microsoft/vscode/issues/109931
2020-11-03 10:00:54 -08:00
Martin Aeschlimann e01e0ebe39 [theme] Git:Input Validation Subject Length - not working on Monokai Theme.Fixes #101081 2020-11-03 16:30:29 +01:00
João Moreno 7936093c33
git: merge resources should return undefined original resource
related to #109022
2020-11-03 14:33:18 +01:00
João Moreno 1703e7e71e
fix bad JSON 2020-11-03 11:06:53 +01:00
Martin Aeschlimann 183b2a2892 [themes] theme names are all not localized. Fixes #109840 2020-11-03 09:46:34 +01:00
Matt Bierner 90b17ed115 Make it easier to override markdown table stylings
Fixes #105796

This makes the markdown preview's default css for tables less specific. This should make it easier to user or extensions to override it
2020-11-02 13:53:26 -08:00
Alex Ross a5d719c570
Try new Rust grammar (#108254)
Part of #64488
2020-11-02 15:52:57 +01:00
Alex Ross bea76730f1 feat: Autodetect npm.packageManager #102050 (#102494)
Detects the preferred  package manager
and if multiple are present, warns and uses
in priority order: npm => yarn => pnpm
Fixes #102050
Co-authored-by: Alex Ross <alros@microsoft.com>
2020-11-02 14:48:11 +01:00
Johannes Rieken 0729278ad1 use label2 when CompletionEntry#source is a path inside the workspace 2020-11-02 13:22:12 +01:00
Alex Ross 04863391e9
Fix scope checking mismatch (#109665) 2020-10-29 17:05:21 -07:00
Alex Dima 7b40975fd7
Allow a resolver to provide the remote connection token 2020-10-29 21:28:04 +01:00
Raymond Zhao e94a1bd7ef Bump vscode-emmet-helper to 2.0.8 2020-10-28 17:14:33 +00:00
João Moreno d2f51a9839
fixes #108444 2020-10-28 14:21:56 +01:00
Fons van der Plas b6a02bb4e2
message "Would you like to stage all chages?" (#109272)
The old message,
```
Would you like to automatically stage all your changes and commit them directly?
```
sounds like clicking _Yes_ will do this _automatically_ from now on, which is not the case. I removed _automatically_.
2020-10-28 11:05:07 +01:00
Alex Ross 8d0ca78841 Revert "feat: Autodetect npm.packageManager #102050 (#102494)"
This reverts commit f8c0e3b612.
2020-10-27 10:07:45 +01:00
Jackson Kearl e3db76ab7f Update import 2020-10-26 19:04:26 -07:00
Jackson Kearl 74654f3c35
Use find-yarn-workspace-root over find-yarn-workspace-root2 (#109429) 2020-10-26 18:38:27 -07:00
Rachel Macfarlane 928e79f838 Verify GitHub tokens on auth provider start, fixes #108680 2020-10-26 16:01:58 -07:00
Megan Rogge 5d4df8273e
markdown smart select (#108818)
smart select
2020-10-26 15:33:48 -07:00
Martin Aeschlimann 2f22788b6c
pack emmet including the vscode-emmet-helper (#109257) 2020-10-26 10:37:18 -07:00
Martin Aeschlimann 29f2a4aa58 [html] update service 2020-10-26 18:02:24 +01:00
João Moreno f50ee04ed9 fix git submenus order
fixes #109286
2020-10-26 15:06:53 +01:00
Takanori Oishi 86e1d0744f
Git: Add tags to '...' menu (#109282)
* Git: Add tags to '...' menu
Closes #109281

* Git: Add tags to '...' menu
Closes #109281
2020-10-26 14:44:28 +01:00
Eric Amodio 16f4a29aa0 Changes URI -> Uri 2020-10-25 22:50:25 -04:00
Matt Bierner 8a5ffbb044
Mark DocumentSelector as readonly (#109212)
This change:

- Make  `DocumentSelector` use a readonly array
- Updates all properties of `DocumentFilter` to be readonly

`DocumentSelector` is used as a parameter in our provider APIs and does not need to be mutable. This change lets extensions pass in readonly values for the selector
2020-10-23 18:37:39 -07:00
Rachel Macfarlane 102e0e6d84 Handle incomplete login requests gracefully, fixes #109102 2020-10-23 09:45:50 -07:00
João Moreno c781e1f4ff
💄 2020-10-23 14:45:41 +02:00
João Moreno 42e920a18a
Merge branch 'master' into pr/108913 2020-10-23 14:32:22 +02:00
Matt Bierner dc9c7fae94 Remove readonly
This change was mistakenly checked in
2020-10-22 23:51:27 -07:00
Matt Bierner aabcbd5ef8 Also enable errors and warnings in interactive playground
For #83025
2020-10-22 22:42:55 -07:00
Matt Bierner 40fc0b1789 Enable semantic features in interactive playground
Fixes #109190
2020-10-22 22:36:08 -07:00
Matt Bierner 16075cc22a Add insertSpaceAfterOpeningAndBeforeClosingEmptyBrackets formatting setting
Fixes #109190
2020-10-22 22:36:08 -07:00
tomerstav 039f26db56 Highlight branchs upstream if defined by placing item first in picker 2020-10-23 04:36:17 +00:00
tomerstav 7b936983f6 Renamed rebaseOnto to rebase 2020-10-23 03:35:27 +00:00
João Moreno 0f1904834b
💄 2020-10-22 21:12:13 +02:00
João Moreno 990c0284db
Merge branch 'master' into pr/109133 2020-10-22 21:03:56 +02:00
Alex Dima 3725ff44d5
Fixes #109131: Do not fail if an undo stop is inserted in between the two consecutive edits 2020-10-22 09:59:35 +02:00