Main Toolbar

 

Main toolbar incorporates an number of toolbar buttons as well as some toolbar groups which allow creating and opening files and programs; debugging, building, cleaning, and running applications, searching and viewing history, etc.:

 

 

Most toolbar buttons are duplicated by the commands from the menu bar or from the context menus. So, there are many ways to trigger basic actions, and you can choose the one which suits you most. In this page, we give all the links to the corresponding menu options () so that you can study them thoroughly and work out your own working algorithm.

 

Some buttons of the main toolbar are inactive and become activated when select a project, a program, or a file.

 

In the general table, you can find the descriptions for all toolbar buttons and toolbar groups. Toolbar groups are described in greater detail below, and you can move to them by pressing the down arrow - .

 

 

Contents of certain toolbar groups depends greatly on the opened perspective.

Here we describe the most basic options of the LyciaStudio menu available from all perspectives.

For details concerning other perspectives, please refer to their respective pages.

 

New

 

as a button, starts a New wizard allowing you to create new projects and programs as well as different types of source files and forms:

 

 

as a button group, incorporates the corresponding toolbar buttons  

 

Create new visual classes

 

as a button group, incorporates the toolbar buttons allowing you to create new visual classes and their objects

 

Save

Ctrl + S

saves the contents of the active editor

 

Save All

Ctrl + Shift +S

saves the contents of all open editors

 

Build All

Ctrl + B

performs the incremental build of all the projects in your workspace, i.e. builds and compiles all the resources in the workspace which are somehow affected by the changes performed since the latest incremental build (the option is available only if the auto-build is switched off)

 

Skip All Breakpoints

Ctrl + Alt + B

when selected, tells the debugger to disregard (= skip) all the breakpoints

 

Resume

 

resumes the debugging session after it was suspended

 

Suspend

 

holds off the debugging session and enables user interaction

 

Terminate

 

stops the debugging session

 

Disconnect

 

terminates the debugging session and resumes all the suspended threads.

The program continues to execute but it cannot be suspended and executed step by step - it can only be terminated.

 

Step Into

 

moves the debugger to the next line of the program (in the debug mode).

After any function call, Step Into sends debugger into the function, and it will leave the function only after every function line is debugged.

 

Step Over

 

steps into the statement (function or method) selected in the editor

 

Step Return

 

steps out of the current method or function (i.e. when in any function, moves the debugger to the line following this function's call)

 

Drop To Frame

 

reenters the selected stack frame in the Debug view

 

Use Step Filters

Shift + F5

specifies whether step filters will be used in the Debug view

 

Undo

Ctrl + Z

reverses the most recent editing action

 

Redo

Ctrl + Y

reapplies the editing action which has been recently reversed by the Undo action

 

Show online Help

 

launches the index of Lycia online documentation in the default browser

 

Compile the selected source file

 

compiles the selected source file

 

Build Automatically

 

switches on/off the auto-build (with auto-build, the selected project is built automatically after you introduce any changes)

 

Create a new 4gl project

 

starts a New 4GL Project wizard allowing you to create a new 4gl project:

 

 

Create a new 4gl program

 

as a button, starts a New 4GL Program wizard allowing you to create a new 4gl program:

 

 

as a button group, incorporates the corresponding toolbar buttons  

 

Create a new 4gl source file

 

as a button, starts a New 4GL Source File wizard allowing you to create a new 4gl source file:

 

 

as a button group, incorporates the corresponding toolbar buttons  

 

Debug

 

as a button, starts debugging the most recently debugged program,

 

as a button group, incorporates the corresponding toolbar buttons  

 

Run

 

as a button, runs the most recently run program according to its run configurations,

 

as a button group, incorporates the corresponding toolbar buttons  

 

External Tools

 

as a button, opens the External Tools Configurations window:

 

 

as a button group, incorporates the corresponding toolbar buttons  

 

Run with LyciaWeb

 

run the selected program with LyciaWeb

 

Run with LyciaDesktop

 

run the selected program with LyciaDesktop

 

Open Task

Ctrl + F12

allows opening tasks stored in the task repository

 

Search

 

as a button, opens the Search window allowing you to search for the necessary text, files, and plug-ins based on the specified criteria:

 

 

as a button group, incorporates the corresponding toolbar buttons  

 

Next Annotation

Ctrl + .

as a button, navigate to the next or to the previous item in a list or table in the active view,

 

as a button group, allow adding and removing different text objects (bookmarks, breakpoints, errors, occurrences, etc.) to/from the list of the searched-for objects 

 

Previous Annotation

Ctrl + ,

Last Edit Location

Ctrl + Q

moves you to the latest edited place (if the latest edited file was closed, it will open and the cursor will move to the necessary line)

 

Back

Alt + Left

as a button, allows moving to the previous resource viewed in the code editor,

 

as a button group, allows choosing to which of the recourses viewed recently in the code editor to move and moving to this resource:

 

 

Forward

Alt + Right

as a button, undoes the effect of the previous Back command (i.e. allows moving to the resource you viewed before going Back),

 

as a button group, allows choosing one of the resources effected by some previous Back commands and moving to it:

 

 

Open Perspective

 

allows opening non-default perspectives

 

 

Besides these toolbar buttons, LyciaStudio main toolbar includes two default fields:

 

Quick Access

allows quickly getting to a view or its preferences by typing its name:

 

 

<open perspectives>

includes the toolbar buttons which allow quickly switching to one of the open perspectives

 

Below we provide you with a short descriptions of the toolbar groups included in LyciaStudio main toolbar.

 

New toolbar group

Create new visual classes toolbar group

Create a new 4gl program toolbar group

Create a new 4gl source file toolbar group

Debug toolbar group

Run toolbar group

External Tools toolbar group

Search toolbar group

Next Annotation and Previous Annotation toolbar groups

 

New toolbar group

 

Allows creating new projects and programs as well as different types of source files and forms:

 

4GL projects,

other types of projects via the New wizard,

4GL programs,

4GL libraries,

C programs,

dynamic C libraries,

static C libraries,

web services,

4GL source files,

classic text forms,

C source files,

C header files,

ESQL/C source files,

message files,

folders in your workspace,

files in your workspace,

new text files (once created, open in the code editor),

.fm2 forms,

XML examples, etc.

 

 

 

 

 

 

 

 

 

Create new visual classes toolbar group

 

Allows creating new objects of different visual classes:

 

SWT (Standard Widget Toolkit for Java):

 

 

Eclipse 4:

 

 

 

JFACE:

 

 

Forms:

 

 

 

RCP (Rich Client Platform):

 

XWT:

 

 

 

Create a new 4gl program toolbar group

 

Allows creating new programs and libraries.

 

C programs,

dynamic C libraries,

4gl libraries,

4gl programs,

static C libraries,

web services

 

 

 

 

 

Create a new 4gl source file toolbar group

 

Allows creating new 4gl source files.

 

C source files,

C header files,

ESQL/C source files,

4gl source files,

classic text forms,

4gl message files,

.fm2 forms,

Action Defaults files,

start menu files,

top menu files,

toolbar files,

ICU recourse bundles,

.qxtheme files

 

 

 

 

 

 

Debug toolbar group

 

Allows performing the following actions:

 

start debugging the most recently debugged programs,

run any built 4gl program in the debug mode via one of Querix graphical clients - LyciaDesktop or LyciaWeb,

view and manage debug configurations,

add and manage debug favorites

 

 

 

 

 

 

 

 

 

Run toolbar group

 

Allows performing the following actions:

 

run the most recently run programs according to their run configurations

run any built program via one of Querix graphical clients - LyciaDesktop or LyciaWeb,

view and manage run configurations,

add and manage run favorites

 

 

 

 

 

 

 

 

External Tools toolbar group

 

Allows performing the following action:

 

run the most recently run programs via the selected external tool

view and manage external tools

add and manage External Tools favorites

 

 

 

 

 

 

Search toolbar group

 

Allows opening definite tab in the Search window:

 

File Search,

Task Search,

C/C++ Search,

GIT Search,

Java Search,

JavaScript Search,

Plug-in Search.

 

 

 

 

 

Next Annotation and Previous Annotation toolbar groups

 

Allow adding and removing different text objects (bookmarks, breakpoints, errors, occurrences, etc.) to/from the list of the searched-for objects.

 

bookmarks,

breakpoints,

C/C++ Indexer markers,

C/C++ occurrences,

Codan errors,

Codan warnings,

Diff additions,

Diff changes,

errors,

info,

JavaScript occurrences,

occurrences,

search results,

spelling errors,

tasks,

warnings.

 

 

 

 

 

 

Related articles:

Menu bar

Perspectives

Views