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

editor: In OpenFile check if file with path_suffix exists #17805

Merged
merged 2 commits into from
Sep 13, 2024

Conversation

mrnugget
Copy link
Member

@mrnugget mrnugget commented Sep 13, 2024

Demo:

screenshot-2024-09-13-14.14.14.mp4

Release Notes:

  • When using OpenFile (gf in Vim mode) and the word under the cursor is not an existing file path, we now fall back and additionally check whether a file called <word-under-cursor>.<language-specific-path-suffixes> exists. That's similar to Vim's suffixesadd option.

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Sep 13, 2024
Co-authored-by: Abdelhakim Qbaich <abdelhakim@qbaich.com>
@mrnugget mrnugget marked this pull request as ready for review September 13, 2024 18:14
Co-authored-by: Abdelhakim Qbaich <abdelhakim@qbaich.com>
Co-authored-by: Pete LeVasseur <plevasseur@gmail.com>
@mrnugget mrnugget merged commit adbe973 into main Sep 13, 2024
9 checks passed
@mrnugget mrnugget deleted the gf-path-suffixes branch September 13, 2024 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant