Sun Studio

Workspace and Canvas

Inspect and edit live values, recover documents and build executable notebooks.

01

EN / PT: Container previews

EN: Stage 4 containers have read-only Workspace previews. This does not promise a container editor, arbitrary deep-view browsing or live image editing. Edit supported fields/cells/maps in Sun source, then rerun. Numeric/logical/complex matrix editors retain their existing scope. See /language/data-and-files.

PT: Conteineres da etapa 4 tem previews somente leitura no Workspace. Sem prometer editor de conteiner, navegacao profunda arbitraria ou edicao de imagem. Altere campos/cells/mapas em codigo Sun e execute novamente. Editores de matrizes numericas/logicas/complexas mantem o escopo. Veja /language/data-and-files.

02

Live values and functions

Workspace lists values from the current interpreter session. Open real, logical or complex matrices in the paged Variable Editor; scalar and text values use dedicated editors. Registered functions show signatures, including named output lists. Automatically loaded file functions do not become persistent Functions-list entries.

Edits change live values, not the source program. Matrix cells are saved individually with revision checks; a failed multi-cell save can leave earlier successful edits in place. See Matrix editing for paging, copy/paste and limits.

03

Document recovery is not runtime persistence

Studio can restore editor tabs, unsaved drafts, the selected folder and cursor positions. Restoring documents does not restore variables, registered functions or an executable session, and does not replay source automatically.

Console history retains the latest 50 entries in memory, not across application restarts. Use source files or Canvas documents for reproducible work.

04

Executable Canvas documents

Canvas combines formatted text and code blocks in .sunc documents. Run a block or a sequence of blocks in the shared session; sequential execution stops when a block fails. The source editor's Ctrl+Enter shortcut does not run Canvas blocks.

Saved documents include code, text outputs and validated figure snapshots. Incremental tiled-figure updates are materialized into one snapshot per figure identity. Saving uses atomic replacement.

05

Exports

Export a figure as PNG from its figure controls, including a complete tiled layout. Canvas HTML export includes text and serialized figure data in an expandable section; it does not embed rendered plot images. Saving a Canvas is not a general Workspace checkpoint.

Support boundary

Opening a document does not reconstruct the runtime variables that produced its stored outputs. Execute the required blocks to rebuild live state.

Sun is proprietary software under experimental development. Documentation scope: Sun 0.6 development snapshot.