1. 13 5月, 2020 1 次提交
  2. 12 5月, 2020 1 次提交
  3. 07 5月, 2020 1 次提交
  4. 06 5月, 2020 1 次提交
  5. 05 5月, 2020 3 次提交
  6. 01 5月, 2020 1 次提交
  7. 30 4月, 2020 4 次提交
  8. 28 4月, 2020 1 次提交
  9. 27 4月, 2020 1 次提交
  10. 24 4月, 2020 2 次提交
  11. 23 4月, 2020 1 次提交
  12. 22 4月, 2020 1 次提交
    • M
      Add SyncActionDescriptor.from helper (#95731) · 7aa60aef
      Matt Bierner 提交于
      * Add SyncActionDescriptor.from
      
      There are a whole lot of places in our code where have the following pattern:
      
      ```
      actionRegistry.registerWorkbenchAction(SyncActionDescriptor.create(CreateNewLocalTerminalAction, CreateNewLocalTerminalAction.ID, CreateNewLocalTerminalAction.LABEL));
      ```
      
      Notice how the class name has to be repeated  three times.
      
      This change introduces a helper function `SyncActionDescriptor.from` that lets you instead just pass in the class:
      
      ```js
      actionRegistry.registerWorkbenchAction(SyncActionDescriptor.create(CreateNewLocalTerminalAction));
      ```
      
      * Avoid cast
      7aa60aef
  13. 21 4月, 2020 7 次提交
  14. 18 4月, 2020 3 次提交
  15. 17 4月, 2020 1 次提交
  16. 16 4月, 2020 1 次提交
  17. 15 4月, 2020 1 次提交
  18. 06 4月, 2020 1 次提交
  19. 04 4月, 2020 1 次提交
  20. 31 3月, 2020 1 次提交
  21. 27 3月, 2020 1 次提交
  22. 25 3月, 2020 1 次提交
  23. 24 3月, 2020 3 次提交
  24. 22 3月, 2020 1 次提交