1. Getting started
1.1 The main window

SmartFBX main window
The main window has three areas:
| Area | Content |
|---|---|
| Databases panel (left) | Toolbar, connection tree, tree search, API/MCP switches and the status line |
| Document tabs (right) | SQL editors, object editors, comparisons, tools. The Logs tab is always present and records connections and server events |
| Main menu | File, SQL, Database, Services, Data, Tools, Help (on macOS the menu is in the system menu bar) |
Help > User guide (F1) opens this guide in the default browser; Help > REST API reference and Help > MCP reference open the detailed references.
The toolbar above the tree has five buttons:
| Button | Action |
|---|---|
| + New connection | Opens the connection editor (see chapter 2) |
| Connect / Disconnect | Connects or disconnects the selected connection; the icon changes with the state |
| New SQL editor | Opens an SQL editor on the selected connection (Ctrl+N) |
| Refresh | Reloads the metadata of the selected node (F5) |
| Find in metadata | Searches object names and sources (Ctrl+Shift+M) |
When no connection exists yet, the tree is replaced by a message with a New connection... button.
1.2 The connection tree
Connections can be organised in groups (File > New group...). Each connected database shows its objects by category:
Tables, Views, Procedures, Functions, Triggers, Generators, Domains, Exceptions, Indexes, Packages, Roles, Users, System tables.
- Categories are loaded asynchronously the first time they are selected; the counter appears next to the name.
- Tables and views expand into their fields, with type, domain,
NOT NULLand a key icon for primary and foreign keys. Procedures expand into their parameters. - Triggers show a
[database],[DDL]or table label next to the name. - On very large databases (thousands of triggers or tables) the tree stays fluid: it is a virtual tree that only draws the visible nodes.
Double-click opens the most useful editor for each node:
| Node | Double-click opens |
|---|---|
| Connection | Connects / disconnects |
| Table, view | Table / view editor |
| Procedure, function, trigger | Code editor |
| Domain, exception | Edit dialog |
| Generator (sequence) | Set value dialog |
| Field, parameter | Editor of the owning object |
| System table | A SELECT in a new SQL editor |
| Index, role, other | DDL |
Right-click shows the context menu for the node type (for example Browse data, Create SELECT, Create INSERT, Show DDL / source, Copy name, Privileges..., Description..., Drop).
1.3 Searching the tree
The box under the tree (Ctrl+Shift+F) searches the loaded object names. The button on its left switches between two modes:
- Search: matching nodes are highlighted; Enter jumps to the next match.
- Filter: nodes that do not match are hidden.
To search inside object sources as well, use Find in metadata (section 5.1).
1.4 Document tabs
Every editor opens in its own tab, with the icon of the object type and the active tab in bold. Close a tab with the × in its title, the middle mouse button, Ctrl+W or Ctrl+F4 (also while the cursor is in a code editor). If an SQL editor has an open transaction, SmartFBX asks whether to commit or roll back before closing.
On exit, open SQL editors are saved and restored at the next start, including unsaved text.