PlayFab / vscode-playfab-explorer

PlayFab Explorer extension for VS Code
Other
23 stars 10 forks source link

ListXXXFunctions support #69

Closed MGudgin closed 4 years ago

MGudgin commented 4 years ago

This PR adds support for calling the ListHTTPFunctions and ListQueuedFunctions APIs.

Details

Add playfabExplorer.listHttpFunctions and playfabExplorer.ListQueuedFunctions commands to package.json, along with corresponding menu items.

Move local debugging and classic CloudScript menu items into their own menu groups.

Add listHttpFunctions and listQueuedFunctions methods to PlayfabExplorer; register said methods with the appropriate menu commands.

Add getMarkDownForHttpFunctionList and getMarkDownForQueuedFunctionList methods to PlayFabExplorer, along with a getNewLineForCurrentPlatform and getListMarkDown methods that are used by those two methods and by getMarkDownForFunctionList. The getListMarkDown method returns markdown for the static content such as the column headers.

Add tests for ListHTTPFunctions and ListQueuedFunctions to explorer.tests.ts.

Amend 'Run Extension Tests' in launch.json to 'Run Tests' to avoid confusion with 'Run Extension' when the tree view portion of the VS Code UX is narrow.

Fix a case where the chooseStudio resource string was being used instead of the chooseTitle resource string.