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

fix: not providing completions for a project root with spaces #87

Merged
merged 2 commits into from
Jan 1, 2025

Conversation

mikavilpas
Copy link
Owner

Issue

When working in a project whose project_root_marker path contained space characters (maybe even other special characters), the plugin would not provide any completions.

This was caused by extra escaping of the path in the command that was run in the background.

Solution

Correctly escape the spaces and provide completions.

test: can run the debug command in a shell

@mikavilpas mikavilpas enabled auto-merge (squash) January 1, 2025 19:01
Issue
=====

When working in a project whose project_root_marker path contained space
characters (maybe even other special characters), the plugin would not
provide any completions.

This was caused by extra escaping of the path in the command that was
run in the background.

Solution
========

Correctly escape the spaces and provide completions.

test: can run the debug command in a shell
@mikavilpas mikavilpas merged commit 79fb538 into main Jan 1, 2025
11 checks passed
@mikavilpas mikavilpas deleted the fix-spaces branch January 1, 2025 19:24
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.

1 participant