Commit Graph

21761 Commits

Author SHA1 Message Date
Sandeep Somavarapu
685f8f40bf Implement #41759 2018-01-17 18:33:26 +01:00
Sandeep Somavarapu
0880691a19 Implement #41751 2018-01-17 17:03:23 +01:00
Sandeep Somavarapu
49f938b9b7 💄 2018-01-17 17:03:23 +01:00
Sandeep Somavarapu
044a8be8b2 Introduce more error categories 2018-01-17 17:03:23 +01:00
isidor
da08a3550a fix close all editors in group when triggered via keybinding 2018-01-17 16:46:22 +01:00
isidor
38e165395b bring back save all files to command palette
fixes #41734
2018-01-17 16:39:16 +01:00
Alex Dima
160bfdedb4 Folding is not supported for huge files 2018-01-17 15:45:45 +01:00
Alex Dima
e2179ca10b Add more TextModel tests 2018-01-17 15:45:15 +01:00
Alex Dima
e5ba93712f Clarify argument type 2018-01-17 15:44:16 +01:00
Alex Dima
4d01741c48 Optimize away looping through lines for huge files 2018-01-17 15:42:27 +01:00
Alex Dima
a27776bfd8 Validate offset before passing it down 2018-01-17 15:41:19 +01:00
Alex Dima
5507f635bd Move RawContentChange events creation to TextModel 2018-01-17 15:36:09 +01:00
isidor
27f7c0bcea fix cmd + w not working when wrong list selected 2018-01-17 13:01:29 +01:00
isidor
0665fd2b8c explorer input box: restore focus based on blur
fixes #41559
2018-01-17 12:49:05 +01:00
Benjamin Pasero
70924ef4ea multi select - wire context keyservice properly 2018-01-17 12:01:27 +01:00
isidor
b517040924 "Toggle Side Bar Location" -> "Toggle Side Bar Position"
fixes #41663
2018-01-17 11:21:51 +01:00
Sandeep Somavarapu
524bf8bebc Merge pull request #41567 from Digized/master
Add copy command action to keybinding editor context menu
2018-01-17 10:54:51 +01:00
isidor
ba0690523d fix save all across groups 2018-01-17 10:51:40 +01:00
isidor
1cb7f35539 fix close unmodified command 2018-01-17 10:41:56 +01:00
isidor
aa1e5e7ecf TreeViewsViewlet no action if expanded state does not change
fixes #41706
2018-01-17 10:27:46 +01:00
Benjamin Pasero
1cbacf4b6a restore "..." menu for inactive editor groups 2018-01-17 08:22:54 +01:00
Johannes Rieken
54240a7bd3 also add the workspace name, #41408 2018-01-16 17:49:19 -08:00
Rob Lourens
2809ed713f Include groupId in copySetting pref telemetry 2018-01-16 12:57:51 -08:00
Matt Bierner
cbf9ae23ed Allow loading webview outside of file: origin (#41698)
* Allow loading webview outside of file: origin

**Problem**
Webviews are currently always loaded from a file on the disk. This results in the webview running in the file origin, potentially allowing it to access any file on disk. If a webview fails to sanitize workspace or remote input, untrusted code could potentially access files on the user's system.

**Fix**
Add a new option to serve the webview out of a "data:" uri instead. This prevents access to `file://` resources.

In order to allow webviews to still load resources from disk, add a new protocol called `vscode-core-resource://` that only allows access to resources inside of the vscode directory.

Moves extension pages and our release notes to use this new option. These already are pretty locked down. We cannot move the htmlpreview command to use this option as it would break a huge number of existing extensions, however the new webview API will always have this new option enabled.

* Shorted protocol name
2018-01-16 12:50:14 -08:00
Johannes Rieken
42de6cc82f add TextSearchOptions, only search in folder contributed by provider, #41536 2018-01-16 12:31:40 -08:00
Rob Lourens
205c49a94c Fix settings search telemetry metadata for settings edited from editable side of settings editor 2018-01-16 11:04:40 -08:00
Johannes Rieken
4b5c0ec9d1 remote - a few more todo-tags after a 'file'-scheme search 2018-01-16 10:59:37 -08:00
Johannes Rieken
688f853578 use extfs#watch, #41700 2018-01-16 10:42:27 -08:00
Johannes Rieken
f17d0bcc82 set problems.decorations.enabled to true, #782 2018-01-16 10:20:08 -08:00
Johannes Rieken
4a45d92f04 slight follow up on #38636 2018-01-16 10:19:20 -08:00
Sandeep Somavarapu
e48281d14b #35462 Store the hidden views in global storage 2018-01-16 19:03:26 +01:00
Benjamin Pasero
c0cfc0e20d 💄 2018-01-16 18:25:41 +01:00
Benjamin Pasero
48628fb65e log editorGroupMoved 2018-01-16 18:20:51 +01:00
isidor
d53bb74cce fix cmd+w not working 2018-01-16 18:18:44 +01:00
Benjamin Pasero
b939d90808 fix #40224 2018-01-16 18:04:46 +01:00
Sandeep Somavarapu
b5bf2f90db #41071 Show the view on selected if hidden 2018-01-16 17:24:42 +01:00
Sandeep Somavarapu
e22eb95064 #41071 Add view category to the commands 2018-01-16 17:15:25 +01:00
Sandeep Somavarapu
543bcec6ef Fix #41071 2018-01-16 17:06:48 +01:00
Sandeep Somavarapu
f86c0f9a91 Remove the handle from the system when handle changes 2018-01-16 17:06:47 +01:00
Sandeep Somavarapu
c66517cf0d Fix #40018 2018-01-16 17:06:47 +01:00
Sandeep Somavarapu
ee287dda6d Merge branch 'master' into sandy081/40018 2018-01-16 17:05:48 +01:00
isidor
49c5b17dc7 todo@isidor 2018-01-16 16:55:15 +01:00
isidor
b6e0f97f97 open editors: multi select dnd 2018-01-16 16:51:49 +01:00
isidor
3f38333b9b getMultiSelectedEditorContexts 2018-01-16 15:53:21 +01:00
isidor
f9237aa2e9 udpate explorer.openEditors.visible docs 2018-01-16 15:39:27 +01:00
isidor
bc0450fe44 get rid of IEditorContext, use IEditorIdentifier instead 2018-01-16 15:16:30 +01:00
isidor
c74f95d1dc close editors and close other editors multi select aware 2018-01-16 12:57:39 +01:00
isidor
45dccb50be close editors multi select aware 2018-01-16 11:50:16 +01:00
isidor
592e8761a3 open editors view: remove unused actions 2018-01-16 11:50:06 +01:00
isidor
16bcbe1907 close all unmodified multi select aware 2018-01-16 11:19:30 +01:00