-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump api * tracing (wip) * wip * mostly working * small fixes * wip * try to fix profile converter
- Loading branch information
1 parent
ca4c26f
commit 47fff9f
Showing
20 changed files
with
501 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Change Log | ||
|
||
## [1.7.14] 2024-10-23 | ||
|
||
### Added | ||
|
||
- display performance traces | ||
|
||
## [1.7.12] 2024-09-23 | ||
|
||
### Fixed | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
import { Command, Uri, commands } from "vscode" | ||
import { AbapFsCommands, command } from "../../commands" | ||
import { TraceRunItem, TraceView, tracesProvider } from "./views" | ||
import { adtProfileUri } from "./fsProvider" | ||
import { getOrCreateClient } from "../../adt/conections" | ||
|
||
|
||
export class Commands { | ||
|
||
@command(AbapFsCommands.refreshTraces) | ||
private async openTrace(view: TraceView) { | ||
if (view.contextValue === "configfolder" || view.contextValue === "runfolder" || view.contextValue === "system") | ||
tracesProvider.emitter.fire(view) | ||
} | ||
|
||
@command(AbapFsCommands.deleteTrace) | ||
private async deleteTraces(item: TraceView) { | ||
if (item.contextValue === "run") { | ||
const client = await getOrCreateClient(item.connId) | ||
await client.tracesDelete(item.run.id) | ||
tracesProvider.emitter.fire(tracesProvider.root(item.connId)?.runs) | ||
} | ||
if (item.contextValue === "configuration") { | ||
const client = await getOrCreateClient(item.connId) | ||
await client.tracesDeleteConfiguration(item.config.id) | ||
tracesProvider.emitter.fire(tracesProvider.root(item.connId)?.configs) | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
export const openCommand = (uri: Uri): Command => ({ title: "Open", command: "vscode.open", arguments: [uri] }) |
Oops, something went wrong.