question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Warn the user when path casing doesn't match the casing of the underlying path on disk

See original GitHub issue

Using this extension I am getting incorrect analysis reports such as:

The return type
'TimesheetDto (C:\\Users\\kent\\Repository\\<<redacted>>\\Src\\lib\\features\\timesheet\\dtos.dart)'
isn't a
'TimesheetDto (c:\\Users\\Kent\\Repository\\<<redacted>>\\Src\\lib\\features\\timesheet\\dtos.dart)'
, as defined by the method 'fromAppState'.

Neither flutter analyze nor IntelliJ report the same problems. I see no errors in the developer tooling (console).

My analysis log is here.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
DanTupcommented, May 7, 2018

I tried fixing it up automatically, but it needs doing in both directions (if Code gets an error for a mismatched path, it’ll open “another copy” of the file); so the warning is the best we can do.

0reactions
DanTupcommented, May 7, 2018

v2.13 has a warning when you open a folder that has a mismatched path like this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Share - Stack Overflow
In a Git repository, how to properly rename a directory? 2 · Casing of react-intl does not match the underlying filesystem. Related. 3...
Read more >
Change macro security settings in Excel - Microsoft Support
Learn how to change the settings that enable or disable macros in Excel, and more. Change the macro security settings to control which...
Read more >
invalid-project-dir-casing - Next.js
Ensure the casing for the current working directory matches the actual case of the real directory. Use a terminal that enforces case-sensitivity. Useful...
Read more >
smb.conf - Samba.org
SYNOPSIS. The smb.conf file is a configuration file for the Samba suite. smb.conf contains runtime configuration information for the Samba programs.
Read more >
file — CMake 3.25.1 Documentation
This command is dedicated to file and path manipulation requiring access to the ... In this case, a warning is not issued, because...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found