KomodoEdit
KomodoEdit copied to clipboard
Go-to-definition opens files with lower case on Windows, causing VCS problems
Short Summary
I'm noticing that the go-to-definition feature is opening paths with the wrong case. Because Windows isn't case-sensitive they do open, but Subversion, for example, doesn't recognize it as the same file that's under source control so the source control options are unavailable.
Steps to Reproduce
Run Go-to-definition on a method from a class in your project.
The only thing that may have been a factor is that before I started noticing this, I had deleted the CodeIntel folder to regenerate that. It was probably in one of the point releases after 9.0.
Expected results
Opening C:\App\models\Brand\Report.php opens in a new tab. Source control options available.
Actual results
c:\app\models\brand\report.php is opened. Source control options treat file as not under source control.
Platform Information
Komodo IDE 9.3 Windows 10
Thanks for the report.
Applies to Komodo IDE 10.0 also
@Naatan would it be reasonable to have our SCC on windows use case-insensitive file names? Codeintel already handles filenames case-insensitively on Windows, and this problem would go away if our SCC did too.
After talking this over with @Naatan, we'll re-target case-insensitive version control on Windows for a later release since it's a pretty significant change.
Lower case issue with "Go to Definition" is still present in 12.0.0. Just an annoyance for me, though.