1. 04 9月, 2020 2 次提交
  2. 03 9月, 2020 1 次提交
  3. 26 8月, 2020 1 次提交
  4. 26 6月, 2020 1 次提交
  5. 11 6月, 2020 1 次提交
  6. 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
  7. 08 4月, 2020 1 次提交
  8. 07 4月, 2020 1 次提交
  9. 06 4月, 2020 2 次提交
  10. 23 3月, 2020 1 次提交
  11. 16 12月, 2019 1 次提交
  12. 29 11月, 2019 1 次提交
  13. 15 11月, 2019 2 次提交
  14. 18 9月, 2019 1 次提交
  15. 10 9月, 2019 1 次提交
  16. 15 8月, 2019 3 次提交
  17. 18 7月, 2019 1 次提交
  18. 16 7月, 2019 5 次提交
  19. 15 7月, 2019 2 次提交
  20. 29 6月, 2019 1 次提交
  21. 17 6月, 2019 1 次提交
  22. 12 6月, 2019 6 次提交
  23. 11 6月, 2019 1 次提交
  24. 05 6月, 2019 2 次提交