Commit Graph

1807 Commits

Author SHA1 Message Date
Matt Bierner
ab1669f898 Revert "Revert "Avoid using import x = require('...')""
This reverts commit 27256832f3 which turns out did not break the import of vs/nls
2018-03-15 10:17:18 -07:00
Dirk Baeumer
a4cf2abe7e First cut of #45664: Add API to query and execute tasks 2018-03-15 18:02:04 +01:00
Johannes Rieken
5685bcd524 try a different variant of getDiagnostics... #30075 2018-03-15 15:05:45 +01:00
Johannes Rieken
8d022273dd add DiagnosticRelatedInformation, #10271 2018-03-15 11:43:31 +01:00
Matt Bierner
27256832f3 Revert "Avoid using import x = require('...')"
This reverts commit 7de696a202.

Seems to have broken loading vs/nls in at least one case in insiders
2018-03-15 00:47:33 -07:00
Matt Bierner
7de696a202 Avoid using import x = require('...')
Don't use this import form in places where it is not needed. This prevents us from correctly detecting duplicate imports
2018-03-14 14:45:59 -07:00
Matt Bierner
81767beaca Make Event a named export
There are many places in the code that do `import Event, { ...} from '.../event'`.
2018-03-14 14:25:30 -07:00
Matt Bierner
f94cea3742 Mark private emitters as readonly 2018-03-14 13:57:38 -07:00
Matt Bierner
82084be1bc Switch to use vscode-resource scheme in webviews
Fixes #45784
2018-03-14 11:25:40 -07:00
Johannes Rieken
185630f925 add MarkerSeverity, #44141 2018-03-14 13:23:09 +01:00
Johannes Rieken
f4c997a5c9 back to simple getDiagnostics-function, #30075 2018-03-14 12:42:38 +01:00
Johannes Rieken
ec091c2c01 add DiagnosticChangeEvent #30075 2018-03-14 11:00:42 +01:00
Ramya Achutha Rao
366c8eb9c3 publisherDisplayName is PublicPersonalData 2018-03-13 19:18:09 -07:00
Matt Bierner
68c78176af Fixes unknown webview on postMessage
Fixes #45555. These errors will now show up in #45553
2018-03-13 14:24:56 -07:00
Matt Bierner
1ec4b811be Adding vscode.executeTypeDefinitionProvider command
Fixes #45652
2018-03-13 10:39:44 -07:00
Matt Bierner
834e14309e Extract duplicated mapping code 2018-03-13 10:39:44 -07:00
Martin Aeschlimann
c65b881d16 [folding] add maxRanges to folding provider request 2018-03-13 17:49:09 +01:00
Johannes Rieken
3aea86db79 proposed event for when diagnostics change, #30075 2018-03-13 17:48:54 +01:00
Johannes Rieken
362485e390 some early sketches of a read api #30075 2018-03-13 15:52:08 +01:00
Johannes Rieken
e9d92ca9a7 align names, add RenameContext-type #7340 2018-03-13 11:59:32 +01:00
Dirk Baeumer
ddd44e0ae9 Fixes #45576: Allow users to control quoting in tasks 2018-03-12 12:09:16 +01:00
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