Is it possible to hide all those "packages" folders in Dart Editor? Is it possible to hide all those "packages" folders in Dart Editor? dart dart

Is it possible to hide all those "packages" folders in Dart Editor?


Using the M1 version of the editor, all the packages symlinks are hidden. You should only see the top level packages directory, but not all the symlinks. If you've updated your editor (perhaps with a clean reinstall) and you're still seeing packages symlinks in the Files view, please open a bug at http://dartbug.com/new and paste in your Editor version and a screenshot.

As to your question "why can't Dart just walk the tree?", that's difficult when you're serving a Dart app on a web server. A Dart file may be served from any path, but there's no good concept of "walking the tree"... how far do you go up?

The packages symlinks technique makes finding those dependencies relative to your Dart script, which makes it easy for a web deployment of Dart.