Skip to content

Conversation

@CalvinAllen
Copy link
Collaborator

Summary

  • Fixes Couldn't Resolve Folder in Nested Path #5
  • Removes WorkingDirectory from ProcessStartInfo as it was incorrectly being set to a file path instead of a directory path
  • This caused failures when opening files in deeply nested paths

Root Cause

ProcessStartInfo.WorkingDirectory expects a directory path, but selectedFilePath is a file path (e.g., C:\...\file.h). For deeply nested or long paths, this would cause the process to fail, resulting in "Couldn't resolve the folder" error.

Test plan

  • Open a solution with deeply nested files (5+ levels deep)
  • Right-click on a file in a nested path and select "Open in Notepad++"
  • Verify the file opens correctly in Notepad++

Remove WorkingDirectory from ProcessStartInfo as it was incorrectly
being set to a file path instead of a directory path, causing failures
with deeply nested paths.
@CalvinAllen CalvinAllen merged commit 38f1850 into main Dec 11, 2025
1 check passed
@CalvinAllen CalvinAllen deleted the fix/nested-path-resolution branch December 11, 2025 21:38
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.

Couldn't Resolve Folder in Nested Path

2 participants