| OLD | NEW |
| (Empty) |
| 1 # | |
| 2 # Entries in this file define how editor maps #import(...) directives | |
| 3 # | |
| 4 # A key that ends with '\:' maps an entire scheme to a directory tree | |
| 5 # (All ':' characters in the key must be escaped) | |
| 6 # For example, an entry in this file such as | |
| 7 # foo\: = /user/name/some/dir | |
| 8 # will map the following imports | |
| 9 # #import('foo:bar') --> /user/name/some/dir/bar/bar.dart | |
| 10 # #import('foo:blat.dart') --> /user/name/some/dir/blat.dart | |
| 11 # #import('foo:buzz/blue.dart') --> /user/name/some/dir/buzz/blue.dart | |
| 12 # | |
| 13 # A key that does not end with '\:' maps a single import to a single file | |
| 14 # For example, an entry in this file such as | |
| 15 # green\:light = /user/name/some/dir/mylib.dart | |
| 16 # will map only | |
| 17 # #import('green:light') --> /user/name/some/dir/mylib.dart | |
| 18 # | |
| 19 # A specific mapping (does not end with '\:') takes precedence | |
| 20 # For example, given | |
| 21 # foo\: = /user/name/some/dir | |
| 22 # foo\:bar = /user/name/another/dir/myfile.dart | |
| 23 # will map | |
| 24 # #import('foo:bar') --> /user/name/another/dir/myfile.dart | |
| 25 # #import('foo:blue') --> /user/name/some/dir/blue/blue.dart | |
| 26 # | |
| 27 # Paths that are not absolute are considered to be relative to editor installati
on directory. | |
| 28 # Leading and trailing whitespace around keys and values is ignored. | |
| 29 # This file is read exactly once when editor is launched | |
| 30 # | |
| 31 | |
| 32 dart\: = . | |
| 33 dart\:builtin = builtin/builtin_runtime.dart | |
| 34 dart\:core = core/core_runtime.dart | |
| 35 dart\:coreimpl = coreimpl/coreimpl_runtime.dart | |
| 36 # dom/dom_frog.dart is a placeholder for dartium dom | |
| 37 dart\:dom = dom/dom_frog.dart | |
| 38 dart\:html = html/html_dartium.dart | |
| 39 dart\:io = io/io_runtime.dart | |
| 40 dart\:isolate = isolate/isolate_compiler.dart | |
| 41 | |
| 42 # | |
| 43 # Libraries referenced using a relative path by both dartdoc and compiler | |
| 44 # Need to either remove the relative reference | |
| 45 # or promote them to top level so that they can be referenced via dart:<libname> | |
| 46 # | |
| 47 | |
| 48 dart\:frog/lang = frog/lang.dart | |
| 49 dart\:frog/file_system = frog/file_system.dart | |
| 50 dart\:frog/file_system_vm = frog/file_system_vm.dart | |
| OLD | NEW |