* 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
* Set a max-height on comments and add vertical scrolling (#174629)
* Move `max-height` to stylesheet
---------
Co-authored-by: Alex Ross <alros@microsoft.com>
* Have issue reporter use service injection
The main part of this change is pulling out the IssueReporter class into its own file and then having the Main.ts file be all about initialization.
This will be easier to register remote services (to help get rid of all the raw IPC)
* add external for clarity
* Add fast path for margin decoration access
* Support glyph margin decoration lanes
* Do not center extension-contributed decorations
* Show breakpoints in dedicated right lane
* Only recompute lane count if glyph margin was affected
* Add explicit type for className / zIndex pair and fix problems in other consumers of `DedupOverlay`
* Avoid arrays of arrays
* Figure out if two lanes are needed in O(N)
---------
Co-authored-by: Alex Dima <alexdima@microsoft.com>
* 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
Fixes#156384
Makes the languageFeature order providers from extension before built-in providers if they would otherwise score the same
This is useful for drop because if you install an extension, you likely want it to be used by default on drop
Longer term, I plan to add an option to switch which provider is used after the drop is made and potentially also allow configuring the default provider. However I find this new behavior is a good default
* Cache view type provider for missing extension restore.
* Re #179224. Customize action for save error.
* polish
* No delay for persisting view type memento
* Use log service instead of console
* dispose listener if extension installation/enablement fails
---------
Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Split uri-list drop provider into two
This splits the built-in uri list drop providers into two: one that inserts relative paths and one that inserts full paths/uris
Also improves the labels for these drop edits
Makes sure that both drop and paste providers support wildcard matching and can also use the special `files` type to indicate that they should be invoked if there are any files