You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, when I open a file, press Ctrl-L, and enter a relative path using forward slashes (/) instead of Windows's official backslash path separator (\), Geany doesn't understand that and produces a confusing error message.
Specifically, if I go to C:\Users\cousteau\ and enter AAA/BBB/ccc.txt, I get "Error: couldn't find C:\Users\cousteau\AAA\BBB\AAA\BBB\cc.txt. Note that the directory part (AAA/BBB/) appears twice, but other than that it looks like Geany is somewhat able to parse the path. If instead I enter AAA\BBB\ccc.txt, Geany will open C:\Users\cousteau\AAA\BBB\cc.txt without complaining.
This is a bit inconveniencing because I often work with Unix-like environments (Git bash shell, MinGW, MSYS, WSL, tools and languages that ignore Windows's odd decision to use backslashes and use the usual / instead, etc), so whenever I get a file name (e.g. after running find on bash) the path is specified using forward slashes. I'd love to be able to just copy-paste that in Geany and have it open without manually replacing every / with \.
The text was updated successfully, but these errors were encountered:
AFAICT you are operating totally within the GTK open file dialog, it does the munging of typed input with open directory and Geany can only read the results. So we can't control that behaviour.
On Windows, when I open a file, press Ctrl-L, and enter a relative path using forward slashes (
/
) instead of Windows's official backslash path separator (\
), Geany doesn't understand that and produces a confusing error message.Specifically, if I go to
C:\Users\cousteau\
and enterAAA/BBB/ccc.txt
, I get "Error: couldn't findC:\Users\cousteau\AAA\BBB\AAA\BBB\cc.txt
. Note that the directory part (AAA/BBB/
) appears twice, but other than that it looks like Geany is somewhat able to parse the path. If instead I enterAAA\BBB\ccc.txt
, Geany will openC:\Users\cousteau\AAA\BBB\cc.txt
without complaining.This is a bit inconveniencing because I often work with Unix-like environments (Git bash shell, MinGW, MSYS, WSL, tools and languages that ignore Windows's odd decision to use backslashes and use the usual
/
instead, etc), so whenever I get a file name (e.g. after runningfind
on bash) the path is specified using forward slashes. I'd love to be able to just copy-paste that in Geany and have it open without manually replacing every/
with\
.The text was updated successfully, but these errors were encountered: