Skip to content

Fix randomized shell integration decoration bug for Windows pwsh  #22675

Closed as not planned

Description

Reference: #22535 microsoft/vscode#199770
This would be making changes in vscode repository for shell integration to get better sense of Python REPL '>>>' prompt.

Activity

  1. anthonykim1 commented on Jan 17, 2024

    @anthonykim1
    Author

    Attempted to fix by defining Python prompt

    		const pythonPrompt = lineText.match(/^(?<prompt>>>> )/g)?.groups?.prompt;
    		if (pythonPrompt) {
    			return {
    				prompt: pythonPrompt,
    				likelySingleLine: true
    			};
    		}
    

    in vscode's commandDetectionCapability, but still getting colorless bubbles. Opting into windows heuristic from the Python extension side and defining Python prompt seemed to make the decoration less randomized, but still getting colorless decoration for Windows pwsh users.

  2. anthonykim1 commented on Dec 9, 2024

    @anthonykim1
    Author

    Closing against: #24135

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

Metadata

Metadata

Labels

area-replbugIssue identified by VS Code Team member as probable bugtriage-neededNeeds assignment to the proper sub-team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions