| OLD | NEW |
| 1 --- | 1 --- |
| 2 layout: default | 2 layout: default |
| 3 title: "Dart Editor" | 3 title: "Dart Editor" |
| 4 description: "Read all about Dart Editor's features." | 4 description: "Read all about Dart Editor's features." |
| 5 --- | 5 --- |
| 6 | 6 |
| 7 {% include platform-specific-text/_noscript.html %} | 7 {% include platform-specific-text/_noscript.html %} |
| 8 | 8 |
| 9 <h1>{{ page.title }}</h1> | 9 <h1>{{ page.title }}</h1> |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 <li> <a href="#debug">Debugging apps</a> </li> | 37 <li> <a href="#debug">Debugging apps</a> </li> |
| 38 <li> <a href="#dart2js">Compiling to JavaScript</a> </li> | 38 <li> <a href="#dart2js">Compiling to JavaScript</a> </li> |
| 39 <li> <a href="#more">Other features</a> </li> | 39 <li> <a href="#more">Other features</a> </li> |
| 40 </ol> | 40 </ol> |
| 41 | 41 |
| 42 | 42 |
| 43 <section id="download"> | 43 <section id="download"> |
| 44 <h2>Getting Dart Editor</h2> | 44 <h2>Getting Dart Editor</h2> |
| 45 | 45 |
| 46 <p> | 46 <p> |
| 47 You can download Dart Editor for | 47 You can download Dart Editor for: |
| 48 <label> | 48 |
| 49 <input type="radio" name="osChoices" id="win"> | 49 <input type="radio" name="osChoices" id="win"> |
| 50 Windows</input></label>, | 50 <label class="os-choice" for="win">Windows</label>, |
| 51 <label> | 51 |
| 52 <input type="radio" name="osChoices" id="linux" checked="true"> | 52 <input type="radio" name="osChoices" id="linux" checked="true"> |
| 53 Linux</input> | 53 <label class="os-choice" for="linux">Linux</label>, or |
| 54 </label>, or | 54 |
| 55 <label> | 55 <input type="radio" name="osChoices" id="mac"> |
| 56 <input type="radio" name="osChoices" id="mac"> | 56 <label class="os-choice" for="mac">Mac</label>. |
| 57 Mac</input></label>. | |
| 58 </p> | 57 </p> |
| 59 | 58 |
| 60 {% include downloads/_dart-editor.html %} | 59 {% include downloads/_dart-editor.html %} |
| 61 | 60 |
| 61 <h3>Contents</h3> |
| 62 |
| 62 <p> | 63 <p> |
| 63 The Dart Editor download includes: | 64 The Dart Editor download includes: |
| 64 </p> | 65 </p> |
| 65 | 66 |
| 66 <ul> | 67 <ul> |
| 67 <li> Dart Editor </li> | 68 <li> Dart Editor </li> |
| 68 <li> <a href="/docs/getting-started/sdk/">Dart SDK</a> </li> | 69 <li> <a href="/docs/getting-started/sdk/">Dart SDK</a> </li> |
| 69 <li> <a href="/dartium/">"Dartium"</a>: | 70 <li> <a href="/dartium/">"Dartium"</a>: |
| 70 a build of the Chromium browser that includes the Dart VM </li> | 71 a build of the Chromium browser that includes the Dart VM </li> |
| 71 </ul> | 72 </ul> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 For example, put the new ZIP file beside the old one, | 121 For example, put the new ZIP file beside the old one, |
| 121 and then use the command-line interface to unzip on top of the old files: | 122 and then use the command-line interface to unzip on top of the old files: |
| 122 </p> | 123 </p> |
| 123 | 124 |
| 124 {% highlight bash %} | 125 {% highlight bash %} |
| 125 % cd dart-editor-installation-directory | 126 % cd dart-editor-installation-directory |
| 126 % unzip dart-editor-LATEST_FILE.zip | 127 % unzip dart-editor-LATEST_FILE.zip |
| 127 replace dart/SOME_FILE? [y]es, [n]o, [A]ll, [N]one, [r]ename: <b>A</b> | 128 replace dart/SOME_FILE? [y]es, [n]o, [A]ll, [N]one, [r]ename: <b>A</b> |
| 128 {% endhighlight %} | 129 {% endhighlight %} |
| 129 | 130 |
| 130 <aside class="note"> | 131 <aside> |
| 131 <b>Note:</b> | 132 <div class="alert alert-info"> |
| 132 If Dart Editor starts behaving strangely after you install | 133 <strong>Tip:</strong> |
| 133 on top of an old copy, | 134 If Dart Editor starts behaving strangely after you install |
| 134 then you might need to abandon the old state. | 135 on top of an old copy, |
| 135 Try downloading and installing a fresh copy of Dart Editor. | 136 then you might need to abandon the old state. |
| 137 Try downloading and installing a fresh copy of Dart Editor. |
| 138 </div> |
| 136 </aside> | 139 </aside> |
| 137 | 140 |
| 138 </section> | 141 </section> |
| 139 </section> | 142 </section> |
| 140 | 143 |
| 141 | 144 |
| 142 <section id="view-samples"> | 145 <section id="view-samples"> |
| 143 <h2>Viewing samples</h2> | 146 <h2>Viewing samples</h2> |
| 144 | 147 |
| 145 <p> | 148 <p> |
| (...skipping 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 769 |
| 767 <section id="debug"> | 770 <section id="debug"> |
| 768 <h2>Debugging apps</h2> | 771 <h2>Debugging apps</h2> |
| 769 | 772 |
| 770 <p> | 773 <p> |
| 771 You can debug both command-line and web apps with Dart Editor. | 774 You can debug both command-line and web apps with Dart Editor. |
| 772 Debugging must be enabled in your launch configuration | 775 Debugging must be enabled in your launch configuration |
| 773 (which it is, by default). | 776 (which it is, by default). |
| 774 </p> | 777 </p> |
| 775 | 778 |
| 776 <aside class="note"> | 779 <aside> |
| 777 <b>Platform note:</b> | 780 <div class="alert alert-info"> |
| 778 Command-line debugging is currently supported for Mac only. | 781 <strong>Note:</strong> |
| 779 We expect to support other platforms soon. | 782 Command-line debugging is currently supported for Mac |
| 783 and Linux only. |
| 784 We expect to support Windows as well. |
| 785 </div> |
| 780 </aside> | 786 </aside> |
| 781 | 787 |
| 782 <p> | 788 <p> |
| 783 Some tips for debugging: | 789 Some tips for debugging: |
| 784 </p> | 790 </p> |
| 785 | 791 |
| 786 <ul> | 792 <ul> |
| 787 <li> | 793 <li> |
| 788 Set breakpoints by double-clicking in the left margin of the Edit view. | 794 Set breakpoints by double-clicking in the left margin of the Edit view. |
| 789 </li> | 795 </li> |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 <img src="images/key-assist.png" | 888 <img src="images/key-assist.png" |
| 883 alt="screenshot of help for keyboard alternatives" | 889 alt="screenshot of help for keyboard alternatives" |
| 884 width="231" height="235"> | 890 width="231" height="235"> |
| 885 </p> | 891 </p> |
| 886 | 892 |
| 887 </section> | 893 </section> |
| 888 </section> | 894 </section> |
| 889 | 895 |
| 890 <script async src="/js/Switcher.dart.js"></script> | 896 <script async src="/js/Switcher.dart.js"></script> |
| 891 <script async src="/js/editor-downloads-analytics.js"></script> | 897 <script async src="/js/editor-downloads-analytics.js"></script> |
| OLD | NEW |