Commit Graph

1636 Commits

Author SHA1 Message Date
Sandeep Somavarapu
24420491eb Fix #45340 2018-03-09 10:56:08 +01:00
Andre Weinand
9389389e42 add correct bp location; fixes #44433 2018-03-07 16:12:51 +01:00
Sandeep Somavarapu
81f1deec2f #39576 Use proxy only for extension calls 2018-03-06 16:21:47 +01:00
Johannes Rieken
18b94d09a6 fix #45124 2018-03-06 11:39:27 +01:00
Sandeep Somavarapu
98ef6607e6 Fix #39576 2018-03-05 17:33:33 +01:00
Johannes Rieken
e5be4d8f7d more strict type conversion #7340 2018-03-02 17:28:16 +01:00
Johannes Rieken
78a2f08d69 rename to RenameInformation, #7340 2018-03-02 17:28:16 +01:00
Johannes Rieken
675e09114f ignore and blame bad content provider events, #44398 2018-03-02 16:05:21 +01:00
Matt Bierner
5994f5f90e Fix onDidChangeActiveWeview not getting fired when switching away from webviews 2018-02-28 18:09:50 -08:00
Matt Bierner
66d38d0702 Use native promise 2018-02-28 18:09:49 -08:00
Matt Bierner
92a8e702b7 Make sure we clean up disposed webview 2018-02-28 18:09:49 -08:00
Sandeep Somavarapu
10438e9c5d Fix #44735 2018-02-28 15:51:23 +01:00
Matt Bierner
b60267b17c Delete webview input on dispose 2018-02-28 00:25:13 -08:00
Matt Bierner
a989220093 Add title to webviewCreate
Part of #44579
2018-02-28 00:25:13 -08:00
Benjamin Pasero
f2ffc972c2 Make workspace folder modification API stable (#44049)
* make API stable

* make deleteCount: number | undefined | null
2018-02-27 14:39:02 +01:00
Matt Bierner
6b743d8c61 Prevent multiple markdown previews of the same type in the same editor group 2018-02-26 16:35:57 -08:00
Matt Bierner
4d95590a81 Use onDid* type event names in webview 2018-02-26 15:51:15 -08:00
Matt Bierner
26cbbea694 Add webview.show method to show a webview in a given group
Fixes #44430
2018-02-26 12:56:23 -08:00
Alex Dima
20ed3d9632 Fixes #44424: Add proposed API - TextEditor.visibleRanges 2018-02-26 21:28:09 +01:00
Matt Bierner
2038b8fc7f Webview API prototype 3 (#44307)
* Webview API prototype 3

Part of #43713

Third try at refining the webview api. This pass reworks  #44165.  Major changes:

- Adds an `id` field to webviews. The id is provided by the extension and identifies the webview. It is used with the new event handling apis.

- Adds a new `onDidChangeActiveEditor` api. This is similar to `onDidChangeActiveTextEditor` but is also fired when you change webviews. It replaces the old `onFocus` and `onBlur` events on the webview itself

- Adds an `onDispose` event ot webviews. This is fired when a webview is closed by the user

- Perist webview state when the editor group changes. This is enabled for all webviews, not just those with keep alive.

* Throw error when trying to access disposed webview

* Improving webview documentation

* Clean up dispose management

* Throw if we receive a bad handle

* Move more event handling to input

* Simplify input updating

* Remove extra container property

* Fixing md security alert button

* Remove extra update container call

* Restore syncing of preview to active editor

* Fixing posting to webview

* Debounce preview updates

* Remove previewUri

* Enable direct window.postMessage instead of window.parent.postMessage

* Fixing scroll position not preserved when updating previews

* Revert parent.postMessage change.

Old behavior was correct

* Properly hide webview container on tab switch

* Make sure we only handle scroll events for the correct document

* Don't try setting negative scroll

* Revert vs code whitespace change
2018-02-26 10:06:50 -08:00
Alex Dima
6aadb1ad40 Send text editor properties updates in a single event 2018-02-26 16:51:57 +01:00
Christof Marti
3de4e2f515 Log use of file search (fixes #43605) 2018-02-26 11:49:50 +01:00
Sandeep Somavarapu
1fe73ac78c 💄 #43216 2018-02-26 11:36:32 +01:00
Julien Roncaglia
03f66b39dd Merge remote-tracking branch 'upstream/master' into file_as_folder_in_custom_tree 2018-02-23 22:01:38 +01:00
Julien Roncaglia
46e9101dc1 ThemeIconCategory -> ThemeIcon 2018-02-23 22:00:11 +01:00
Sandeep Somavarapu
d9e9be8b0d Implement #30288 2018-02-23 18:04:35 +01:00
Sandeep Somavarapu
a4cfd33d7a #30288 Refactor: Hold treeItems in the node 2018-02-23 18:04:34 +01:00
Alex Dima
8bfa7ffd2e Move IExtensionService up to /workbench/ (fixes #44281) 2018-02-23 17:38:24 +01:00
Julien Roncaglia
29f6d542b8 Don't alias ThemeIconCategory 2018-02-23 13:45:22 +01:00
Julien Roncaglia
03caa411b5 Allow extensions to specify custom tree view resoure type
The FileKind was previously guessed from the collapsability of the item,
extensions now have the capability to set it manually.

Fixes #43216
2018-02-23 13:38:37 +01:00
Martin Aeschlimann
cd21d906ca [folding] fold comments / region 2018-02-23 08:31:06 +01:00
Martin Aeschlimann
0faa5d117c folding provider: first version 2018-02-22 14:13:22 +01:00
Andre Weinand
5d65365136 make breakpoints API final; fixes #43492 2018-02-20 16:40:45 +01:00
Benjamin Pasero
466ef767bb notifications - tweak wording of messages 2018-02-20 08:31:06 +01:00
Benjamin Pasero
9ab2056393 notifications - remove old message service and adopt new one 2018-02-19 17:57:12 +01:00
Matt Bierner
e1f33fbb07 Rename ext host / main thread editor to textEditor
Rename to make it more clear that these APIs are for `vscode.TextEditor`
2018-02-15 15:32:16 -08:00
Matt Bierner
c37e742023 Hookup basic webview.viewColumn 2018-02-15 15:27:39 -08:00
Matt Bierner
3412eab2ec Webview Api Prototype (#42690)
* Webview api

* Cleaning up markdown webview

* Hooking up dispose

* Fix some merge errors

* Use custom context key to show markdown title bar contributions

* Add basic on focus and on blur events

* Fixing find widget in webview

* Hookup _isDisposed

* Use new extension resource scheme to load markdown extension resources

* Documenting keep alive
2018-02-14 18:52:26 -08:00
Sandeep Somavarapu
950574c378 Fix #32012 2018-02-14 13:38:20 +01:00
Sandeep Somavarapu
8b827b40d7 Fix #43608 2018-02-14 10:13:22 +01:00
Sandeep Somavarapu
433c624560 Fix #43466 2018-02-13 12:36:21 +01:00
Sandeep Somavarapu
f965a2c51e Fix #43197 2018-02-13 11:34:56 +01:00
Sandeep Somavarapu
ea787762db #28974 Introduce place holder icons for nodes without icons 2018-02-09 18:24:00 +01:00
Sandeep Somavarapu
125ac04d1f Refactor custom views:
- Custom view service to get tree item viewer
- Custom view service to register the data provider
2018-02-09 18:24:00 +01:00
Benjamin Pasero
3a8d09ebec use Schemas.untitled everywhere 2018-02-09 12:35:31 +01:00
Matt Bierner
9c323a6142 Format extHostLanguageFeatures.ts 2018-02-08 15:06:56 -08:00
Matt Bierner
308c1887df Update extensions for TS 2.7
Update src to build with TS 2.7

Explicitly assign this.message in the else body
2018-02-08 14:28:55 -08:00
Alex Dima
53df86adbe Use URI for the SCM part of the protocol 2018-02-08 16:18:47 +01:00
Alex Dima
f322baeb66 Use URI for ExtHostDocumentsShape methods 2018-02-08 16:18:47 +01:00
Alex Dima
5b1d34e435 Use URI for IDocumentsAndEditorsDelta.removedDocuments 2018-02-08 16:18:47 +01:00