You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started/online_comp_getting_started.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
-
#Getting Started on the Online Compiler
1
+
#Getting Started on the Online Compiler
2
2
3
3
The mbed Online Compiler delivers a full online editor, standard keyboard shortcuts, flexible workspace management and version control optimized for the mbed ecosystem.
4
4
5
5
This article reviews the basics of interacting and creating and maintaining code in your workspace.
6
6
7
-
##Interface basics
7
+
##Interface basics
8
8
The mbed Online Compiler interface consists of five key components - [main toolbar](#main-toolbar), [navigation tree](#navigation-tree), [browser panel](#browser-panel), [editor](/#editor) and [output panel](#output-panel).
9
9
10
-
###Main toolbar
10
+
###Main toolbar
11
11
The buttons on the main toolbar are accessible at all times though they may not always be active because their state depends on the current context or current task. For example, when you're browsing a program, a folder or a library, the "Undo", "Redo", "Print" and "Format Code" buttons won't be active because their function is relative to text editing. Therefore, you must select a file in the navigation tree for them to be active. Similarly, selecting "My Programs" in the navigation tree disables "Compile", "Commit", "Revision History" and other buttons. "My Programs" is your workspace root. Thus, you can't complete these tasks on it. If unsure of the context you are currently working on, you can always look at the top blue bar that shows your location.
12
12
13
13
Most of the main toolbar buttons have a keyboard [shortcut](/online_comp.md#keyboard-shortcuts), which saves a mouse click or two. Some buttons have a dropdown menu with similar or related functions. For example, there are several ways to compile under "Compile" and different new items under "New".
@@ -16,10 +16,10 @@ When you edit a file, the main toolbar looks like the image below. (Click to enl
16
16
17
17

18
18
19
-
On the right side of the main toolbar is the device selection dropdown, which lets you change the device you are compiling for. The mbed Compiler Guide is accessible through the top-right Guide button or via F1 (Ctrl+G alternatively) keyboard shortcut.
19
+
On the right side of the main toolbar is the device selection dropdown, which lets you change the device you are compiling for. The mbed Online Compiler help guide is accessible through the top-right Help button or via the F1 keyboard shortcut.
20
20
21
-
###Navigation tree
22
-
The navigation tree lets you browse your workspace, but more importantly, it defines the context you are working on.
21
+
###Navigation tree
22
+
The navigation tree defines the context you are working on and lets you browse your workspace.
23
23
24
24

25
25
@@ -29,7 +29,7 @@ Selecting a file activates editing mode and opens the editor, showing you the co
29
29
30
30
The navigation tree allows you to invoke item-specific functions via mouse context menu or via keyboard [shortcut](/online_comp.mds#keyboard-shortcuts). Additionally, it has complete drag and drop support, so you can drag and drop between navigation tree items, drag and drop navigation tree items to and from the browser panel and even HTML5-driven features such as dragging and dropping files from your operating system file manager inside the navigation tree, effectively importing them in your workspace.
31
31
32
-
###Browser panel
32
+
###Browser panel
33
33
The browser panel is active when a nonfile is selected in the navigation tree and consists of two subpanels - browse list and sidebar.
34
34
35
35

@@ -42,7 +42,7 @@ Similar to the [navigation tree](/handbook/mbed-Compiler-Getting-Started#navigat
42
42
43
43
The **sidebar panel** has two tabs - Summary and Build. The **Summary** tab offers extended information about program or library creation date, last modified date, tags and description. It also includes [collaboration](/handbook/Collaboration)-related information, such as public repository URL and ability to update and publish to and from the public repository. The **Build** tab is essential for successfully built programs. It offers valuable statistics about the Flash and RAM usage.
44
44
45
-
###Editor
45
+
###Editor
46
46
The editor is the main tool of the mbed Online Compiler. It's a fully featured, lightweight code editor that uses high standard syntax highlighting, keyboard [shortcuts](/online_comp.mds#keyboard-shortcuts) and undo and redo operations. It's also compliant with all major browsers' cut, copy and paste text operations, so you can inject and extract code between your host operating system and the mbed editor.
47
47
48
48

@@ -62,7 +62,7 @@ The editor features include:
62
62
63
63
Additionally, you can explore the editor [shortcuts and controls](/online_comp.md#keyboard-shortcuts) section, where you can find more information on shortcuts and hidden functions.
64
64
65
-
###Output panel
65
+
###Output panel
66
66
The output panel is under the editor (or browser panel), and its main purpose is to display the output of the ARMCC compile engine when you decide to compile code.
67
67
68
68
A typical compile error looks like the image below:
@@ -81,4 +81,4 @@ From the main toolbar, click the "New" button, and complete the program name fie
81
81
82
82
Once you click "OK", the program is created in your workspace, and the mbed Online Compiler automatically opens it.
83
83
84
-
The program is not empty. It contains two items - a main.cpp file and the mbed OS library. This is because the mbed OS library is applicable for every project based on an mbed hardware board. Additionally, the main.cpp file is the main file for every program. Thus, we decided to make the default new program template a small LED test that compiles quickly.
84
+
The program is not empty. It contains two items - a main.cpp file and the mbed OS library. This is because the mbed OS library is applicable for every project based on an mbed hardware board. Additionally, the main.cpp file is the main file for every program. Thus, we decided to make the default new program template a small LED test that compiles quickly.
0 commit comments