Commit Graph

23175 Commits

Author SHA1 Message Date
isidor
e66d7db35d fixes #44553 2018-02-27 12:58:25 +01:00
Martin Aeschlimann
3293f204ce Searching within collapsed regions fails to scroll the match into view. Fixes #44330 2018-02-27 12:46:50 +01:00
Sandeep Somavarapu
d31961f900 Fix #44515 2018-02-27 12:43:10 +01:00
Benjamin Pasero
508109203b notifications - increase purge delay 2018-02-27 10:31:39 +01:00
Benjamin Pasero
a9b44c2065 ignore diagnostic-channel-publishers in console.log 2018-02-27 07:34:23 +01:00
Benjamin Pasero
c03526ba0c fix tests 2018-02-27 06:38:18 +01:00
Matt Bierner
fd2ea5fbf6 Fix reload command not working
Do not check that the contents are the same inside the webview itself. This is already handled at a higher level
2018-02-26 17:47:06 -08:00
Sandeep Somavarapu
0d65571563 Show built in actions in command pallette 2018-02-27 01:49:12 +01:00
Matt Bierner
2279b4d252 Scroll sync markdown editor with markdown preview (#44454)
Fixes #19459

Syncs the markdown preview's viewport with the markdown editor's using the proposed visible ranges API
2018-02-26 16:46:54 -08: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
978beebd0a Rename webviewOptions.keepAlive to retainContextWhenHidden to make it more clear what this option does 2018-02-26 15:51:15 -08:00
Peng Lyu
9b69b61eaf Fix microsoft/monaco-editor#567. We should filter section when it is provided 2018-02-26 15:25:49 -08:00
Alex Dima
ef3b4ddc6f Fixes #43514: Register default commands for undo and redo 2018-02-27 00:05:16 +01:00
Rachel Macfarlane
0a57823b7f Improve wording of see all running extensions 2018-02-26 14:54:27 -08:00
Alex Dima
814be2fd75 Fixes #39266: Don't run diff for computing edits in case of model update 2018-02-26 23:45:26 +01:00
Rachel Macfarlane
efc74018f2 I18n issue in the issue reporter, fixes #44203 2018-02-26 14:22:31 -08:00
Daniel Imms
174b9ad957 Adopt log service in terminal
Fixes #44442
2018-02-26 13:48:22 -08:00
Alex Dima
74b681b08a Avoid view model inconsistency 2018-02-26 22:12:18 +01:00
Alex Dima
5133a79e40 Avoid NPE 2018-02-26 22:12:18 +01:00
Peng Lyu
20b5c3a9b5 Fix microsoft/monaco-editor#610. avoid bootstrap collision with custom-checkbox. 2018-02-26 12:56:54 -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
Matt Bierner
e6105ab277 Add a way to 'pin' a markdown preview
Fixes #44429
2018-02-26 12:56:22 -08:00
Alex Dima
20ed3d9632 Fixes #44424: Add proposed API - TextEditor.visibleRanges 2018-02-26 21:28:09 +01:00
Daniel Imms
842780dd3c Make terminal outer margins 20px
Fixes #44154
2018-02-26 11:35:20 -08: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
Benjamin Pasero
de87042d3c notifications 💄 2018-02-26 18:20:22 +01:00
Benjamin Pasero
442903cb39 notifications - more commands 2018-02-26 18:11:55 +01:00
Johannes Rieken
43fbb43773 Merge pull request #42914 from Connormiha/optimize-context-key-change-event
Remove needless check for array in ContextKeyChangeEvent
2018-02-26 17:27:25 +01:00
Johannes Rieken
4dd25bb31e fix #42991 2018-02-26 17:14:58 +01:00
isidor
8f9fdee654 better instanceof check
fixes #43877
2018-02-26 16:56:14 +01:00
Benjamin Pasero
1e36fa88c6 notifications - avoid column-reverse for toasts 2018-02-26 16:54:21 +01:00
isidor
70358c4098 terminal: open split terminal with alt/ctrl click
fixes #43877
2018-02-26 16:52:09 +01:00
Alex Dima
6aadb1ad40 Send text editor properties updates in a single event 2018-02-26 16:51:57 +01:00
Alex Dima
ad63cf5a12 TextEditor.document is readonly 2018-02-26 16:51:57 +01:00
Rachel Macfarlane
f7e083097c Issue reporter mark down polish, fixes #44405 2018-02-26 07:50:10 -08:00
Benjamin Pasero
ff8d9dc567 notifications - prevent layout on hidden toasts 2018-02-26 16:43:23 +01:00
Sandeep Somavarapu
e41f52b4b7 Fix #43346 2018-02-26 16:41:02 +01:00
Sandeep Somavarapu
34a73521da #43978 Generate read me from extension name and description 2018-02-26 16:26:41 +01:00
isidor
a90be3e1ab breakpoint icons (include function breakpoint icons)
fixes #43763
2018-02-26 16:11:44 +01:00
Sandeep Somavarapu
39265a74ff Fix #43521 2018-02-26 15:13:04 +01:00
Sandeep Somavarapu
7b99b15c26 💄 documentation 2018-02-26 15:07:08 +01:00
Benjamin Pasero
5c0716bfe2 notifications - fix broken height compute 2018-02-26 15:00:09 +01:00
Sandeep Somavarapu
e561db9c84 #43216 Set icon from theme when just theme icon is provided 2018-02-26 14:59:47 +01:00
isidor
872de2a131 debug launch: if there is only 1 folder take that one for resolving 2018-02-26 14:56:10 +01:00
Alex Dima
c0db838ed5 Fixes #44360: Only warn ctrl+alt+ for core keybindings (not for extensions) 2018-02-26 13:54:29 +01:00
Martin Aeschlimann
3a79bc5bdd Improve ThemeIcon documentation. For #43216 2018-02-26 13:11:49 +01:00
Benjamin Pasero
a23edada50 debt - avoid deprecated Buffer ctors 2018-02-26 13:09:54 +01:00
Alex Dima
0c1cb4571f Warn only if grammar paths are different 2018-02-26 13:08:56 +01:00
Alex Dima
f8cc441e21 Fixes #29033 2018-02-26 13:05:59 +01:00