Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Launch Native REPL using terminal link#24734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
anthonykim1 merged 22 commits intomicrosoft:mainfromanthonykim1:shellintegrationLink
Jan 23, 2025

Conversation

anthonykim1
Copy link

@anthonykim1anthonykim1 commentedJan 22, 2025
edited
Loading

Resolves:#24270
Perhaps further improve via#24270 (comment) ?

@anthonykim1anthonykim1 added debtCovers everything internal: CI, testing, refactoring of the codebase, etc. area-repl labelsJan 22, 2025
@anthonykim1anthonykim1 self-assigned thisJan 22, 2025
@anthonykim1anthonykim1 changed the titleLaunch native REPL when custom text from REPL in terminal is clicked.Provide option to launch native REPL when custom text from REPL in terminal is clicked.Jan 22, 2025
@anthonykim1anthonykim1 added this to theJanuary 2025 milestoneJan 22, 2025
@anthonykim1anthonykim1 marked this pull request as ready for reviewJanuary 22, 2025 22:22
@vs-code-engineeringVS Code Engineering
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically.Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting/AzurePipelines run.

@anthonykim1anthonykim1 marked this pull request as draftJanuary 22, 2025 22:52
@@ -77,3 +76,8 @@ def __str__(self):

if sys.platform != "win32" and (not is_wsl) and use_shell_integration:
sys.ps1 = PS1()

if sys.platform == "darwin":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

is it weird if only part of this string is fixed to create a link with l10n? Will that translate only half the command?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Do you meantooltip: l10n.t('Launch VS Code Native REPL'), part?
I think the the tooltip would only showLaunch VS Code Native REPL

eleanorjboyd reacted with thumbs up emoji
@anthonykim1anthonykim1 marked this pull request as ready for reviewJanuary 22, 2025 23:51
@vs-code-engineeringVS Code Engineering
Copy link

⚠️ This PR originates from a fork. Due to security restrictions, pipelines from forks are no longer triggered automatically.Learn more.

If the changes appear safe, you can manually trigger the pipeline by commenting/AzurePipelines run.

Copy link
Member

@karthiknadigkarthiknadig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Missing test

@karthiknadigkarthiknadig changed the titleProvide option to launch native REPL when custom text from REPL in terminal is clicked.Launch native REPL using terminal linkJan 23, 2025
@karthiknadigkarthiknadig changed the titleLaunch native REPL using terminal linkLaunch Native REPL using terminal linkJan 23, 2025
Comment on lines +164 to +165
assert.isNotNull(links, 'Expected links to be not undefined');
assert.isArray(links, 'Expected links to be an array');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

You should checklink.command here and validate start and end lengths. if you put the localized string inlocalize.ts then you can verify tooltip.

You also need a negative test case.

anthonykim1 reacted with rocket emoji
@anthonykim1
Copy link
Author

just realized this has been non-draft mode. Sorry for the spam everyone :)

@anthonykim1anthonykim1 merged commit25411e5 intomicrosoft:mainJan 23, 2025
46 checks passed
@anthonykim1
Copy link
Author

I'm going to delete the outdated comments mentioned in the test file in separate PR.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@karthiknadigkarthiknadigkarthiknadig approved these changes

@eleanorjboydeleanorjboydAwaiting requested review from eleanorjboyd

Assignees

@anthonykim1anthonykim1

Labels
area-repldebtCovers everything internal: CI, testing, refactoring of the codebase, etc.
Projects
None yet
Milestone
January 2025
Development

Successfully merging this pull request may close these issues.

Prompt for Native REPL when user typespython in terminal
3 participants
@anthonykim1@karthiknadig@eleanorjboyd

[8]ページ先頭

©2009-2025 Movatter.jp