Commit Graph

35951 Commits

Author SHA1 Message Date
isidor 559d2be8ab fixes #52748 2018-06-25 14:15:31 +02:00
Johannes Rieken b10cad5e0d fix #46266 2018-06-25 13:50:39 +02:00
Sandeep Somavarapu 4a23d5f500 Review comments and fix tests 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu accd32a120 Code review feedback and remove double click command 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu 3f86ddfada Introduce double click command 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu dae08eccaa update doc 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu edefeac3a5 Add doc 2018-06-25 12:37:58 +02:00
Sandeep Somavarapu 752db2bacc Add support for visibility and focus 2018-06-25 12:37:57 +02:00
Sandeep Somavarapu 5e0cd08dcb selection change event 2018-06-25 12:37:57 +02:00
Sandeep Somavarapu a28cde1bf7 Fix tests 2018-06-25 12:26:40 +02:00
Sandeep Somavarapu bd7d264786 Support uninstall action for multiple extension management servers 2018-06-25 12:26:40 +02:00
Sandeep Somavarapu a8f5bf8950 Adopt recommendations
- Get recommendation source along with recommendations
- Add recommendation source to extensions
- Adopt recommendations for muliple management
2018-06-25 12:26:40 +02:00
Benjamin Pasero 3de9efd43b fix #52615 2018-06-25 12:25:40 +02:00
Johannes Rieken 81f8c8bfb2 show snippets that start with a trigger character, #37166 2018-06-25 12:19:00 +02:00
Benjamin Pasero 80e64972b7 fix #52491 2018-06-25 12:13:24 +02:00
Benjamin Pasero 26b1f14421 ipc: log signal also when process crashes 2018-06-25 11:49:11 +02:00
Ramya Rao 5d6156a0f8 Show lang pack availability msg in English as well (#52706) 2018-06-25 01:14:14 -07:00
Johannes Rieken 66a1bb7fe8 fix #51769 2018-06-25 10:05:36 +02:00
Benjamin Pasero e47a9c9eef revert electron 2.0.x update 2018-06-25 09:28:34 +02:00
Rob Lourens d5ad3572c4 Bump node-debug2 2018-06-24 15:09:00 -07:00
Ronald Rey 5eea6bcc4d Add "Recommend" action to extension viewlet (#50419)
* Add "Recommend" action to extension viewlet

Related to #13456

* Address PR requested changes

* Change functionality and UX

- Button goes from "Add to workspace recommendations" (clickable) to
  "Adding to workspace recommendations..." (unclickable) to
  "Added to workspace recommendations" (unclickable).
- It is only visible if the current extension is installed and there's
  at least one folder in the root that doesn't have it recommended yet.
  In other words, if it's already recommended in every folder of the root,
  it is not visible.
- In a single-root setup, it's immediately added to the recommendations.
- In a multi-root setup, a quick-pick is displayed with only the folders
  where it is not yet recommended available as options.
- In a multi-root setup, the button will go back to
  "Add to workspace recommendations" (clickable) instead of the
  unclickable state if there are still folders remaining where the
  current extension is not yet recommended.
- An error or success notification is displayed after the work is done.
- Configuration files are created if don't exist, modified otherwise.

* Don't show the button if ext is recommended in ANY folder

In the previous commit, the button would be displayed as long as there
was at least one folder in the workspace where the extension wasn't
recommended.

Now, the button will be displayed only if the current extension is not
recommended in any of the folders, as suggested in
https://github.com/Microsoft/vscode/pull/50419#issuecomment-398216711

* Improvements based on PR suggestions

- Lowercasing the extension ID before comparing
- Directly styling & labeling the button on the `run` command after work is done instead of calling `update`.
- Fix & delete unnecessary styles

* Expose feature as command instead of button

After a discussion with @ramya-rao-a and other members of the team,
it was decided that it wasn't reasonable to have a dedicated button for
a feature that's rarely used in such a visible place.

So instead, the action will be exposed as a command that will only be
available when there's an extension open in the editor area. In contrast
with the previous implementation, this has the added benefit of
allowing the user to use this action to recommend uninstalled
extensions as well.

* Simplify conditions for AddToRecommendations action

* Move comments so that they dont get erased when recommendations are added programatically

* Remove from unwanted before adding to recommendations

* Array improvements

* Friendly error msg
2018-06-24 12:21:21 -07:00
João Moreno ba69c69a83 Merge pull request #52765 from Microsoft/joao/win32-user-install
Win32 User Install
2018-06-24 20:42:59 +02:00
Rob Lourens 3846925567 Settings editor - fix measuring items with wrong template 2018-06-24 11:28:26 -07:00
Rob Lourens 74ccd2dffa Fix #52758 - Don't add 'undefined' include/exclude keys for findFiles 2018-06-24 11:28:26 -07:00
EbXpJ6bp 4ae06bd92f Improve Extension editor UI (#52126)
Improve Dependencies and Contributions UI in the Extension editor
2018-06-24 10:57:10 -07:00
Rob Lourens 21d654c742 Fix #52607 - expose refreshSearchResults as command so users can add keybindings 2018-06-23 20:43:43 -07:00
Rob Lourens dba25f9bee Fix #52584 - more descriptive label for "clear search results" button 2018-06-23 20:35:07 -07:00
Rob Lourens f2b1432b59 Settings editor - left-align reset button 2018-06-23 19:11:39 -07:00
Andre Weinand 99a9b0a06d node-debug@1.25.3 2018-06-23 18:27:08 +02:00
Rob Lourens e7a2321e22 Settings editor - checkbox/textbox styling 2018-06-22 18:46:59 -07:00
Rob Lourens a5bfda035f Settings editor - 💄 2018-06-22 17:57:17 -07:00
Rob Lourens eaec01e005 Settings editor - force double-click open mode on TOC 2018-06-22 16:42:01 -07:00
Rob Lourens 8dd6ff6d92 Settings editor - sync scroll from settings tree to TOC tree 2018-06-22 16:29:52 -07:00
Ramya Achutha Rao c3ad978982 Escape $ when wrapping Fixes #52640 2018-06-22 14:57:03 -07:00
Rob Lourens 8be20697c0 Settings editor - use inline checkbox control 2018-06-22 13:46:16 -07:00
Rob Lourens e0fbb4294b Change custom Checkbox to expose an onChange Event instead of taking an onChange callback in options.
Otherwise it's impossible to reference the checkbox from inside the callback while constructing a Checkbox
2018-06-22 12:54:25 -07:00
Rob Lourens bf4f7de576 Settings editor - move checkbox next to description 2018-06-22 12:54:25 -07:00
Rob Lourens dcf85b665f Settings editor - larger space between description and value 2018-06-22 12:54:25 -07:00
Ramya Achutha Rao 51c1f85fab Revert expanding only non empty views as that would override user choice #52442 2018-06-22 11:53:20 -07:00
Ramya Achutha Rao eae9075aba Avoid Installed in default to avoid duplication #52442 2018-06-22 11:31:37 -07:00
Rob Lourens b15c521c74 Settings editor - tweak padding and spacing 2018-06-22 11:13:01 -07:00
Jackson Kearl 19c390e647 Fix error messag bug and imporve test case (#52698) 2018-06-22 10:40:35 -07:00
isidor 65dd9c0548 fixes #52192 2018-06-22 17:37:49 +02:00
Martin Aeschlimann d24404ee1d Do not use exceptions for missing grammars. Fixes #52692 2018-06-22 17:24:30 +02:00
Martin Aeschlimann 1f79465e8c monaco tokenize API polish 2018-06-22 16:34:56 +02:00
Martin Aeschlimann ee0be29c7e monaco tokenize2 fixes 2018-06-22 16:34:56 +02:00
Martin Aeschlimann 940ad8198f tokenizer2 APIs for monaco 2018-06-22 16:34:56 +02:00
Joao Moreno fc38f66eb9 improve user setup background update flow 2018-06-22 16:29:36 +02:00
Sandeep Somavarapu 47c891a656 fix tests 2018-06-22 16:24:16 +02:00
Sandeep Somavarapu 2949596d85 fix bugs 2018-06-22 16:11:18 +02:00