Commit graph

14728 commits

Author SHA1 Message Date
Daniel Imms c398f717a9
Consolidate ansi functions into strings.ts 2024-04-26 07:22:16 -07:00
Alex Ross 5c213a1e84
Update grammars (#211439) 2024-04-26 04:52:52 -07:00
Matt Bierner 56ad6311c8
Pick up latest Markdown language service (#211391)
Fixes #211389
2024-04-25 13:48:44 -07:00
Ladislau Szomoru b4b87ffac4
Git - show notification when there are no staged changes/changes/untracked changes (#211170) 2024-04-23 21:21:02 +02:00
Ladislau Szomoru 0991b0053f
Git - fix view untracked changes command visibility (#211167) 2024-04-23 21:09:25 +02:00
Martin Aeschlimann 83d2801c6b
[css/json] update services (#211053) 2024-04-23 11:27:29 +02:00
Matt Bierner 5d25f31b7e
Re-register TS sort/remove unused commands (#210984)
Fixes #210728

Removed these as I thought they were unused
2024-04-22 20:16:38 -07:00
Matt Bierner 117c4419d6
Fix config file diag text (#210988)
Fixes #210966
2024-04-22 20:15:13 -07:00
Martin Aeschlimann 0de5c3004f
Revert "[css/json] update services (#210950)" (#210959)
This reverts commit 5b6444d082.
2024-04-22 22:32:32 +02:00
Martin Aeschlimann 5b6444d082
[css/json] update services (#210950) 2024-04-22 12:23:36 -07:00
Aaron Munger 674c62fade
Minimal error renderer (#210767)
* collapse stack trace

* interaction buttons

* fixup

* place feature behind option

* styling, more cleanup

* test returned link, fix test bug

* test header link, skip header link for old IPython

* padding

* remove inline margin
2024-04-22 08:09:11 -07:00
Martin Aeschlimann 348de48632
Monokai Dimmed theme: json syntax highlighting colors very different in v1.88.0 (#210908) 2024-04-22 14:23:41 +02:00
Benjamin Pasero 47e4d24fa1
vscode API - globalState / workspaceState unit test flake (fix #210575) (#210632) 2024-04-18 10:54:47 +02:00
David Dossett 7bf27d553e
Merge pull request #210602 from microsoft/ddossett/mid-kangaroo
Update menu selected state colors
2024-04-17 22:47:20 -07:00
Frank 59d84c5c8c
disable corepack auto pin feature when executing npm view (#210601) 2024-04-18 01:28:08 +00:00
David Dossett 2fb4572cce
Update menu selected state colors 2024-04-17 15:18:30 -07:00
Raymond Zhao 75aea74df7
feat: bump emmet-helper (#210508)
Also add test
2024-04-17 14:21:23 -07:00
Daniel Imms 7ce200d9f6
Merge pull request #210260 from microsoft/tyriar/si_integration_tests
Add shellIntegration ext api integration tests
2024-04-17 07:52:06 -07:00
Pig Fang a7d0bc8982
Auto close Git multi-diff editor when all files staged or comitted (#210327)
* auto close multi-diff editor when all files staged or comitted

* remove unused vars
2024-04-17 11:16:33 +00:00
Daniel Imms 762cbd66a8
More logging, disable on Windows 2024-04-16 15:26:45 -07:00
Daniel Imms f18f406e30
Improve assertions 2024-04-16 15:06:34 -07:00
Daniel Imms 4080745f7e
Merge remote-tracking branch 'origin/main' into tyriar/si_integration_tests 2024-04-16 13:56:38 -07:00
Connor Peet 97df4dad38
api: finalize windowActivity (#210491)
Closes #181569
2024-04-16 11:03:14 -07:00
Matt Bierner 9d2deb650d
Use resolveCodeAction for organize imports (#210418)
For #210171
2024-04-15 15:19:28 -07:00
Matt Bierner 98785f537e
Fix setting type (#210408)
Fixes #210400
2024-04-15 18:51:02 +02:00
Daniel Imms fa1e2afd99
Set SI to enabled in integration tests 2024-04-15 08:53:11 -07:00
Daniel Imms 6162e457e3
Add shellIntegration ext api integration tests
Part of #145234
2024-04-12 12:21:09 -07:00
Don Jayamanne f309a5e375
Fix test failure and improve visibility check (#210128)
* Fix test failure when UI is small

* oops
2024-04-11 08:07:50 +02:00
Don Jayamanne 804f8e3929
Debounce notebook cell metadata edit updates (#210005)
* Debounce notebook cell metadata edit updates

* Clear timer

* Check notebook type

* Try again

* Ignore IW notebooks

* oops
2024-04-11 07:44:14 +02:00
Matt Bierner 23915afd3b
Exclude chat symbols from JS/TS workspace symbol results (#210095) 2024-04-10 12:27:52 -07:00
Matt Bierner 0347b00161
Pick up latest TS recovery 5.4.5 (#210072) 2024-04-10 18:51:13 +02:00
Martin Aeschlimann eef0da0b89
update weppack so we can build the latest language client (#208908)
* update weppack so we can build the latest language client

* update webpack types

* update yarn file
2024-04-10 15:19:18 +02:00
Don Jayamanne e079f1e07b
Drop custom property from Jupyter Nb metadata (#210011) 2024-04-10 08:30:18 +02:00
Rob Lourens eb736c18c2
Limit chat history to messages with the current participant (#209898)
* Limit chat history to messages with the current participant

* Fix build error

* Fix build for real
2024-04-09 08:56:52 -07:00
Ladislau Szomoru f9554073cc
Git - add dedicated commands to view changes (#209942) 2024-04-09 14:33:13 +02:00
Sheetal Nandi b2c4302323
Use vscode watches for tsserver (#193848) 2024-04-09 13:39:34 +02:00
Alex Ross b557947e50
Update grammars (#209932) 2024-04-09 12:20:39 +02:00
Alex Ross a1815b994a
Fix git merge editor for renames (#209542) 2024-04-08 23:34:48 +02:00
Vladimir Piskarev 5bde174ef1
Fix incorrect typings in OpenJsDocLinkCommand_Args (#209872)
Fix incorrect typings in OpenJsDocLinkCommand_Args
2024-04-08 20:09:49 +00:00
Matt Bierner 2502021f86
Pick up TS 5.4.4 (#209850)
For #209849
2024-04-08 17:33:31 +02:00
Ladislau Szomoru 45b5423f72
Git - only add --ignore-case if it is a supported flag (#209819) 2024-04-08 12:47:18 +02:00
Rob Lourens ed6c6d3f28
Kill "interactive session provider" DEAD (#209700)
* Reduce chat provider usage

* Clear out IChat props

* Delete interactive session provider API

* Totally remove static chat provider registration

* Clean up onDidRegisterProvider events

* Remove provider ID references from model

* Eliminate many 'providerId' references

* Simplify view registration

* Clean up participant-specific actions

* Delete getProviderInfos

* Rename context key

* Fix tests

* Fix action label

* Fix view title

* Fix test

* Fix test

* Fix integration test

* Remove more providerId

* Add API stub to make this compatible with the existing Copilot Chat
2024-04-07 21:06:43 -07:00
Matt Bierner 6160e8e969
Add support for markdown image/video path hovers (#209685) 2024-04-05 22:29:31 +02:00
Matt Bierner 8c363b460b
Merge and cleanup drop and paste proposal (#209591)
These two proposals overlap a lot and will be finalized together
2024-04-05 13:03:10 -07:00
Matt Bierner 74fff91cc9
Pick up latest md language service (#209574) 2024-04-04 22:27:25 +02:00
Matt Bierner 7a623b31fb
Fix frontmatter line map (#209556)
Fixes #209267
2024-04-04 19:39:21 +02:00
Matt Bierner 125e308ea4
Bump @typescript-eslint versions (#209516)
6.x is the latest release that supports our current node target
2024-04-04 10:36:59 -07:00
Connor Peet 8558da1335
cli: allow public port forwarding via tunnels (#209489) 2024-04-04 00:28:00 +02:00
Matt Bierner b5f97ae0e1
Fix null access (#209449) 2024-04-03 17:37:38 +02:00
Matt Bierner 998047ca2f
Add experimental support for updating markdown links on copy/paste (#209319)
* Add experimental support for updating markdown links on copy/paste

For #209318

* Remove log
2024-04-02 17:15:12 +02:00
Ladislau Szomoru 8d1ecd7b94
SCM - 💄 API cleanup (#209339)
* SCM - 💄 API cleanup

* Fix compilation
2024-04-02 14:51:36 +02:00
Matt Bierner cb83e0b39b
Don't use stateful regex (#209268)
Fixes #209254
2024-04-01 19:00:16 +02:00
Matt Bierner 7d788e70b9
Limit drop disablement to just http(s) uris (#209240)
For #209239
2024-04-01 04:37:06 -07:00
Raymond Zhao e483d8407c
chore: bump katex (#209141) 2024-03-29 21:07:15 +01:00
Matt Bierner a29a83ddd4
Add pwsh alias (#209063)
Commonly used for markdown blocks
2024-03-28 15:59:23 -04:00
Aiday Marlen Kyzy f62931d09b
Making same changes to JavaScript language configuration file as for TypeScript (#209038)
making the language configuration file the same as for typescript
2024-03-28 18:25:55 +01:00
Ladislau Szomoru a7f384badb
Git - remove deprecated extension API (#209010) 2024-03-28 05:25:40 -07:00
Matt Bierner a83b5818f3
Pick up TS 5.4.3 (#208940)
Minor update with a few fixes
2024-03-27 19:30:37 +01:00
Ladislau Szomoru 4a6ebe0ee5
Git - fix #208562 (#208761) 2024-03-26 12:32:02 +01:00
Benjamin Pasero 099c39eb5b
Failing integration test: vscode API - globalState / workspaceState (fix #208134) (#208756) 2024-03-26 07:53:08 +01:00
Benjamin Pasero c972b16a33
Integration test failure: workspace.applyEdit drops the TextEdit if there is a RenameFile later (fix #206356) (#208662) 2024-03-26 15:38:03 +09:00
Ladislau Szomoru 8d02db45e9
GitProtocolHandler - update supported schemes based on the platform (#208730) 2024-03-25 15:55:49 -07:00
Peng Lyu c1b0fbbe22
remove console.log (#208474) 2024-03-22 22:56:32 +01:00
Martin Aeschlimann fb757ca041
[json/html/css] update services (#208443)
* [json/html/css] update services

* use older language client

* older languageclient

---------

Co-authored-by: Logan Ramos <lramos15@gmail.com>
2024-03-22 21:52:12 +01:00
Aiday Marlen Kyzy a00f2e64f4
Merge pull request #208291 from microsoft/aiday/addingIndentationForIfForWhile
Indent next line for if/for/while statement followed by whitespace
2024-03-22 11:07:52 +01:00
Aiday Marlen Kyzy b0725d3bf2
Merge pull request #208319 from microsoft/local-quail
Indent on enter from within [], {}, ()
2024-03-22 11:07:23 +01:00
Ladislau Szomoru 85eea4a9b2
Git - emit change event as soon as file is staged (#208376) 2024-03-22 08:53:04 +01:00
Rob Lourens 75e751380f
ChatRequestHandler should allow returning void (#208349)
Fix #205835
2024-03-22 00:57:34 +01:00
Matt Bierner 70e896c977
Fix md preview substr highlighting (#208337)
Fix substr highlighting

Fixes #205515
2024-03-21 22:32:35 +01:00
Aiday Marlen Kyzy f2758ed8f7
making the regex more restrictive 2024-03-21 17:56:44 +01:00
Aiday Marlen Kyzy d8a989efdd
adding rules to indent from within [], (), {} 2024-03-21 17:30:16 +01:00
Aiday Marlen Kyzy 20b54ec19e
making the regex pattern so that we don't match if/for/while inside of a word 2024-03-21 17:24:52 +01:00
Aiday Marlen Kyzy 5d1d7d98a6
adding parentheses aroudn the two different alternatives 2024-03-21 17:14:53 +01:00
Aiday Marlen Kyzy 0629845986
Merge branch 'main' into aiday/addingIndentationForIfForWhile 2024-03-21 17:10:29 +01:00
Aiday Marlen Kyzy 20ef51faea
Merge branch 'main' into aiday/addingIndentationForIfForWhile 2024-03-21 17:07:51 +01:00
Aiday Marlen Kyzy d15b18783b
Merge pull request #208287 from microsoft/aiday/indentNextLineWhenArrowFunctionUsed
Indent next line when arrow function arrow followed by whitespace
2024-03-21 17:01:15 +01:00
Henning Dieterichs 2a14ad4b71 Fixes diff editor gutter menu focus problems 2024-03-21 15:40:37 +01:00
Aiday Marlen Kyzy 3aa12f6c38
simpler function is used in order to cover lambda functions 2024-03-21 15:07:52 +01:00
Don Jayamanne e3cf2530e6
Include execution count in jupyter notebook diff (#208292)
* Include execution count in notebook diff

* Fix tests

* Misc changes

* Fix tests

* Fix more tests
2024-03-21 14:14:33 +01:00
Aiday Marlen Kyzy 62275bbca6
changing to round brackets inside of the regex pattern 2024-03-21 12:43:17 +01:00
Aiday Marlen Kyzy 5228f5a8b6
adding dollar sign at the end of the regex to match the full line 2024-03-21 12:13:20 +01:00
Aiday Marlen Kyzy 32aaeac3d6
adding pattern for if for and while 2024-03-21 11:04:24 +01:00
Aiday Marlen Kyzy 69f9c7a2e1
adding pattern in order to indent the next line 2024-03-21 10:27:30 +01:00
Rob Lourens 042c0893d9
Handle duplicate chat participant names (#208142)
* Enable duplicate chat participant names
#208103

* Register participants with an ID

* Update participant history in API

* Changes to dupe chat suggest widget, and fix serialize/deserialize

* Tweaks

* Test fixes

* Fix tests

* Test fixes

* Fix integration test
2024-03-20 16:44:03 -07:00
Matt Bierner 288be7d337
Fix settings keys (#208253)
Fixes #207804
2024-03-20 22:21:55 +01:00
Benjamin Christopher Simmonds 0657184073
Custom Labels Enhancement (#208029)
* Custom Lables

* polish

* dirname(nth)

* fix test?

* cleanup and perf

* 💄

* 💄

* 💄

* expression is parsed when initialized

* readonly

* 💄

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2024-03-20 14:33:58 +01:00
Ladislau Szomoru d3877fb1dd
Git - improve performance for "Stage Block" command (#208181) 2024-03-20 12:00:03 +01:00
Don Jayamanne c0fa2a7b47
Expose prop to determine if custom prop is used (#208145) 2024-03-19 17:12:07 -07:00
Don Jayamanne 0f6d7c03fc
Rename property to lineup with other exp props (#208121) 2024-03-19 20:31:31 +01:00
Connor Peet 2aa0f1c40b
testing: finalize test coverage (#208115)
Closes #123713
2024-03-19 19:46:17 +01:00
Don Jayamanne 55d6f3050d
Drop custom metadata property from notebooks behind setting (#208065)
* Drop custom metadata property behind setting

* Do not update existing object
2024-03-19 19:37:59 +11:00
Don Jayamanne 1e95cb902e
Keep notebook model in sync with the ipynb json (#208052) 2024-03-18 20:17:46 -07:00
Don Jayamanne 3242621276
Remove unwanted vscode property when not required (#208014) 2024-03-18 08:50:28 -07:00
Don Jayamanne 19a78385c7
Remove custom property from nb and cell metadata (#207995) 2024-03-18 15:01:04 +01:00
Henning Dieterichs b7d35c8bdd Implements #206808 2024-03-15 17:08:36 +01:00
Alex Ross 6285faddc6
Update shellscript grammar (#207828) 2024-03-15 12:52:46 +01:00
Peng Lyu 123360f8be
Merge pull request #207745 from microsoft/rebornix/tragic-kingfisher
#207742. Failing to create untitled notebook
2024-03-14 20:39:27 -07:00
Matt Bierner 26f95e73b5
Try to clarify wording on setting (#207645)
Fixes #206535
2024-03-15 00:51:07 +01:00
Justin Chen 7637ca582e
proper quick fix if recently edited document (#206490)
* if doc has been recently changed, wait before running code action

* checking needs delay in extension

* removed unused awaits

* removed unused checks

* remove whitespace

* remove needsDelay and adds delay in extension instead

* remove recentlyadded

* remove whitespace

* cleanup from comments

* adds back needs delay

* deal with cancellation state

* remove whitespace and needsDelay again

* clean up

* Update codeActionController.ts

* add review

* added position for extra check
2024-03-15 00:47:17 +01:00
Peng Lyu a8536b7a3c #207742. Failing test 2024-03-14 10:49:04 -07:00