Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow negative indices #209869

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Allow negative indices #209869

merged 1 commit into from
Apr 8, 2024

Conversation

benibenj
Copy link
Contributor

@benibenj benibenj commented Apr 8, 2024

This pull request allows negative indices to be used in the getNthDirname method of the CustomEditorLabelService class. This enables retrieving directory names in reverse order from the file path.

fixes #209619

@benibenj benibenj self-assigned this Apr 8, 2024
@benibenj benibenj enabled auto-merge (squash) April 8, 2024 16:50
@benibenj benibenj merged commit 910cdff into main Apr 8, 2024
7 checks passed
@benibenj benibenj deleted the benibenj/middle-aphid branch April 8, 2024 17:06
@microsoft microsoft locked and limited conversation to collaborators Jun 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editor Custom Labels: Support negative indices to access start of the file path
2 participants