mirror of
https://github.com/appium/appium.git
synced 2026-05-03 00:41:07 -05:00
592f9adcb1
In #18132, I found that parameter descriptions of commands were being omitted from the output. Those descriptions have to come from a method, because they cannot be expressed in their original location (a method map) via JS or a docstring. In addition, if an extension's implementation did not describe the parameters (e.g., in `@param` tags), we need to pull those descriptions out of `ExternalDriver` (assuming they exist). Furthermore, we were executing the conversion _too early_ in TypeDoc's lifecycle, since its internal plugins haven't run yet. One of those plugins actually moves the `@param` comments from the _signature_ into the appropriate parameter. Once those are there, we can find them. - Added a new list of "comment finders" which are parameter-specific (could probably do the same thing for return statements) - Moved some functions into different modules and renamed a couple things to be more accurate. - Update VSCode launch config - `CommandData` now requires a reflection of a method. This was true before, but not formalized
67 lines
1.7 KiB
JSON
67 lines
1.7 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"args": [
|
|
"--log-level=debug"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"_FORCE_LOGS": "1"
|
|
},
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"name": "Run Appium",
|
|
"program": "${workspaceFolder}/node_modules/.bin/appium",
|
|
"request": "launch",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"sourceMaps": true,
|
|
"type": "node"
|
|
},
|
|
{
|
|
"args": [
|
|
"--colors",
|
|
"--no-timeout",
|
|
"${file}"
|
|
],
|
|
"autoAttachChildProcesses": true,
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"name": "Test Current File w/ Mocha",
|
|
"program": "${workspaceFolder}/node_modules/.bin/mocha",
|
|
"request": "launch",
|
|
"runtimeArgs": [
|
|
"--require",
|
|
"ts-node/register"
|
|
],
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"**/node_modules/mocha/**",
|
|
"**/node_modules/lodash/**",
|
|
"**/node_modules/ts-node/**"
|
|
],
|
|
"sourceMaps": true,
|
|
"type": "node"
|
|
},
|
|
{
|
|
"console": "integratedTerminal",
|
|
"cwd": "${workspaceFolder}",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"name": "Typedoc",
|
|
"program": "${workspaceFolder}/node_modules/.bin/typedoc",
|
|
"args": ["--logLevel", "Verbose"],
|
|
"request": "launch",
|
|
"skipFiles": [
|
|
"<node_internals>/**",
|
|
"**/node_modules/lodash/**",
|
|
"**/node_modules/**/handlebars/**"
|
|
],
|
|
"sourceMaps": true,
|
|
"type": "node"
|
|
}
|
|
],
|
|
"version": "0.2.0"
|
|
}
|