Skip to content

Allow user to select TensorBoard plugin missing profiler source files using file picker#15993

Merged
joyceerhl merged 7 commits into
microsoft:mainfrom
joyceerhl:dev/joyceerhl/jump-to-source-prompt
Apr 21, 2021
Merged

Allow user to select TensorBoard plugin missing profiler source files using file picker#15993
joyceerhl merged 7 commits into
microsoft:mainfrom
joyceerhl:dev/joyceerhl/jump-to-source-prompt

Conversation

@joyceerhl
Copy link
Copy Markdown

@joyceerhl joyceerhl commented Apr 20, 2021

For #15695

Currently if a jump to source request from the TensorBoard profiler plugin in VS Code fails, there's no indication to the user of what the problem is. This PR adds a quickpick to ask the user to manually specify the source files on disk, and resolves the jump to source request against the user's selected file instead.

We're using a quickpick instead of a prompt because prompts are often ignored--hopefully the user will be less likely to ignore this and get confused about the feature not working.

Screenshot:
image

GIF:
jumptosourceprompt

@joyceerhl joyceerhl marked this pull request as ready for review April 21, 2021 01:28
@joyceerhl joyceerhl changed the title Prompt user to select missing files using file picker Allow user to select TensorBoard plugin missing profiler source files using file picker Apr 21, 2021
Comment thread src/test/tensorBoard/tensorBoardSession.test.ts Outdated
@joyceerhl joyceerhl requested a review from karthiknadig April 21, 2021 18:41
@joyceerhl joyceerhl merged commit 359bc18 into microsoft:main Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants