1. 08 5月, 2020 2 次提交
  2. 01 5月, 2020 1 次提交
  3. 27 4月, 2020 3 次提交
  4. 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
  5. 21 4月, 2020 1 次提交
  6. 20 4月, 2020 1 次提交
  7. 18 4月, 2020 1 次提交
  8. 14 4月, 2020 1 次提交
  9. 10 4月, 2020 2 次提交
  10. 09 4月, 2020 1 次提交
  11. 02 4月, 2020 1 次提交
  12. 31 3月, 2020 1 次提交
  13. 30 3月, 2020 2 次提交
  14. 28 3月, 2020 1 次提交
  15. 27 3月, 2020 5 次提交
  16. 26 3月, 2020 4 次提交
  17. 25 3月, 2020 2 次提交
  18. 23 3月, 2020 2 次提交
  19. 22 3月, 2020 1 次提交
  20. 20 3月, 2020 2 次提交
  21. 19 3月, 2020 5 次提交