-
Notifications
You must be signed in to change notification settings - Fork 29
user interface page #95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
76fcbb1
user interface page
rodrigosf672 46b0ffc
fix titles and remove repetition
rodrigosf672 2fdf48e
fix linting
rodrigosf672 1386b1f
fix lint issues and revert changes to key features content
rodrigosf672 907d592
url
rodrigosf672 5e5db65
add image and file to _quarto.yml
rodrigosf672 4f9bff0
update part of text
rodrigosf672 5671ede
Remove > (improper syntax) and better phrasing/concepts
rodrigosf672 866b133
Remove unecessary formatting, and add hyperlinks to other qmd when ap…
rodrigosf672 adc95b0
Merge branch 'main' into rsf/user-interface
rodrigosf672 15f946c
Switch out image with temporary R one
juliasilge 647ccee
Edits to UI page
juliasilge 1cda429
Merged origin/main into rsf/user-interface
juliasilge c6e5f63
A few more edits
juliasilge 07b166e
Apply suggestions from code review
juliasilge 3fb3095
Remove tiny console session for now
juliasilge a000aff
Update navigation
juliasilge 946f081
Improve navigation for UI sections
juliasilge 250e6cf
Feedback from @dhruvisompura
juliasilge File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,87 @@ | ||
| --- | ||
| title: "User Interface" | ||
| format: html | ||
| page-layout: article | ||
| --- | ||
|
|
||
| # User Interface | ||
|
|
||
| Positron's interface is designed to provide a flexible and efficient environment for data science. By organizing various tools and outputs into distinct, customizable panes, you can tailor your development environment to suit your workflows in Python, R, and more. | ||
|
|
||
| ## Basic overview | ||
juliasilge marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| > This section outlines the core layout elements of Positron’s interface. Each pane plays a distinct role in supporting coding, data exploration, and model development, giving you full control over your data science environment. | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
|  | ||
| *Labeled interface diagram of the Positron development environment.* | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - **Title Bar**: Located at the top, it shows the active file (_e.g.,_ `ui.rs`) and project (_e.g.,_ `ark`) along with window controls. | ||
| - **Top Bar**: Provides global project tools such as file search, and lets you change interpreter versions (e.g., `Python`, `R`). | ||
| - **Primary Sidebar**: Found on the left, this pane contains the File Explorer to navigate the project directory. | ||
| - **Central Editor Area**: The main region for editing files. Supports syntax highlighting, inline diagnostics, code folding, and navigation tools. | ||
| - **Secondary Sidebar**: The right panel, useful for interacting with runtimes. Contains tabs like `SESSION`, `CONNECTIONS`, `HELP`, `VIEWER`, `VARIABLES`, and `PLOTS`. | ||
| - **Status Bar**: Displays project details like Git branch, language mode, and cursor position. | ||
|
|
||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| ## Editor pane | ||
|
|
||
| In the upper central area by default, the editor is where you write, debug, and refine your code. Whether in Python or R, the editor delivers a full-featured IDE experience tailored to data science workflows. | ||
|
|
||
| ### Where you write code | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - Write and edit scripts, notebooks, and apps with responsive syntax-aware features. | ||
| - Built on VS Code foundations for a familiar and extensible experience. | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| - For layout controls, refer to [VS Code Editor Basics](https://code.visualstudio.com/docs/editor/basics). | ||
|
|
||
| ### Key features | ||
|
|
||
| - **Syntax Highlighting** | ||
| Color-coded support for Python, R, YAML, Rust, Markdown, and more. | ||
| - **Auto-completion & Intellisense** | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Real-time suggestions, signature help, and hover tooltips. | ||
| - **Inline Diagnostics** | ||
| See linter messages and errors as you type. | ||
| - **Multi-language Support** | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| Switch seamlessly between languages within one session. | ||
| - **Live Document Preview** | ||
| View Quarto documents, R Markdown, or Shiny apps alongside your code. | ||
| - **Tabs and Split View** | ||
| Customize layout with multiple tabs or split panes. | ||
| - **Version Control Integration** | ||
| Git tools for commits, diffs, and staging inside the editor. | ||
|
|
||
| ## Panel pane | ||
|
|
||
| The Panel below the editor offers contextual tools essential for development and debugging. | ||
|
|
||
| ### Terminal | ||
|
|
||
| - Fully integrated shell for script execution, CLI tools, and environment management. | ||
| - Multiple terminals supported and session-specific tabs available. | ||
|
|
||
| ### Other panel tabs | ||
|
|
||
| - **Console**: Displays Python/R runtime output. | ||
| - **Output**: Logs from builds, publishing, or package management. | ||
| - **Problems**: Lists code issues with quick navigation. | ||
| - **Ports**: Manage forwarded ports for interactive apps like Shiny or Flask. | ||
| - **Debug Console**: Evaluate expressions and view debugging info in real time. | ||
|
|
||
| ## Layout customization | ||
|
|
||
| Positron offers flexible layout options to suit a variety of development workflows. | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| ### Default: stacked layout | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - **Editor above**, with **Console**, **Viewer**, and **Plots/Environment** below. | ||
| - Designed for traditional script-based workflows. | ||
|
|
||
| ### Other layout options | ||
|
|
||
| - **Side-by-Side**: Useful for wide-screen users or those who prefer horizontal splitting. | ||
| - **Notebook Style**: Output appears below code blocks, like in Jupyter or R Notebooks. | ||
|
|
||
| ### Reset options | ||
| - Right-click a pane → _Reset Location_ | ||
| - Use preset menu → _Reset to factory settings_ | ||
rodrigosf672 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| --- | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.