Skip to main content

Recording

Introduction

Let's explore some tips and shortcuts to improve your experience in Data2. We'll cover topics like organizing workspaces, keyboard shortcuts for copying and pasting, selecting blocks, and using the search tool. These tips and tricks can help you save time and boost your productivity while working in Data2. Let's get started!

Organizing your workspaces

In Data2, you can organize your projects using workspaces. A workspace is a way to organize your builder's content. It's similar to a folder on a computer. To access your workspaces, click the top-left corner and choose the "Workspaces" option. You can create and name as many workspaces as you'd like.

Within a workspace, you can create artboards and organize your content. Artboards aren't limited to a single workspace — you can create an artboard in one workspace and access it from another. If you delete an artboard from a workspace, it will be deleted everywhere it was used.

Copy and paste shortcuts

Copying and pasting are common tasks when working in Data2. There are different ways to copy and paste elements, such as blocks, parameters, and artboards.

To copy and paste a block, you can use the standard keyboard shortcuts Ctrl-C and Ctrl-V. Select the block you want to copy, press Ctrl-C, then click where you want to paste the block and press Ctrl-V.

You can also copy and paste parameters within the Inspector. Just hover over the parameter you want to copy, press Ctrl-C, and paste it elsewhere — either by clicking the parameter again or the block, then pressing Ctrl-V.

To copy and paste an artboard, select it, press Ctrl-C, and click on the builder's background to paste the copied artboard.

Copying multiple properties

Besides copying and pasting elements individually, you can also copy multiple properties at once. Select the properties you want to copy, press Shift+Ctrl+C, and all the properties will be copied to the clipboard. Then click the desired block and press Ctrl-V to paste the copied properties.

Grouping and ungrouping blocks

To group multiple blocks into a single block, select them and press Ctrl-G. This will automatically create a new block containing all the selected blocks. To ungroup the blocks, select the grouped block and press Ctrl-Shift-G.

Selecting blocks and navigating the tree

When selecting blocks, you can use keyboard shortcuts to navigate the block tree and select sibling, parent, or child blocks. To select a block's siblings, click the desired block and press Shift+left arrow/right arrow. To select the parent or child block, press Shift+up arrow/down arrow.

You can also change a block's position in the tree by pressing Shift-{ (open brace) to move it up, or Shift-} (close brace) to move it down. This lets you reorder blocks within the tree.

Using the search and replace tool

The search and replace tool can be useful when debugging your project. To find a given string, select the highest-level block you want to search within and make sure the "search in children" option is enabled. Then type the desired string in the search box. Data2 will find the string across all blocks and highlight the results. Clicking a result will select the corresponding block.

You can also use the replace tool to replace one string with another across multiple blocks. Select the string you want to replace, type the new string in the replace box, and click "replace all" to replace every occurrence found.

Conclusion

We explored some useful tips and shortcuts to improve your experience in Data2. Organizing your projects into workspaces, using keyboard shortcuts to copy and paste elements, selecting blocks, and using the search and replace tool are just a few of the ways to boost your productivity while working in Data2. We hope these tips are useful and make your work easier.