Commit graph

9633 commits

Author SHA1 Message Date
Martin Aeschlimann b03e0cb72f revert line deletion in json CONTRIBUTING 2020-09-17 13:06:17 +02:00
ChaseKnowlden 8c91bd8278 Fix Unnecessary change 2020-09-17 11:43:03 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Alex Ross 66c63c5d70 Update npm tasks when npm refresh is run
Fixes #106780
2020-09-17 11:30:24 +02:00
Matt Bierner d19c4ec92c Fix TS 4.1 error 2020-09-16 19:58:09 -07:00
Connor Peet 923189c75a
Merge branch 'connor4312/auto-attach-js-debug' 2020-09-16 15:41:22 -07:00
Rachel Macfarlane 2e10ab2a95 Possibly improve logging on token refresh fail 2020-09-16 15:39:43 -07:00
Connor Peet 480b18a8d3
debug: apply polish to auto attach switcher 2020-09-16 15:36:14 -07:00
Matt Bierner 4799714403 Remove extra awaits
These functions return void so we don't need to await them
2020-09-16 15:11:21 -07:00
Matt Bierner 50cc1d0e97 Update to use TS 4.1 for building VS Code 2020-09-16 11:58:01 -07:00
Matt Bierner d1b49cd8b9 Adding more explicit typings for TS 4.1 new Promise logic 2020-09-16 11:58:01 -07:00
Matt Bierner 240afbde58 Use array.equals 2020-09-16 11:58:01 -07:00
Martin Aeschlimann 78bad9989e
Merge pull request #106813 from joshbolduc/jenkinsfile-groovy
Detect Jenkinsfile as groovy
2020-09-16 06:42:29 -07:00
Alex Ross 032e9a33ba Update go grammar and fix update script
Fixes #106798
2020-09-16 15:24:28 +02:00
Nicholas Rayburn 1562816430
Replace 'master' with branch head when publishing to github (#105878) 2020-09-16 11:02:03 +02:00
Martin Aeschlimann 795b0dba8d [css/json/html] update service (use vscode-nls@5.0) 2020-09-16 10:32:40 +02:00
MoQ93 17cdb69891
Allow empty tag message in git (#106751) 2020-09-16 10:22:19 +02:00
joshbolduc 19ba387b58
Detect Jenkinsfile as groovy
Fixes #106812
2020-09-15 21:31:36 -04:00
Johannes Rieken f096f59404 refine test for https://github.com/microsoft/vscode/issues/106657 and document issue with fragments and the editor opener 2020-09-14 16:58:37 +02:00
Johannes Rieken a6ae00a384 add regression test for https://github.com/microsoft/vscode/issues/106657 2020-09-14 16:42:56 +02:00
Johannes Rieken b9291026a6 adopt notebook integration tests, https://github.com/microsoft/vscode/issues/105283 2020-09-14 10:23:53 +02:00
Connor Peet cda3fbe7f8
debug: use only js-debug auto attach, collapse settings
This PR removes the hook in node-debug's auto attach, and uses only
js-debug auto attach. As referenced in the linked issues, this involves
removing `debug.javascript.usePreviewAutoAttach` and collapsing
`debug.node.autoAttach` into `debug.javascript.autoAttachFilter`. The
latter option gains a new state: `disabled`. Since there's no runtime
cost to having auto attach around, there is now no distinct off versus
disabled state.

The status bar item and the `Debug: Toggle Auto Attach` command now
open a quickpick, which looks like this:

![](https://memes.peet.io/img/20-09-9d2b6c0a-8b3f-4481-b2df-0753c54ee02b.png)

The current setting value is selected in the quickpick. If there is a
workspace setting for auto attach, the quickpick toggle the setting
there by default. Otherwise (as in the image) it will target the user
settings. The targeting is more explicit and defaults to the user
instead of the workspace, which should help reduce confusion (#97087).
Selecting the "scope change" item will reopen the quickpick in that
location.

Aside from the extra options for the `disabled` state in js-debug's
contributions, there's no changes required to it or its interaction
with debug-auto-launch.

Side note: I really wanted a separator between the states and the
scope change item, but this is not possible from an extension #74967.

Fixes https://github.com/microsoft/vscode/issues/105883
Fixes https://github.com/microsoft/vscode-js-debug/issues/732 (the rest of it)
Fixes https://github.com/microsoft/vscode/issues/105963
Fixes https://github.com/microsoft/vscode/issues/97087
2020-09-11 16:33:06 -07:00
Oleg Demchenko 352a390251
Add preferred_username to the list of msft token claims (#106511) 2020-09-11 12:38:03 -07:00
Martin Aeschlimann 2309414153
Merge branch 'master' into dependabot/npm_and_yarn/extensions/css-language-features/server/yargs-parser-13.1.2 2020-09-11 01:16:24 -07:00
rebornix b37c4b08e9 re #105735. batch apply edits. 2020-09-10 14:02:16 -07:00
Matt Bierner eba1cc8de3 Remove arrays.findIndex
For #103454

This should be a direct map to the `.findIndex` mathod
2020-09-10 10:22:08 -07:00
dependabot[bot] 9d87cd68ea
Bump yargs-parser in /extensions/css-language-features/server
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-10 16:34:59 +00:00
dependabot[bot] a9a7cf18f3
Bump yargs-parser in /extensions/markdown-language-features (#106373)
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:34:00 -07:00
Johannes Rieken 7fdda46e16 some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283 2020-09-10 18:21:24 +02:00
WhizSid c334da1952
Multi git executable paths (#85954)
* Multi git executable path

* update `git.path` setting description

* 💄

Co-authored-by: João Moreno <joao.moreno@microsoft.com>
2020-09-10 15:02:37 +02:00
Vyacheslav Pukhanov 663810e275
Adds commands for --no-verify commit variants (#106335)
* add `{allow,confirm}NoVerifyCommit`  options

* adds commit comands with no verify

* handles no verify command variants

* handle no verify commit option

* only display no verify variants when option is set
2020-09-10 11:14:28 +02:00
Benjamin Pasero 82d953a731 pinned tabs - add a tab.lastPinnedBorder color 2020-09-10 10:51:31 +02:00
rebornix 03960a5aa1 re #105735. no more udpateMetadata api. 2020-09-09 16:45:00 -07:00
rebornix 73a3c9ded3 re #105735. 2020-09-09 16:45:00 -07:00
Daniel Imms 6821292b4b Fix ts 4.1 issues in terminal api tests 2020-09-09 12:43:25 -07:00
rebornix deaf9f2689 💂 polish nb tests. 2020-09-09 12:04:20 -07:00
Matt Bierner 2a954244f0 Only allow configurePlugin against main TS Server
Fixes #106346

Looks like the TS Server doesn't support this in partial mode at the moment
2020-09-09 09:21:56 -07:00
João Moreno f41efe546c
Merge branch 'master' into pr/85074 2020-09-09 16:35:26 +02:00
João Moreno d9d314e8c6
Update extensions/git/src/commands.ts 2020-09-09 16:30:24 +02:00
João Moreno bec65e80de
Update extensions/git/src/commands.ts 2020-09-09 16:30:18 +02:00
João Moreno 9ff783bdd6
Update extensions/git/src/commands.ts 2020-09-09 16:29:53 +02:00
Vyacheslav Pukhanov 7792c61393
Update gitignore decorations when .git/info/exclude file is edited (#106270)
* detect local `exclude` file edits

* use `uri.path` to detect exclude file edits

`uri.path` uses forward slash as a path separator indepentent of
the host system, which makes it easier to use with regex
2020-09-09 09:37:56 +02:00
Jean Pierre a6833ed841
proper fix for #105202 (#106293) 2020-09-08 14:46:43 -07:00
Matt Bierner e969bc18a1 Disable errors in non-semantic supported files
Fixes #106299
Fixes #106314

Also enables js/ts features on the right side of PRs and in search results
2020-09-08 14:39:58 -07:00
Connor Peet 76e45c2b69
debug: make serverReadyAction play nicely with js-debug
Fixes https://github.com/microsoft/vscode/issues/86035
Fixes https://github.com/microsoft/vscode-js-debug/issues/440
2020-09-08 11:54:31 -07:00
Christof Marti fc4163ea01 Add loginShell (microsoft/vscode-remote-release#3593) 2020-09-08 16:32:04 +02:00
Martin Aeschlimann 849acd83eb Treat SConstruct/SConscript files as python automatically. Fixes #105623 2020-09-08 14:33:06 +02:00
Martin Aeschlimann c255e914cd [bat] change comment token to @rem. Fixes #105896 2020-09-08 14:31:00 +02:00
NicolasVuillamy 1dab4e6979 Add .nf file extension for groovy files 2020-09-08 14:11:03 +02:00
João Moreno 82aa8fc425
better git and github docs 2020-09-08 09:55:07 +02:00
Alex Ross 5cd1eff604 Update grammars 2020-09-07 16:47:30 +02:00
João Moreno d93e07f5d4
Merge pull request #104339 from amazingcaio/master
associate *.c++ & *.h++ files with c++
2020-09-07 15:05:20 +02:00
Martin Aeschlimann f0dea5ec85 improvements 2020-09-07 10:09:15 +02:00
Rafał Chłodnicki 896dc31762 [json-language-features] Fix json/schemaAssociations parameters documentation
The `json/schemaAssociations` documentation is not accurate in stating
that the only supported parameter is an object in `{ pattern: uri }`
format. It also supports the structure defined by `SchemaConfiguration`
interface from "vscode-json-languageservice".

Also updated the server code to match that.

Resolves #106060
2020-09-03 19:57:02 +02:00
Sandeep Somavarapu 23c359da9c Fix #105414 2020-09-03 17:26:59 +02:00
João Moreno f06943f3cd
fixes #105708 2020-09-03 11:27:42 +02:00
Nicolas Vuillamy 602baedf1c
Add .nf extension to Groovy file extensions
Closes #106017 : https://github.com/microsoft/vscode/issues/106017
2020-09-03 10:25:57 +02:00
Martin Aeschlimann 8aa9dbc29b Rename on Type: linked edit mode is terminated when the tag becomes empty. Fixes #105860 2020-09-02 23:20:10 +02:00
Rachel Macfarlane 8eb9cdaba9 Fix #105955, make sure auth provider registration completes when getSession is called 2020-09-02 11:51:59 -07:00
Matt Bierner 3dc43cb7b3 Exclude pr schemed files from js/ts language features
Fixes #105842
2020-09-02 10:36:24 -07:00
João Moreno ab8a3f3c44
fixes #105129 2020-09-02 14:42:16 +02:00
Rachel Macfarlane c7c6c5cde1 Fix #105503 2020-09-01 17:31:05 -07:00
Matt Bierner b8e4718a12 Disable js/ts features for the private scheme
This scheme is used internally by VS Code for features such as search/replace preview
2020-09-01 15:07:05 -07:00
Matt Bierner e6b0f45556 Use containerName if it exists 2020-09-01 14:10:15 -07:00
Matt Bierner 5e9a412cd9 Remove experimental typings
These typings are now in TS 4.0
2020-09-01 14:02:58 -07:00
Connor Peet fef3e22ca7
fix: refresh env vars when auto attach settings change
Fixes https://github.com/microsoft/vscode-js-debug/issues/731
2020-09-01 08:54:50 -07:00
Pranav Senthilnathan fb80351278
prune the refactor not applicable reasons if there are too many (#103203)
* prune the refactor not applicable reasons if there are too many

* Add in appendInvalidActions for older TS versions

Co-authored-by: Matt Bierner <matb@microsoft.com>
2020-08-31 15:37:02 -07:00
Jean Pierre 8b1aca7255
Fixes #105202 (#105664) 2020-08-31 14:54:51 -07:00
Martin Aeschlimann 1cf826c7f6
Merge branch 'master' into master 2020-08-31 13:32:36 -07:00
Martin Aeschlimann bdcf7e10cd update seti theme 2020-08-31 22:25:47 +02:00
Martin Aeschlimann 9b6d13d298 update services 2020-08-31 22:18:06 +02:00
rebornix d3cfbddde1 fix tests. 2020-08-31 12:16:35 -07:00
Martin Aeschlimann 747d667946 add file associations for ".c++" and ".h++" file extensions. Fixes #104320 2020-08-31 20:09:27 +02:00
João Moreno b6071d2204
Merge pull request #105228 from marvinruder/master
Changed description of “Commit Signing” configuration label to include X.509.
2020-08-31 16:52:42 +02:00
Christof Marti d08e158b8d Investigate #104554 2020-08-31 16:30:58 +02:00
João Moreno 6aafc4b7aa
fixes #104762 2020-08-31 15:21:15 +02:00
Johannes Rieken f1e7a02f8a
Merge pull request #105585 from microsoft/joh/useExtUri
Use extensionUri and joinPath instead of asAbsolutePath
2020-08-31 09:51:28 +02:00
Johannes Rieken 807eb37826 make sure replaceOutput updates the extension host side, update tests https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
Johannes Rieken a3f414cf5a add some integration tests for notebook editing, https://github.com/microsoft/vscode/issues/105283 2020-08-28 17:59:10 +02:00
Sandeep Somavarapu a8603d43ac Fix #102823 2020-08-28 16:40:55 +02:00
Johannes Rieken 5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Rachel Macfarlane 650197b991 Add authentication contribution point, #103507 2020-08-27 11:51:18 -07:00
rebornix 883749806b support revert notebook cell metadata in diff view. 2020-08-27 11:26:01 -07:00
Alex Ross 0de8d51904 Finalize task detail API
Fixes #69785
2020-08-27 11:08:48 +02:00
Rachel Macfarlane a6103e8faa Fix Buffer reference in browser for ms auth 2020-08-26 15:20:45 -07:00
Rachel Macfarlane 8871a28963 Make github-authentication a UI extension again 2020-08-26 09:01:42 -07:00
Ladislau Szomoru bbb9784d8b PoliCheck 💄 2020-08-26 14:42:39 +02:00
Martin Aeschlimann 31a985b92f
Merge pull request #105326 from jonatan-ivanov/jenkinsfile-extension-support
Support for .jenkinsfile extension and Jenkinsfile.* filename pattern
2020-08-26 08:53:59 +02:00
Connor Peet 8817251691
debug: provide positive ack to js-debug bootloader on auto attach 2020-08-25 09:44:18 -07:00
Sandeep Somavarapu 81204145b5 Fix #104610 2020-08-25 16:36:44 +02:00
Martin Aeschlimann 8981e5e24c
Merge pull request #105304 from ZainChen/zain/markdown-themes
Update markdown themes
2020-08-25 14:32:17 +02:00
Jonatan Ivanov 96324f4c07 Merge branch 'master' into jenkinsfile-extension-support 2020-08-24 21:45:40 -07:00
Jonatan Ivanov 1efd647d37 Adding support for .jenkinsfile extension and Jenkinsfile.* filename pattern
So that it will be consistent with the support of Dockerfile.

The file is using tabs AND spaces for indentation, this commit follows the formatting rules defined in .editorconfig (2 spaces).
2020-08-24 21:36:11 -07:00
Matt Bierner 8ba70d8bdc Revert "Make github-authentication a UI extension again"
This reverts commit cd55420e7e.

This change seems to have caused issues activating extensions
2020-08-24 20:19:58 -07:00
Rachel Macfarlane cd55420e7e Make github-authentication a UI extension again 2020-08-24 18:44:14 -07:00
ZainChen 494064e6d0 update markdown themes 2020-08-25 02:18:43 +08:00
Rachel Macfarlane 3f392ec5a3 Revert github-authentication extensionKind 2020-08-24 10:45:39 -07:00
Martin Aeschlimann 88664e267a npm: avoid invalid lookups 2020-08-24 16:58:36 +02:00
Benjamin Pasero 1689304b52 Allow to configure workbench.editor.restoreViewState per language (fix #101110) 2020-08-24 07:58:05 +02:00