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