MichiSpebach / mammutmap

GNU Affero General Public License v3.0
11 stars 3 forks source link

normalizePath expects a windows path #38

Open buchen opened 4 months ago

buchen commented 4 months ago

When opening mammutmap on my flutter project, VSC shows the following error message:

normalizePath expected path '/Users/andreas/Code/portfolio-mobile-app/lib' to start with '/c:/' or 'C:\'.

I am using macOS 14.5. That might be the reason why I do not see nay links between the boxes (the rest is nicely rendered und quite fast).

MichiSpebach commented 4 months ago

Thanks for the feedback, this warning is caused by the VSCode extension https://github.com/MichiSpebach/mammutmap-vscode-extension and should be fixed in version 0.9.8 of the extension (but need to test it on Mac to be sure).

The links are not generated automatically yet, you need to click on the "generate outgoing links" button of a file or a folder. In future the links should be generated and updated completely automatically, but we are not there yet. Regarding Dart: relative paths with slashes ('/') are found reliable. But 'package:' imports or imports without slashes are not found by the default 'neuralNetLinkGenerator' plugin yet. image E.g: The "import 'app.dart';" in 'main.dart' is not found, "import './app.dart';" (with slashes) would have been found. image There may be lots of generated links. There is an experimental 'linkBundler' plugin that works more or less. After bundling the links and manually ordering the boxes it looks more clean (and we can see that there is a cylce between 'features' and 'core'). image Does this help? Further feedback, questions or feature requests are welcome. 😄