Commit Graph

238 Commits

Author SHA1 Message Date
Johannes Rieken
b4472281fe make timer and context key service lazy (#159882) 2022-09-02 13:23:10 +02:00
Sandeep Somavarapu
9e18376452 make service instantiation lazy (#159680)
* #159178 make service instantiation lazy

* add comment

* update comment

* make comment clear about cyclic dep

* :lisptick:
2022-08-31 12:20:30 -04:00
Johannes
7c25cdb50d When calling registerSingleton you must signal if you support (or not) delayed instantiation 2022-08-26 16:13:36 +02:00
Joyce Er
fa4ff1519d Implement and adopt edit session identifier API proposal (#157733)
* Add canonical workspace identifier proposed API

* Use canonical id to store and resume edit sessions

* Add git extension workspace identity provider

* Fix warning incorrectly showing up

* Make auto resume behavior opt in

* * Create a separate service
* Accept WorkspaceFolder instead of URI
* Return string instead of object

* Make edit session restores resilient to provider registration races

* Introduce an activation event
* Activate contributing extension before using provider

* `CanonicalWorkspaceIdentity` -> `EditSessionIdentity`

* Show progress while resuming edit session

* Store edit session even if extension will take care of opening target workspace

* Address most of PR feedback

* `IEditSessionsWorkbenchService` -> `IEditSessionsStorageService`

* Unregister provider in renderer

* Split out proposal into new `editSessionIdentityProvider.d.ts`

* Fix bad merge

* Always show progress in window

* Convert URI schemes
2022-08-19 08:01:43 -07:00
Henning Dieterichs
6519955afa Fixes 2022-07-20 10:57:44 +02:00
Henning Dieterichs
d29ab10eb6 Implements telemetry for bracket colorizer 2 extension usage 2022-07-18 16:55:11 +02:00
Johannes Rieken
5315bc8567 Merge pull request #155321 from microsoft/joh/innocent-tiger
joh/innocent tiger
2022-07-15 20:48:09 +02:00
Henning Dieterichs
8630720a0b Fixes #155179 by implementing DeprecatedExtensionMigratorContribution (#155318)
* Fixes #155179 by implementing DeprecatedExtensionMigratorContribution

* Fixes CI.
2022-07-15 18:15:12 +02:00
Johannes
1be8606b70 make snippet-contribution a proper contrib-file, remove local registration into contrib-file, move command into their own folder, have a command to populate a file from a top-level snippet 2022-07-15 16:55:14 +02:00
Johannes Rieken
261e65f44e joh/issue154804 (#154909)
* add action to reset menu hidden states, add actions.contribution file for service and command registration

* some 💄
2022-07-12 13:55:10 +02:00
Sandeep Somavarapu
2638da7780 do not scan web extensions in desktop (#154851) 2022-07-11 20:36:47 +00:00
Joyce Er
934408aea7 Debt - sessionSync -> editSessions (#154289) 2022-07-06 11:03:38 -07:00
Sandeep Somavarapu
396896e18e Adopt import and export features (#153379) 2022-06-27 14:12:44 -07:00
Sandeep Somavarapu
6f1cdd1469 Merge branch 'main' into sandy081/settingsProfile 2022-06-13 13:11:47 +02:00
Joyce Er
7b6ca7b23d Initial implementation of Continue Edit Session (#151528) 2022-06-10 11:40:10 -07:00
Sandeep Somavarapu
5178151d23 Merge branch 'main' into sandy081/settingsProfile 2022-06-01 14:12:03 +02:00
Johannes
c87131372a Merge branch 'main' into 3wm 2022-05-24 14:09:17 +02:00
Sandeep Somavarapu
86d085dbca - Save settings profile
- Switch settings profile
- Remove settings profile
- Status bar entry
2022-05-23 00:57:58 +02:00
Sandeep Somavarapu
129d52819a support scanning, installing and uninstalling extensions in a profile 2022-05-21 19:46:06 +02:00
Matt Bierner
116c10e0ee Add drop into editor option (#147049)
* Add drop into editor option

This change adds a new `enableDropIntoEditor` editor option that enables/disables dropping an extermal resources into an editor

Previously this option was exposed `IEditorConstructionOptions`, however this did not correctly disable drop into editor when dragging and dropping unknown types (such as dragging emoji from the MacOS emoji panel)

With this change, disabling `workbench.editor.dropIntoEditor.enabled` should fully disable the new drop into behavior

* Move drop into editor from workbench to editor

This moves the `dropIntoEditorContribution` from the workbench layer to the platform layer

As part of this change, I also add to move `extractEditorsDropData` up to `platform` so that it could be used from the `editor` layer

This change also enables drop into for the SCM message box

* Fixing monaco errors

* Revert id change
2022-05-17 11:35:04 -07:00
Johannes
34d31f4b9e merge editor kick off 2022-05-09 14:09:00 +02:00
Sandeep Somavarapu
d080b3aad7 Merge branch 'main' into issue/146729 2022-04-22 23:53:36 +05:30
Sandeep Somavarapu
5b242ed4ff Implement export/import profiles
- Introduce workbench profile service
- Implement settings, global state, extension profiles
- Implement import/export profile actions
2022-04-22 23:51:05 +05:30
Jackson Kearl
bd95a8d451 Implement language detection for notebook cells (#147537)
* Implement language detection for notebook cells

* Add lightbulb for normal text editors as well
Clean up mapping of language id's in neural model
Add config to opt out of language detection hints
2022-04-20 20:38:20 -07:00
Matt Bierner
23c7781b9f Create drop into editor contribition
Will use this to add a default implementation and other features for drop into editor
2022-04-04 15:56:27 -07:00
Benjamin Pasero
f592d91cf3 history - limit long running shutdown handling to desktop only 2022-03-13 10:06:46 +01:00
Benjamin Pasero
783d298131 history - first cut timeline provider for local history 2022-03-10 13:08:05 +01:00
Benjamin Pasero
0ffc55fa16 history - first cut cloneFile use from saved working copies 2022-03-09 14:02:44 +01:00
Jackson Kearl
1e87338e95 Fix #142482 2022-03-01 14:03:41 -08:00
Johannes Rieken
0ccf2b289d use audio cue to signal no inlay hints can be read 2022-02-21 12:23:19 +01:00
Johannes Rieken
54dec24a4d Merge pull request #141872 from microsoft/joh/langFeatures 2022-02-01 10:40:19 +01:00
Johannes Rieken
7a5b86a757 Merge pull request #141919 from microsoft/joh/surroundWith 2022-02-01 09:28:02 +01:00
Johannes Rieken
91b2a50b51 Merge branch 'main' into joh/surroundWith 2022-02-01 09:02:23 +01:00
Benjamin Pasero
35605fb7fc 💄 workbench history service 2022-02-01 09:00:12 +01:00
Johannes Rieken
86916f8ca7 Merge branch 'main' into joh/langFeatures 2022-01-31 17:31:28 +01:00
Alex Dima
afc96a0eba Move menusExtensionPoint.ts to /workbench/services/ (#141003) 2022-01-31 16:55:45 +01:00
Johannes Rieken
5dc873f464 move ReferenceProviderRegistry into new ILanguageFeaturesService service 2022-01-28 18:19:52 +01:00
Johannes Rieken
9dc61b71dd add a surround with snippet command, https://github.com/microsoft/vscode/issues/86397 2022-01-27 14:25:38 +01:00
Benjamin Pasero
afb3140beb welcome - introduce dedicated top level folders (#141138)
* welcome - introduce dedicated top level folders

* Remove special rules for `contrib/welcome`

* fix svgs

* fix layers lint

Co-authored-by: Alex Dima <alexdima@microsoft.com>
2022-01-22 09:21:56 +01:00
Benjamin Pasero
c94b7dc5ad web - lift some browser specific things to browser layer 2022-01-21 13:44:45 +01:00
Matt Bierner
eb3625842c Move code action contributions into browser
Fixes #140985
2022-01-19 20:44:20 -08:00
Alex Dima
d018132104 Move defaultWorkerFactory.ts to /browser/ (#140857) 2022-01-17 17:23:31 +01:00
Sandeep Somavarapu
375506823f Merge branch 'main' into sandy081/fix140120 2022-01-08 00:37:53 +01:00
Sandeep Somavarapu
2766a74d2a - move migration into a util function
- extract extension storage methods to a separate service
2022-01-08 00:36:52 +01:00
Henning Dieterichs
8bb3448eb3 Merge pull request #140044 from microsoft/hediet/breakpointHitSounds
Play a sound whenever a breakpoint is hit.
2022-01-07 13:51:43 +01:00
Henning Dieterichs
675014ed53 Play a sound when the cursor enters a line with a breakpoint. 2022-01-05 16:16:10 +01:00
Ladislau Szomoru
25553c854d Remove unnecessary import 2022-01-04 12:06:14 +01:00
Benjamin Pasero
252abfe90a 💄 main files 2022-01-04 11:21:53 +01:00
Alex Dima
e8838f1062 More renames 2021-12-29 00:40:24 +01:00
Alex Dima
c8e2fd7bae Renames 2021-12-29 00:37:35 +01:00