Commit graph

13844 commits

Author SHA1 Message Date
Matt Bierner f6de066b4c
Improve labels when dropping resources into markdown files (#180260) 2023-04-18 15:11:38 -07:00
Donald33 Wang 7122771026
Support custom switch-case indentation (#179670) 2023-04-18 17:24:51 +00:00
David Dossett 7f5644cc70
Fix active list background in dark+ v2 (#180170) 2023-04-18 07:50:26 -07:00
Matt Bierner 95396f14db
Don't complete jsx tag as function call (#180171)
Fixes #177606
2023-04-17 21:12:28 -07:00
Matt Bierner b242a8730c
Bump JS/TS grammars (#180160) 2023-04-17 21:27:38 +01:00
KapitanOczywisty 06401b39b1
Update PHP grammar from fork (#180100) 2023-04-17 18:42:57 +00:00
Ladislau Szomoru 218b8bd8da
SCM - Add document property to expose the text document (#171504) 2023-04-14 13:55:14 +02:00
Joyce Er 5d454b0afc
Fix search editor activation (#179924) 2023-04-13 23:50:44 +01:00
Matt Bierner 739b93cce8
Update drop metadata proposal (#179918)
- Makes `dropMimeTypes` required
- Prefix the actual `id` used internally with the extension id
- Allow wildcard mime types, such as `image/*`
2023-04-14 07:59:38 +10:00
Matt Bierner 830d534e27
Allow passing in a DataTransferFile to workspace edit (#175809)
* Allow passing in a `DataTransferItem` to workspace edit

Fixes #175800

Allows you to pass a file `DataTransferItem` to `WorkspaceEdit.createFile`. This lets us avoid transferring the data back and forth to the extension host, and also avoid having to base64 encode and decode it, significantly improving performance for large files

* Take data transfer file instead of data transfer item
2023-04-13 14:08:08 -07:00
Tyler James Leonhardt 3a02bc9de1
Updates from the rename (#179901)
* Updates from the rename

Azure Cloud -> Microsoft Sovereign Cloud

* remove azure once more
2023-04-13 13:01:13 -07:00
Tyler James Leonhardt b0d7acec38
Logger per auth provider (#179896)
So that we can have an output channel for each.
2023-04-13 19:26:36 +01:00
Matt Bierner 24c44070ae
Revert "Nicely format logged objects (#179405)" (#179894)
This reverts commit 5d3f960b67.

Based on comments in https://github.com/microsoft/vscode/pull/179405#issuecomment-1506843399
2023-04-13 18:55:06 +01:00
Ladislau Szomoru 2c7cc4ddea
GitHub - do not get branch protection if the user does not have push permission (#179879) 2023-04-13 07:42:12 -07:00
Ladislau Szomoru f972a31938
GitHub - restore/save branch protection to global state (#179855) 2023-04-13 14:43:12 +02:00
Ladislau Szomoru 45a44d1786
Git/GitHub - Branch protection refactoring (#179848)
Branch protection refactoring
2023-04-13 10:14:33 +01:00
Martin Aeschlimann 05bb1775dc
Set new default theme (#179812) 2023-04-12 15:45:39 -07:00
Matt Bierner 26ccce443f
Enable renaming of matching jsx tags (#179806)
Fixes #159534

Uses the new linked editing api to make f2 rename matching jsx tags
2023-04-12 21:42:59 +02:00
Joyce Er 3cf3ef8897
Encode slash-delimited branch and file segments in links (#179801) 2023-04-12 21:14:24 +02:00
Kartik Raj 22631c1bdc Do not return variable property 2023-04-12 17:40:00 +00:00
Ladislau Szomoru bb7570f4f8
GitHub - branch protection provider (#179789)
* Initial implementation

* Update default setting state
2023-04-12 17:42:51 +02:00
Alex Ross 0e8b1c8e09
Confusing Bash/Shell syntax highlighting (#179775)
Fixes #179749
2023-04-12 14:33:55 +01:00
Alex Ross d77e53a2b3
Update shellscript grammar (#179758) 2023-04-12 13:39:51 +01:00
Ladislau Szomoru a1eb9e2b48
Git - implement branch protection provider (#179752)
* Branch protection using settings is working

* Revert extension api changes

* Refactor code
2023-04-12 08:48:29 +01:00
Kartik Raj 8c3884bed5 Fix terminal integration test 2023-04-12 03:28:13 +00:00
Matt Bierner 8db8e63b44
Pick up latest TS for building VS Code (#179714) 2023-04-11 14:50:16 -07:00
Matt Bierner d6f23042e3
Log uri as a string instead of as an object (#179721) 2023-04-11 14:19:12 -07:00
Matt Bierner e9262678fa
Add drop feedback UX (#179434)
For #179430

Adds two new UX components:

- An inline progress icon shown when a drop operation takes over 500ms. This replaces the notification. You can click on it to cancel the drop

- Post drop, a drop feedback icon that lets you drop the file in a different way. This lets you drop the file as plain text for instance instead of as a markdown link
2023-04-11 13:48:24 -07:00
Matt Bierner 5d3f960b67
Nicely format logged objects (#179405)
Follow up oin https://github.com/microsoft/vscode/issues/176479#issuecomment-1498597499

This uses JSON.stringify to format objects that are logged. Currently they are all printed as a single line without any whitespace
2023-04-11 13:04:44 -07:00
易良 e9baeb3608
fix: typos (#179581) 2023-04-11 09:20:38 -07:00
Matt Bierner a58d9dc08f
Update linked editing file name (#179643)
Also make sure we are enabled in all syntax files
2023-04-10 15:55:44 -07:00
Matt Bierner 06659f0ba9
Add stubs for jsx linked editing (#176279)
* Add stubs jsx linked editing

For https://github.com/microsoft/TypeScript/issues/51832

* Update for new TS changes

* Update to finalized protocol
2023-04-10 23:32:09 +01:00
Joyce Er 812f3f5fc4
Insert <video> tag for shift+mp4 into .md (#179489)
* Insert `<video>` tag for `shift`+mp4 into .md

* Simpler drop text
2023-04-10 15:30:34 -07:00
Matt Bierner 58d7595154
Pick up TS 5.0.4 (#179618)
For #179616
2023-04-10 10:54:54 -07:00
Raymond Zhao 8e89509008
Fix notebook-renderers compile error (#179506) 2023-04-10 10:01:12 -07:00
Brandon Waterloo [MSFT] f9d14d68fb
Support sovereign/custom clouds in microsoft authentication provider (#178725) 2023-04-07 16:38:38 -07:00
Matt Bierner e0ebb7b740
Make script blocks respect js/ts.implicitProjectConfig.strictNullChecks (#179333)
Fixes #179331

Also fixes experimental decorators for script blocks
2023-04-06 15:59:44 +02:00
Joyce Er 413f98e499
Implicitly activate only main language contribs (#179287) 2023-04-06 10:12:17 +02:00
Andrew Branch 117668153b
[typescript-language-features] Support replacing Go to Definition with Go to Source Definition by preference (#178840)
* Add preference for replacing Go to Definition with Go to Source Definition

* Support replacing Go to Definition with Go to Source Definition by preference

* Predicate call on TS version
2023-04-05 21:17:01 +00:00
Matt Bierner fff3860de9
Always use vscode-textCodeBlock-background in rendered markdown (#179313)
Use vscode-textCodeBlock-background in rendered markdown

Fixes #179219
2023-04-05 23:02:22 +02:00
Aaron Munger 8d69fc71b7
Merge branch 'main' into aamunger/toggleScrolling 2023-04-05 12:40:48 -07:00
Michael Lively ff55375896
Add support for attachment cleaning on notebook save (#179178)
* support for `onWillSave` + debounce rework

* dispose of delayer + tabs not spaces...

* adjust for API naming change, rm proposal refs
2023-04-05 11:44:52 -07:00
aamunger c21478e430
small padding 2023-04-05 11:08:09 -07:00
aamunger c60f757130
updated truncation comment styling 2023-04-05 11:08:08 -07:00
aamunger d722674f02
updated comment 2023-04-05 11:08:06 -07:00
aamunger b7a495cdb8
adjust output truncation message 2023-04-05 11:08:04 -07:00
aamunger 8d55402690
toggle scrollable outputs by cell 2023-04-05 11:08:01 -07:00
Matt Bierner cc69fb1aad
Switch TS ext to use LogOutputChannel (#179205)
Fixes #176479
2023-04-05 10:44:21 -07:00
Daniel Rosenwasser 93026118c5
Remove Node.js walkthrough/getting started guide (#176325)
Remove Node.js walkthrough/getting started.

Co-authored-by: Matt Bierner <matb@microsoft.com>
2023-04-04 15:27:13 -07:00
Joyce Er 1db062d188
Finalize editor/lineNumber/context menu (#179168) 2023-04-04 23:27:51 +02:00
Joyce Er 602c01b268
Encode filepaths with whitespace in links (#179167) 2023-04-04 23:27:40 +02:00
Ladislau Szomoru 20aee57124
Git - better validation for the branchProtection setting (#179183) 2023-04-04 23:10:17 +02:00
Martin Aeschlimann 92b87b0fd5
[html] files.insertFinalNewline affects embedded styles (#179118) 2023-04-04 12:55:17 +02:00
Benjamin Pasero f481836a89
🆙 esbuild@0.17.14 (#178664) 2023-04-04 12:43:16 +02:00
Joyce Er eb57ab314b
vscode.dev links should be head links (#179074) 2023-04-03 19:48:02 -07:00
Matt Bierner 0461b885d5
Update JS/TS grammar (#179069) 2023-04-04 00:56:01 +02:00
Matt Bierner 4126b98d1b
Add working directory for md server publish (#179027) 2023-04-03 10:01:51 -07:00
Martin Aeschlimann 59608d3aee
Update webpack, css/file & style loaders (#179008) 2023-04-03 16:10:40 +02:00
Matt Bierner b9202b6408
Use better names in js/ts text rendering (#178711)
Use better names
2023-03-30 21:10:51 +02:00
Teddy Bradford b244524d08
Update Markdown preview styles to prevent sub and sup from affecting line height (#178653)
Prevent `sub` and `sup` from affecting line height
2023-03-30 18:07:18 +00:00
Matt Bierner 15143c24a5
Fix md server build script compile and remove unused test part (#178635)
* Fix compile and remove unused test script

* Do full install so we pull in gulp
2023-03-29 16:58:39 -07:00
Matt Bierner 0acd272268
Refactor structure of typescript extension (#178634)
There were way to many files under `util`. This change moves around files to more meaningful locations
2023-03-29 16:54:53 -07:00
Matt Bierner 7095b11615
Set cwd for running md server build (#178629)
Should make pipeline much faster
2023-03-29 15:22:40 -07:00
Matt Bierner 7a463ec271
Prefer reusing open tabs when opening md links in editors (#178628)
Fixes #81238
2023-03-29 15:21:31 -07:00
Matt Bierner af5ef24b52
Use yarn instead in md server build script (#178622)
Also removes unused API extractor script
2023-03-29 14:46:38 -07:00
Ladislau Szomoru ae09336f0b
Git - remote picker should hide on blur (#178612) 2023-03-29 21:07:09 +02:00
Alex Ross 6ac83c7c7d
Update grammars (#178508)
* Update grammars

* Update tests
2023-03-29 11:38:06 +02:00
Matt Bierner ce00cd7812
Add initial prototype for JS/TS move to file refactoring (#178535)
Add initial support for move to file

Fixes #176705
For https://github.com/microsoft/TypeScript/pull/53542
2023-03-28 16:49:50 -07:00
Matt Bierner 6f5920818a
Bump eslint versions (#178516) 2023-03-28 14:16:09 -07:00
Ladislau Szomoru 9e6a369b13
Action button - disable button during checkout (#178488) 2023-03-28 21:42:18 +02:00
Matt Bierner 5f328ba75d
Markdown language server 0.3.0 (#178512)
0.3.0 for markdown language server
2023-03-28 20:14:46 +02:00
最萌小汐 a90c9d0ab6
Update Lua grammar (#177798) 2023-03-28 14:34:28 +00:00
Matt Bierner d490dfe9f7
Disable MD server builds on changes (#178464)
We will manually trigger builds instead
2023-03-28 09:00:10 +02:00
Matt Bierner 87a6bda310
Fix opening encoded markdown fragment in preview (#178465)
Fixes #178340
2023-03-28 08:59:30 +02:00
Matt Bierner 1379bf3f15
Fix markdown webview state updates (#178153)
Fixes #164071

Also fixes the webview not scrolling when the resources changes
2023-03-23 17:51:09 +00:00
David Dossett 4448102523
Use solid color for input backgrounds in dark+ v2 (#178053) 2023-03-22 19:38:30 +01:00
Martin Aeschlimann 2ea2c80d63
[json] schemas in workspace settings also apply to external files (#178010) 2023-03-22 14:57:41 +01:00
aamunger b0459b7b45
add aria-label to link 2023-03-21 15:09:53 -07:00
Matt Bierner 07b2b6066b
Remove extra file check in documentHighlights (#177879)
Fixes #177823

For document hightlights, it seems TS returns windows paths that use forward slashes. This seems wrong, but we also likely don't need the extra check for the file on our side either since we already pass in `filesToSearch`
2023-03-21 21:09:19 +01:00
Matt Bierner 26e7b9a3bd
TS source actions should not be blocked by pending action requests (#177737)
Fixes #164876
2023-03-21 10:29:56 -07:00
Ladislau Szomoru 4ad068a9c6
Git - fix quick diff edge case when the resource is inside a submodule (#177691) 2023-03-21 16:27:05 +01:00
aamunger bd6f853061
wrap errors in parent div 2023-03-20 16:40:02 -07:00
aamunger 26c7018f95
style the cursor in the child to avoid the scrollbar 2023-03-20 16:40:00 -07:00
Aaron Munger 0a15931b49
Merge pull request #177537 from microsoft/aamunger/updateScrolling
show message to refresh if scrolling is enabled and not scrollable
2023-03-20 08:56:58 -07:00
Christof Marti 7a4092f1b0
Package hover: Show when last published (#177634) 2023-03-20 09:41:52 +01:00
aamunger a0a6fd1a35
show message to refresh if scrolling is enabled and not scrollable 2023-03-17 15:39:36 -07:00
aamunger d02908f51c
change cursor style over output 2023-03-17 12:50:18 -07:00
João Moreno c6fbb48ec4
Revert "Update webpack (#177265)"
This reverts commit e88eb65966.
2023-03-17 18:55:15 +01:00
Aaron Munger 500b217502
Merge pull request #177398 from amunger/aamunger/notebookRendererTests
added notebook output renderer tests
2023-03-17 08:08:29 -07:00
Martin Aeschlimann e88eb65966
Update webpack (#177265)
* update webpack

* update `@types/webpack`

* update copy-webpack-plugin

* update @types/webpack in build

* fix compile error in @types/eslint
2023-03-17 15:07:05 +01:00
Matt Bierner 143d94ae0d
Add publish pipeline for md server (#177387) 2023-03-16 16:22:21 -07:00
Matt Bierner 43f27d33f1
Pick up TS 5.0.2 (#177396)
Fixes #176332
2023-03-16 15:03:23 -07:00
aamunger 859ffaca34
await promises 2023-03-16 14:49:14 -07:00
aamunger 7c610d1a4c
typo 2023-03-16 12:11:46 -07:00
aamunger 11c5e141ab
added notebook output renderer tests 2023-03-16 12:10:24 -07:00
Johannes Rieken 1db217a0e2
Revert "Introduce share links in more places via a contrib" (#177328)
Revert "Introduce share links in more places via a contrib (#177311)"

This reverts commit e9ff97aa0f.
2023-03-16 11:27:25 +01:00
Joyce Er e9ff97aa0f
Introduce share links in more places via a contrib (#177311)
* Introduce share links in more places via a contrib

* Update `build/lib/i18n.resources.json`
2023-03-16 09:15:15 +01:00
Matt Bierner 549d31a5d5
Stop VS Code from transforming uris in tsconfig document link (#177305)
Fixes #160979
2023-03-15 17:17:18 -07:00
Aaron Munger 26eb63ab42
Merge pull request #177143 from microsoft/aamunger/outputRenderer
notebook render output update
2023-03-15 15:47:46 -07:00
Matt Bierner 54921d7173
Pass TS Server the original fs path (#177292)
For #177083

We've had code to normalize the file path for a long time but I don't think it's needed. In the case of samba paths, it also appears to break things

Let's try dropping it and passing along the original `fsPath` instead
2023-03-15 15:00:15 -07:00
Matt Bierner 3e5253b143
Remove notebook controller kind API proposal (#175962)
Fixes #168535
2023-03-16 08:52:09 +11:00
Martin Aeschlimann 273e74965b
add querystring fallback (#177250) 2023-03-15 09:29:41 -07:00
Fabio Spampinato 2a20cc59f0
Updated title for typescript.restartTsServer command (#177167) 2023-03-15 16:14:31 +00:00
susiwen8 811324be93
fix: detectedPackageManagerNames should be string (#175610) 2023-03-15 14:53:52 +00:00
Mickael Istria 4566ce493a
onEnterRules add prefix on newline inside Javadoc (#176800)
Add some onEnterRules to Java language configuration to add the usual
prefix (` * `)
when inserting a new line in Javadoc.
Those were actually copied from typescript language configuration which
shares the
same syntax for comments.
2023-03-15 09:52:53 +01:00
Aaron Munger 168a49e972
Merge branch 'main' into aamunger/outputRenderer 2023-03-14 18:48:28 -07:00
Matt Bierner 3df6a29a80
Don't skip JS/TS diagnostic updates on equals (#177149)
Even though the diagnostics on the ext host side may be equal, the displayed diagnostic may be at a different spot. We need to make sure the UI is also updated in these cases by setting the diagnostics again
2023-03-14 18:03:51 -07:00
aamunger 11eefc95cb
fixed alias 2023-03-14 16:38:37 -07:00
aamunger b8728a5e06
fixed word wrap 2023-03-14 16:24:41 -07:00
aamunger e703b05738
plain text rendering, more streaming consolidation 2023-03-14 15:28:24 -07:00
aamunger 51f2dc8d46
fixed styling on stream and errors 2023-03-14 15:28:23 -07:00
aamunger db07a2b60a
updated stream output to consolidate correctly 2023-03-14 15:28:23 -07:00
aamunger 39c8e79b13
simplify generated html 2023-03-14 15:28:21 -07:00
Sandeep Somavarapu be755e4237
Merge pull request #176764 from yiliang114/judicial-silkworm
fix typos
2023-03-14 10:41:21 -07:00
Alex Ross 24483e964e
Update shellscript grammar (#177087) 2023-03-14 06:50:36 -07:00
Alex Ross 782ea94050
Update shellscript grammar (#176978) 2023-03-13 09:40:43 -07:00
Matt Bierner 7800bd3492
Clamp line to > 0 (#176970)
Fixes #176924
2023-03-13 16:37:19 +01:00
yiliang114 4065a16a41 fix: typos 2023-03-10 20:02:01 +08:00
Joyce Er fc76f309cc
Remove textPreformat-foreground override in experimental dark theme (#176679) 2023-03-09 12:07:39 -08:00
Matt Bierner 1f3da727a9
Bump TS web version (#176577) 2023-03-09 07:32:42 -08:00
aamunger ec47753952
dispose of scroll event listener 2023-03-08 15:43:05 -08:00
aamunger 605bde227c
cleaner element selection, add css shadow 2023-03-08 14:44:15 -08:00
Aaron Munger a8fe333062
Merge branch 'main' into aamunger/outputScrolling 2023-03-08 14:03:44 -08:00
Matt Bierner 924ee8b4d8
Don't scroll sync to elements inside collapsed details sections (#176541)
Fixes #176538

Turns out that `getClientBoundingRect` returns weird bounds for elements inside of a collapsed details section
2023-03-08 21:06:26 +01:00
Joyce Er 9b12df8aaa
Always show Copy vscode.dev link in notebook gutter (#176553) 2023-03-08 20:46:19 +01:00
aamunger 01abe31271
more precise scroll top extraction 2023-03-08 11:25:18 -08:00
Aaron Munger 4b154b8696
Merge branch 'main' into aamunger/outputScrolling 2023-03-08 11:04:47 -08:00
Alex Ross 8ca37ee70f
Update shellscript grammar (#176491) 2023-03-08 11:18:43 +01:00
Matt Bierner da15b03a10
Add setting to control markdown LS log level (#176472) 2023-03-08 08:00:34 +01:00
Matt Bierner b2ea6aa9fc
Inline codicons font for simple browser (#176462)
Should fix #139674 but need to confirm on deployed codespaces
2023-03-07 19:46:53 -08:00
Matt Bierner 3ca5284e44
Clean up markdown preview messaging (#176458)
- Add properties directly to message
- Add `ImageInfo` type
- Don't use state to pass around imageInfo
2023-03-07 17:28:13 -08:00
Aaron Munger 62790d8aec
Merge branch 'main' into aamunger/outputScrolling 2023-03-07 16:11:42 -08:00
Matt Bierner 6a44101bb1
Type markdown preview webview message (#176444)
Simply types messages. Will clean up types in next pass
2023-03-07 14:23:17 -08:00
Joyce Er 9c7113f6ae
Observe lineNumber if there is no active selection or if the active selection does not contain the specified line number (#176432)
* Observe `lineNumber` if there is no active selection or if the active selection does not contain the specified line number

* Explicit undefined check

* Extract condition into function
2023-03-07 23:23:04 +01:00
Matt Bierner 83c4e0f5c4
Reset markdown scroll progress on resource change (#176437)
Reset scroll progress on resource change

Fixes #164071
2023-03-07 23:12:46 +01:00
Aaron Munger b6688ffa3b
Merge branch 'main' into aamunger/outputScrolling 2023-03-07 12:20:52 -08:00
Matt Bierner 41e0b50a6d
Pick up latest markdown language service (#176425) 2023-03-07 20:38:37 +01:00
Matt Bierner ed04b28c4d
Markdown custom eslint rules should not automatically apply to server (#166068) 2023-03-07 11:13:13 -08:00
aamunger a0dee86464
don't look for scroll height if scrolling is disabled 2023-03-07 11:01:28 -08:00
aamunger 4b6837ca34
scroll to the bottom of scrollable outputs 2023-03-07 10:53:23 -08:00
Matt Bierner 23600ac11e
Pick up TS 5.0rc (#176334)
https://github.com/microsoft/vscode/issues/176332
2023-03-07 06:42:49 +01:00
Matt Bierner d0ad7c09bb
Fix details blocks being auto closed on markdown preview changes (#176330)
Fixes #175353
2023-03-07 02:36:38 +01:00
Matt Bierner ed43d97e47
Always use TS's sort text in TS 5+ (#176322)
* Always use TS's sort text in TS 5+

Fixes #174628

* Add missing file
2023-03-06 17:12:44 -08:00
Aaron Munger a2eda2261a
Merge pull request #176309 from microsoft/aamunger/scrollErrors
make error outputs scrollable with output scroll setting
2023-03-06 14:53:17 -08:00
aamunger 770db8e512
make error outputs scrollable with output scroll setting 2023-03-06 14:28:15 -08:00
Martin Aeschlimann 22c88ab04e
[json] update service (#176306)
[json] update service (for #176296)
2023-03-06 14:07:10 -08:00
Matt Bierner 797291f90f
Fixing some project wide intellisense issues in safari (#176294)
For #175229

- Safari can't transfer `Proxy` objects
- Safari's nested worker polyfill wasn't forwarding along the `ports` field on message events
2023-03-06 12:52:34 -08:00
Joyce Er 93ac6e0c80
Don't show vscode.dev links on Codespaces (#176287) 2023-03-06 20:38:54 +01:00
Matt Bierner 6aada102db
Add localization comment (#176272)
Add localization message

Fixes #176140
2023-03-06 09:40:56 -08:00
Alex Ross 71f59872f3
Update shellscript grammar (#176241) 2023-03-06 17:29:54 +01:00
Joyce Er 5271145f3f
Only show Copy vscode.dev link when line numbers are enabled (#176153)
* Only show `Copy vscode.dev link` when line numbers are enabled

* Fix line endings
2023-03-04 18:58:31 -08:00
Joyce Er 2b44aa50fd
vscode.dev links in share and editor gutter menus (#176104) 2023-03-04 06:50:57 +01:00
Johannes Rieken 46c00f4c38
Merge pull request #176038 from gjsjohnmurray/fix-172619
Improve view title of references-view (fixes #172619)
2023-03-03 17:51:31 +01:00
Henning Dieterichs ff757ef8f4
Fixes #175797 (#175899) 2023-03-03 13:08:21 +01:00
gjsjohnmurray 2c21d886ce Improve view title of references-view (fixes #172619) 2023-03-03 11:59:39 +00:00
aamunger 869f18c010
fail with more info 2023-03-01 15:31:54 -08:00
Aaron Munger fae46b88cf
Merge pull request #175704 from amunger/differentiateTest
unique test names
2023-02-28 22:02:32 -08:00
Matt Bierner 1270982c75
Make add missing new auto fixable (#175720)
Fixes #175719
2023-03-01 06:50:11 +01:00
Don Jayamanne bd77e72bbc
Ensure svg+xml output is split into lines (#175724) 2023-03-01 06:48:50 +01:00
aamunger f2550cb362
unique test names 2023-02-28 14:54:54 -08:00
aamunger 2d169f44a3
small diagnostics update 2023-02-28 14:50:03 -08:00
Matt Bierner 28d9a83f12
Fix TS Server logging on windows (#175600)
Fixes #175172

We need to pass TS the windows style path here
2023-02-28 14:36:27 -07:00
Peng Lyu 2552748fc6
Re #174908. Allow renderers to respond to settings change. (#175606) 2023-02-28 08:37:18 -08:00
Ulugbek Abdullaev 612b6d7f11 extension linter: lint readme: don't return on closed doc 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev da34f7d462 extension linter: remove unused import 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev 500f3f30ec extension linter: context keys: improve error message 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev 5a8b485d82 extension linter: context keys: move the internal command to access parser to extension host code 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev 7e9f63f4ae extension linter: add linting for when-clauses (context keys) - "when" and "enablement" fields in extension manifest files - package.json
(no linting for keybindings.json yet)
2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev 4c4639b888 extension linter: run parser with no regex error recovery 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev 2add9e8ceb extension linter: make sure we don't fail on array access 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev efffb789ff extension linter: add linting for when and enablement clauses in package.json's 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev e4fe3740b9 extension linter: add a warning todo 2023-02-28 14:00:30 +01:00
Ulugbek Abdullaev da6b280570 extension linter: refactor: rewrite package.json linting with a for-loop 2023-02-28 14:00:30 +01:00
Joyce Er 5148e0bde9
Use Buffer.toString in node-only context (#175592) 2023-02-27 23:31:16 +01:00
Matt Bierner ce24cb7dac
Fix suggest action toggling (#175567)
Fixes #175113
2023-02-27 20:10:00 +01:00
Matt Bierner 7570fadcce
Split uri-lists on \r\n for markdown drop (#175552)
Fixes #175547
2023-02-27 17:55:04 +01:00
Matt Bierner 1542e5f26b
Pick up latest TS nightly for insiders (#175400) 2023-02-24 19:07:59 -06:00
David Dossett 42062cb3ea
Fix find highlight background in Light+ V2 (#175372) 2023-02-24 19:40:00 +01:00
Tyler James Leonhardt 99e4904905
Add annotation to a telemetry point (#175370)
* Add annotation to a telemetry point

* forgot ,
2023-02-24 19:13:55 +01:00
Aiday Marlen Kyzy b9d1118393
increasing the package version of vscode-json-langaugeservice to 5.3.1 2023-02-24 18:12:08 +01:00
João Moreno 8635a5effd
avoid using XDG_RUNTIME_DIR on darwin (#175241)
fixes #168321
2023-02-24 17:33:25 +01:00
Alex Ross cf4acb8050
Update grammars (#175350) 2023-02-24 17:22:41 +01:00
Henning Dieterichs 18b96f483c
Fixes #173997 (#175349) 2023-02-24 17:18:37 +01:00
Martin Aeschlimann 07d120e10a
schema URI not resolving in workspace file (#175320)
schema URI  not resolve in workspace file
2023-02-24 12:33:59 +01:00
Joyce Er 720985f2c6
Followup to #175151 (#175291) 2023-02-23 15:29:30 -08:00
Martin Aeschlimann 8dcf90c7d0
Non-standard capitalization of JSON commands (#175251) 2023-02-23 16:52:44 +01:00
Matt Bierner 4d247bae44
Don't allow one click reporting of TS Server crashes against VS Code repo when TS server plugins are enabled (#175186)
Don't allow one click reporting of TS Server crashes when TS server plugins are enabled

Fixes #175184
2023-02-22 23:26:18 +00:00
Martin Aeschlimann 400fde0524
relative schema path not resolved properly (#175185) 2023-02-23 00:01:20 +01:00
Joyce Er aa9dd05143
Category title for Continue in vscode.dev (#175151) 2023-02-22 10:31:31 -08:00
Matt Bierner b980b86066
Pick up latest markdown language service (#174881)
For #174005
2023-02-22 15:14:23 +01:00
Joyce Er d7fec23a8a
Use fs.readFile instead of openTextDocument (#175077) 2023-02-22 07:35:34 +01:00
David Dossett 4965a140e9
Update active activity bar item foreground in v2 themes (#174980) 2023-02-21 20:25:22 +01:00
David Dossett d47bacfb75
Fix input border contrast in v2 themes (#172951)
* Fix v2 light theme input contrast

* Fix dark v2 theme border contrast
2023-02-21 11:15:45 -08:00
David Dossett e123385d1d
Fix active tab foreground in dark+ v2 (#174991) 2023-02-21 20:10:51 +01:00
Matt Bierner 784bbdab8f
Allowing configuring if markdown inserts a .md when completing paths to markdown files (#174882)
Fixes #174005
2023-02-21 08:07:31 +01:00
Martin Aeschlimann 05abefc4cd
[css/json/html] update services and server (#174867) 2023-02-21 07:27:06 +01:00
Masaki Mori 1a79e7eb63
Fix #173735 (#174149)
* Fix #173735

* Fix #173735
2023-02-20 16:50:48 +00:00
Ely Ronnen 59f6d52062
fix #174711 Show Source command in Markdown custom editor (#174712)
fix #174711
2023-02-20 16:01:36 +00:00
Aiday Marlen Kyzy eee87af252
Adding the server and client code to the JSON language features extensions to enable JSONC sorting in VS Code (#174352)
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples

* adding the DocumentSortingRequest

* accesssing directly the text edits from the request

* added code in order to provide the link between the json sorting capabiliites and vscode

* adapting to the new api output of the sort function

* instead of using await use then inside of the command that registers

* textEditor replaces window.activeTextEditor

* adding changes from review

* update service

* use SortOptions

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-02-17 19:49:05 +01:00
Tyler James Leonhardt 71f619cbda
Ensure the original scopes requested are the scopes in the Session returned (#174645)
Fixes #174631
Fixes #167791
2023-02-17 03:34:39 +01:00
aamunger a1665b75bf
put open new editor link outside of scrollable div 2023-02-16 15:56:32 -08:00
Peng Lyu 6b45fd4bff
Polish default line wrap in text/error output (#174615) 2023-02-16 20:36:12 +01:00
Alex Ross 6da385b3a3
Multi quick diff polish (#174584)
Part of https://github.com/microsoft/vscode/issues/169012
2023-02-16 16:15:10 +01:00
Peng Lyu 9570a06456
Fix #174393. Clear error container. (#174494) 2023-02-15 20:55:31 +01:00
Bassim EL BAKKALI EL GAZUANI 68a7a39382
Set Opacity to MatchHighlight in QuietLight (#174296)
As stated in the docs for "editor.findMatchHighlightBackground":
"The color must not be opaque so as not to hide underlying decorations."

I've simply added a 0.6 opacity to the color so that it doesn't obscure the selection background.
2023-02-15 15:51:43 +01:00
Peng Lyu 9d8b738122
Fix microsoft/vscode-jupyter#12842. Add output text word wrap setting. (#174384) 2023-02-14 19:43:27 +01:00
Benjamin Pasero 6a1eb923ca
Integration test failure - vscode API - commands (fix #174319) (#174320) 2023-02-14 10:24:46 +01:00
Henning Dieterichs d6259480f5
Fixes #173997 (#174067) 2023-02-10 15:29:40 +01:00
Tobias Hernstig c612c5d163
Add shellscript filenamePatterns for .env.* (#173426)
* Add shellscript `filenamePatterns` for `.env*`

In some cases, projects use `.env` files such as `.env.development`
or `.env.production` or similar things.

Adding this to extensions/shellscript/package.json as a
`filenamePatterns` avoids developers having to add specific
`"files.associations"` to their VS Code settings files.

Fixes #173425

* Change pattern from .env* to .env.*
2023-02-10 14:22:32 +00:00
Matt Bierner 34c620efbe
Hook up new markdown workspace header suggestion setting (#174004)
Fixes #172977

Also fixes the settingsTree matching settings ids too eagerly
2023-02-10 09:09:00 +01:00
Megan Rogge 2b457a3ae9
terminal.quickFixes -> terminalQuickFixes (#173860) 2023-02-09 11:38:55 -06:00
Ely Ronnen 5b79b91838
Fix #173869 marking active line for code elements too in markdown pre… (#173870)
Fix #173869 marking active line for code elements too in markdown preview
2023-02-08 20:25:54 +00:00
David Dossett a987fee52e
Use solid foreground colors in v2 themes (#173844) 2023-02-08 11:46:07 -08:00
Matt Bierner 5170e1a42b
Use native path for trace directory (#173856)
Fixes #173854

On windows, we need to pass in the `c:\` style path. The normal `/` path causes TS Server to crash
2023-02-08 10:41:10 -08:00
Matt Bierner 39187de5d9
Also recognize .oga as an audio extension (#173711)
From #173680
2023-02-08 10:24:47 -08:00
David Dossett d30d44aea2
Fix textPreformat.foreground in v2 themes (#173848) 2023-02-08 10:06:07 -08:00
Martin Aeschlimann 911f119120
generalize limit indicator and use for color decorators (#173730)
* generalize limit indicator and use for color decorators

* remove updateDebounceInfo max
2023-02-08 07:43:29 +01:00
Matt Bierner 095a2f8ae8
Log correct tsserver path (#173708)
Fixes #173707

We previously converted the TS Server log from a simple string to an object. However there were a few cases where this object was incorrectly being converted into a UI string, resulting in `[Object object]`
2023-02-07 09:18:15 -08:00
David Dossett 6a42d4e43b
Fix active list icon foreground in light+ v2 theme (#172668) 2023-02-07 09:12:47 -08:00
Johan Walles f8c3f89468
Unfreeze Git Commit Message grammar II (#173195)
* Unfreeze Git Commit Message grammar II

Before this change, the upstream for the VSCode Git grammar was dead.
Also, the test setup for that project has been EOL since 2014, so even
just running the tests was difficult.

The replacement grammar, unlike the current grammar:
* Has a vscode-tmgrammar-test test suite that is runnable and passing
  and that will run in CI for any PRs (in the upstream project)
* Has diff highlighting for Swedish as well as English (#133888)
* Highlights touched files both in Swedish and in English

Fixes #133888
Fixes #168847

Ref: <https://github.com/walles/git-commit-message-plus>

And for the record, I was the one setting up the new Git Commit Message
project. And it was fun!

* Remedy review feedback

Retain the line-too-long subject line highlighting. Improved to
highlight only the too-long part, but same idea still.

Special case English language file operations keywords and retain the
previous classification of those. But fallback to op-and-filename
classification when that fails (like it will for Swedish git for
example).

* Update colorize test result

* Update script and cgmanifest

---------

Co-authored-by: Alex Ross <alros@microsoft.com>
2023-02-07 13:40:16 +01:00
Matt Bierner 25514d899f
Use pervious crashed TS Server version to check if user was on old TS version (#173620)
Use pervious crashed version to check if user was on old TS version

Fixes #133818
2023-02-06 15:05:19 -08:00
Matt Bierner d948f68bd1
Skip watching lib files on web (#173601)
These files can never change on web so there is no point in creating a watcher for them
2023-02-06 14:01:53 -07:00
Logan Ramos 8e6bcc9b9e
Bump module to new package (#173599) 2023-02-06 12:29:36 -08:00
Matt Bierner eec5c907ea
Fix web TS Server trying to read files outside of project root (#173591)
There's a bug on the TS Server side that causes it to traverse out of the project root when checking for directories like `node_modules`. On web this ends up being super slow because it goes to the network

This fix blocks those reads
2023-02-06 11:17:21 -08:00
Joyce Er affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Alex Ross 90c3ebe980
Update shellscript grammar to get fix (#173574) 2023-02-06 07:14:56 -08:00
Ladislau Szomoru 01f32e6a44
Git - do not try to resolve workspace folders that do not use the file scheme (#173546) 2023-02-06 03:33:06 -08:00
Alex Ross 7b369be6af Get latest shellscript grammar and update tests 2023-02-06 12:32:44 +01:00
Alex Ross c3a17a3ebf Revert shellscript grammar change and add more tests 2023-02-06 12:32:44 +01:00
Tyler James Leonhardt 57f26d2907
Fixes #173380 (#173428)
Fixes #173380
2023-02-04 15:57:24 +01:00
Ladislau Szomoru 43db9d2d06
Git - add trace message if workspace folder cannot be resolved (#173410) 2023-02-04 10:15:27 +01:00
Ladislau Szomoru 4b2a44d7ec
Git - fix regression caused by workspace folder that cannot be resolved using fs.realpath() (#173372) 2023-02-03 13:25:25 -08:00
Connor Peet dc6fd239e6
strings: use more comprehensive ansi escape code regex (#173362)
* strings: use more comprehensive ansi escape code regex

The ansi escape remover only recognized a few codes, and only a
subset of their syntax. Be more comprehensive, and add tests.

Fixes #153648

* address pr comment
2023-02-03 12:37:20 -08:00
Joyce Er 3ab0fb3aa9
Lint redundant activation events if extension is targeting ^1.75 (#173345) 2023-02-03 09:53:00 -08:00
Martin Aeschlimann beea143b43
json server readme wording (#173304) 2023-02-03 06:39:45 -08:00
Matt Bierner c35c98fc00
Pick up latest markdown language server (#173234)
For #172977
2023-02-03 06:46:30 +01:00
Joyce Er ddd71a222d
Lint redundant onTaskType activation events (#173205) 2023-02-02 14:31:13 -08:00
Martin Aeschlimann bd9ac7a089
Fix JSON schema configuration in multi root workspaces (#173169)
[json] add folderUri to SchemaAssociation and schema setting
2023-02-02 13:36:41 -08:00
Tyler James Leonhardt 262ab0e7bf
Warn about star activation (#173112)
* star activation bad

* better message

* info level
2023-02-02 15:59:09 -05:00
Joyce Er b42443093a
Lint more redundant activation events (#173186)
* `onWalkthrough`
* `onTerminalQuickFixRequest`
* `onTerminalProfile`
* `onRenderer`
2023-02-02 11:18:11 -08:00
Matt Bierner 69b6f978f6
Make sure we pass TS server the transformed project root (#173096)
When opening a file, we pass TS Server a project root to prevent it from scanning too many files. On web, we need to pass the transformed project root, not the original uri

This PR also removes some confusingly duplicated methods and renames them to make their behavior more clear
2023-02-02 11:30:04 +00:00
Benjamin Pasero 14f13b1f20
skip flaky notebook tests (#173124)
* skip flaky notebook test

* link to issue

* skipe the suite
2023-02-02 09:58:05 +01:00
Peng Lyu c581592f24
Re #170072, disable nb flaky test. (#173091) 2023-02-02 06:02:14 +01:00
Matt Bierner 6c12ba1f81
Revert to TS 4.9.5 for this iteration (#173081)
TS 5.0 doesn't come out til mid March
2023-02-01 15:12:13 -08:00
robincaloudis 63b07dbd7f
Fix wrong language scope in markdown inline math expression (#172957)
Let 3rd matching group be an end

Previously, the first and third group was
defined as beginning. This is not
true as the first group of the regular
expression is the beginning of the math
inline markdown expression and the third
group the _end_. Once the third group is
correctly assigned, its language scope can
be changed accordingly.
2023-02-01 06:44:37 -08:00
Ladislau Szomoru f50790371b
Git - Add file decoration for a deleted file (#173020) 2023-02-01 14:06:31 +01:00
Martin Aeschlimann 7dff9e992b
add executeFoldingRangeProvider command (#172968)
* add executeFoldingRangeProvider command

* add jsdoc for FoldingRangeKind.fromValue
2023-02-01 01:03:02 -08:00
Johannes Rieken d9ad2139a6
remove redudant activation events for references viewlet (#173008)
https://github.com/microsoft/vscode-internalbacklog/issues/3442
2023-02-01 00:56:12 -08:00
Matt Bierner 224472b8b9
Pick up latest TS nightly (#172928)
This lets us remove the `ignoreWarnings` webpack hack
2023-01-31 16:37:29 -08:00
ibuky 9894ae8700
fix#171379 (#172175)
Co-authored-by: VTX0 <VTX0>
2023-02-01 00:35:02 +00:00