Commit graph

13844 commits

Author SHA1 Message Date
Bhavya U 6efb31c7a9
Add temporary nodeJS walkthrough (#181441) 2023-05-03 12:31:11 -07:00
Michael Lively c621b7adeb
Merge pull request #181427 from microsoft/protestant-ptarmigan
Enable paste as widget for notebook cells
2023-05-03 10:07:56 -07:00
Michael Lively 2a6b42a71c
enable paste widget for notebook cells 2023-05-03 09:51:29 -07:00
Ladislau Szomoru 1fc3c56ed8
Git - do not show publish branch action button when a tag is checked out (#181402) 2023-05-03 14:43:15 +02:00
Matt Bierner 6384b9bcdf
Add setting to disable paste as functionality and paste widget (#181375)
For #30066

This removes the `editor.experimental.pasteActions.enabled` setting in favor of `editor.pasteAs.enabled` (which also defaults to on)
2023-05-03 08:55:06 +02:00
Matt Bierner 37577f6b29
Fix casing on label (#181338) 2023-05-02 17:37:42 +02:00
Don Jayamanne 90bf5a07e4
Check for cell when determining default cell lang (#181079) 2023-05-02 17:05:45 +02:00
Henning Dieterichs 9e0b621db0
Merge pull request #181203 from yshaojun/fix/168110
fix: fix perl bracket pair by adding unbalancedBracketScopes(#168110)
2023-05-02 14:15:53 +02:00
Matt Bierner 11ca8d75a1
Add widget to change how content is pasted (#181290)
* Add widget to change how content is pasted

For #30066

This adds a widget that lets you change how content is pasted if there are multiple ways it could be pasted

To do this, I've made the post drop widget generic and reused it for pasting too

* Update types

* More code deduplication
2023-05-02 09:40:04 +02:00
Matt Bierner be03603bfe
Remove duplicated types (#181267) 2023-05-01 19:15:34 +00:00
yshaojun e17d67a952 fix: fix perl bracket pair by adding unbalancedBracketScopes(#168110) 2023-04-30 10:11:14 +08:00
Alex Ross a68448fcb4
Update grammars (#181143) 2023-04-28 17:43:01 +02:00
Ladislau Szomoru 1c59c16f20
GitHub - avoid double prompting when github.branchProtection setting is enabled (#181137) 2023-04-28 08:40:25 -07:00
Benjamin Pasero 71bb936e87
Perf: register a file provider in the ext host to avoid certain roundtrips (#181107)
* register a `file` provider in the ext host

* fix tests

* comments

* address feedback
2023-04-28 17:31:54 +02:00
Joyce Er 180f909fac
Avoid double encoding vscode.dev links (#181002) 2023-04-27 08:48:29 +02:00
Tyler James Leonhardt 738ab7954c
Add mode to the notification (#180977)
ref https://github.com/microsoft/vscode/issues/180803#issuecomment-1522947472
2023-04-26 23:16:39 +02:00
Martin Aeschlimann 0af79d4146
[json] update service (#180972) 2023-04-26 22:50:09 +02:00
Peng Lyu 30e62e1bf8
Fix #177405. Treat error as plain text. (#180960) 2023-04-26 19:28:28 +02:00
Matt Bierner 8243eb2556
Fix enumItem labels (#180889)
`javascript.preferences.importModuleSpecifierEnding` and `typescript.preferences.importModuleSpecifierEnding` got out of sync here
2023-04-25 16:14:03 -07:00
Martin Aeschlimann d53381b114
json/css/html: update dependencies (#180714)
* json/css/html: update dependencies

* update services
2023-04-25 12:29:42 +02:00
Martin Aeschlimann e04309e92a
Default Themes: Rename Experimental to Dark Modern (#180785)
Default Themes: Rename Experimental to Modern
2023-04-25 09:02:17 +02:00
Aaron Munger af972cc9e6
Merge pull request #180569 from microsoft/aamunger/outputAccessibility
ensure the focus is actually set to the correct output
2023-04-24 16:32:39 -07:00
Matt Bierner 42fbc2f784
Use custom command to open JS doc links (#180737)
Fixes #162507

Prevents incorrect auto transform of the uri
2023-04-24 15:05:14 -07:00
Aaron Munger 7c07ee8949
Merge pull request #180753 from microsoft/aamunger/truncationMessage
fix message formatting
2023-04-24 14:32:47 -07:00
aamunger 53b0058b13
fix message formatting 2023-04-24 14:17:44 -07:00
aamunger 4602cf075a
fix class selection query 2023-04-24 14:05:27 -07:00
Tyler James Leonhardt 1714f71c41
Organize Errors in GitHub Auth and make sure no double prompting happens (#180734)
* Organize Errors in GitHub Auth and make sure no double prompting happens

This mostly just moves some strings into variables... but this also fixes the GH Auth side of https://github.com/microsoft/vscode/issues/180697 so you should only be asked once if you want to try a different way to log in.

* add comments
2023-04-24 12:59:03 -07:00
Aaron Munger 3897a9cafb
Merge branch 'main' into aamunger/outputAccessibility 2023-04-24 12:53:28 -07:00
Aaron Munger af8b51ed1e
Merge pull request #180738 from microsoft/aamunger/scrollingWhileStreaming
don't stick the scrollbar to the bottom if scrolled up
2023-04-24 12:45:51 -07:00
aamunger 59ef73fea3
check the scroll height of the correct element 2023-04-24 11:23:25 -07:00
Matt Bierner 03540d605f
Pick up latest TS for building VS code (#180706) 2023-04-24 20:14:30 +02:00
aamunger 33c124ca7e
split out event propagation handling 2023-04-24 08:55:01 -07:00
Aaron Munger 58a76bcee0
Merge branch 'main' into aamunger/outputAccessibility 2023-04-24 08:51:37 -07:00
Benjamin Pasero 3a69e153f6
quick access - allow a Promise<FastAndSlowPicks<T>> and adopt for commands (#180664)
* quick access - allow a `Promise<FastAndSlowPicks<T>>` and adopt for commands

* fix telemetry
2023-04-24 06:41:25 +02:00
Matt Bierner ab7c32a5b5
Specify codeActionKinds (#180576)
Avoids extra calls and lets us show this info in the UI
2023-04-21 23:46:30 +02:00
Tyler James Leonhardt bede6ba243
Instrument Microsoft account type (#180573)
So we can see if folks are using MSA or AAD accounts. Also, this cleans up some dead code.

Fixes https://github.com/microsoft/vscode-internalbacklog/issues/3903
2023-04-21 14:23:34 -07:00
aamunger 31cd1ee042
ensure focus is set correctly in output, enable keyboard scrolling for outputs 2023-04-21 13:26:35 -07:00
Kartik Raj f80485dcdf
Merge pull request #179323 from microsoft/kartik/terminal
Add proposed API to specific workspace-specific environment variables via EnvironmentVariableCollection
2023-04-20 15:00:29 -07:00
Kartik Raj d3b1c67267 Fix terminal integration tests 2023-04-20 20:42:07 +00:00
Anthony Stewart 92d528bbd3
Support copying non-pngs and wait for focus to avoid race conditions (#180322)
* Support copying non-pngs and wait for focus to avoid race conditions

* Remove the temporary canvas element after copying

* Update to place entire canvas creation inside promise.

* Increasing to 5 retries 20ms apart
2023-04-20 18:51:41 +00:00
Kartik Raj 50408e199f Make scope as optional 2023-04-20 18:41:50 +00:00
Benjamin Pasero 1ed110b6be
Return resulting URI from commands that save the active editor (fix #178713) (#179091)
* Return resulting `URI` from commands that save the active editor (fix #178713)

* 💄

* address feedback

* change to real proposed API

* cleanup
2023-04-20 18:00:12 +02:00
Ladislau Szomoru 5ea57c3b48
GitHub - leveral repository rules for branch protection (#180416)
* WIP - switching to use repository ruleset information

* Handle includes

* Refactor to add support for exclusion

* Fix exclude condition

* Fix request string

* Add logging

* Update setting description
2023-04-20 16:43:42 +02:00
Matt Bierner 6a9c24cbd0
Update importModuleSpecifierEnding to mention .ts (#180349)
Makes the `importModuleSpecifierEnding` settings mention that it can include `.js` or `.ts`
2023-04-19 20:43:53 +02:00
Matt Bierner 3273501a5a
Address drop UX feedback (#180343)
- Reduce margin on button
- Change icon to insert
- Try to align styling to match other editor widgets
- Use capital casing on entries
2023-04-19 19:05:56 +02:00
Matt Bierner 2f07466dfc
Allow dropping images into notebook cells to create attachments (#180256)
* Allow dropping images into notebook to create attachments

Fixes #157577

This allows you to drag and drop image files or image data into a notebook cell to create an attachment

As part of this work, I also updated the paste attachment logic so that we can:

- Create multiple attachments in a single operation
- Create attachments of other mime types besides `image/png`
- Create attachments for images that have spaces in the filename

* Also allow pasting uri lists to create attachments

* Fix indent

* Add id
2023-04-19 09:39:04 -07:00
Matt Bierner 4f5c7b295c
Allow copying images from image preview (#180269)
Allow copying image from image preview

Fixes #171616

Lets you cmd+c / right click to copy images from the image preview

Also disables the copy/paste options in the other media previews since they don't currently support copying
2023-04-18 19:19:09 -07:00
Matt Bierner 6fefe056e2
Don't show JS/TS loading indicator eagerly (#180265)
This fixes the loading indicator showing when an extension opens an in-memory JS file that doesn't belong to any project
2023-04-18 19:14:49 -07:00
Matt Bierner f24d50369f
Add note on required TS version to setting (#180271) 2023-04-18 19:14:17 -07:00
Connor Peet f5427eed53
remote: first cut at 'inline' remote resolvers
For web, it seems the most feasible direction for resolvers as we make
existing remote extensions 'web enabled' is to allow them to run in the
extension host. However, in no case will there just be a simple
websocket we can connect to ordinarily.

This PR implements a first cut at 'inline' resolvers where messaging is
done in the extension host. I have not yet tested them on web, where I
think some more wiring is needed to mirror desktop. Also, resolution of
URLs is not in yet. I think for this we'd want to do some service-worker
-based 'loopback' approach to run requests inline in the remote
connection, similar to what I did for tunnels...

Resolvers are not yet run in a dedicated extension host, but I think
that should happen, at least on web where resolvers
will always(?) be 'inline'.

Most of the actual changes are genericizing places where we specified
the "host" and "port" previously into an enum. Additionally, instead of
having a single ISocketFactory, there's now a collection of them, which
the extension host manager registers into when a managed resolution
happens.
2023-04-18 15:54:20 -07:00
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