You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> **DRAFT — outline only.** Bullet points below capture what each subsection will cover. Convert to prose + screenshots/videos in a later pass. Remove this banner and the `draft: true` frontmatter when ready to publish.
6
+
import React from 'react';
7
+
import VideoPlayer from '@site/src/components/Video/player';
8
+
9
+
> **DRAFT — partial.** Themes, Sidebar Collapse Toggle, and Tabbed Sidebar are still outlined as bullet points and need to be written. Moved sections (Zoom, Line Height, Indent Guides, Editor Rulers, No-Distractions) still need a style cleanup pass per the no-weasel-words rule. Remove this banner and the `draft: true` frontmatter when ready to publish.
7
10
8
11
This section covers everything that lets you make **Phoenix Code** look and feel the way you want — from full themes down to individual visual toggles.
9
12
10
13
---
11
14
12
15
## Themes
13
-
*(Move existing content from `08-Features/13-themes.md`. Update with new themes shipped this release.)*
16
+
*(To be written. Move existing content from `08-Features/13-themes.md`. Update with new themes shipped this release.)*
14
17
15
18
- What themes are and how they affect the editor
16
19
- Built-in themes — list with screenshots
@@ -19,60 +22,136 @@ This section covers everything that lets you make **Phoenix Code** look and feel
19
22
-**Dark Phoenix** (NEW this release)
20
23
- All other built-in themes — list and short description
21
24
- Switching themes
22
-
- Via Extension Manager → Themes tab → Apply
23
-
- Via `View` menu (if applicable)
24
25
- Installing a new theme from the marketplace
25
26
- Removing an installed theme
26
27
- Creating your own theme — link to Theme Template repo
27
28
- Preference key reference (where applicable)
28
29
29
30
---
30
31
31
-
## Zoom UI and Font Size
32
-
*(Move existing content from `03-editing-text.md` → "Zoom and Font Size Adjustments".)*
32
+
## Zoom and Font Size Adjustments
33
+
The **Zoom UI and Fonts** options allow you to adjust the overall interface scale and font size.
34
+
35
+
### Zoom UI
36
+
**Zoom In** :- Enlarges the overall UI, making all elements larger.
37
+
38
+
**Zoom Out** :- Reduces the overall UI, making all elements smaller.
39
+
40
+
### Font Size Adjustment
41
+
**Increase Font Size** :- Enlarges the text in the editor without affecting other UI elements.
42
+
43
+
**Decrease Font Size** :- Reduces the text size in the editor without affecting other UI elements.
44
+
45
+
**Restore Font Size** :- Resets the editor text to its default size.
46
+
47
+
48
+
### Using Zoom UI and Fonts Options
49
+
#### Using Menu
50
+

51
+
52
+
1. Click on "View" in the menu bar.
53
+
2. Hover over "Zoom UI and Fonts".
54
+
3. Select the desired option from the submenu.
33
55
34
-
- What zoom does vs. font size adjustment (UI scale vs. editor text only)
***Increase Font Size**: `Ctrl + Shift + +` (`Cmd + Shift + +` on MacOs)
60
+
***Decrease Font Size**: `Ctrl + Shift + -` (`Cmd + Shift + -` on MacOs)
61
+
***Restore Font Size**: `Ctrl + Shift + (` (`Cmd + Shift + (` on MacOs)
62
+
63
+
*Note :- The current zoom level is displayed next to the **Zoom In** option.*
40
64
41
65
---
42
66
43
67
## Line Height
44
-
*(Move existing content from `03-editing-text.md`.)*
45
68
46
-
- What it does — vertical spacing between lines
47
-
- Adjusting via `View > Themes...` → Line Height slider (1 to 3, default 1.5)
48
-
- Modifying via preferences — `themes.editorLineHeight`
49
-
- Cross-link to new Preferences page
69
+
The **Line Height** feature lets you customize the vertical spacing between lines of text in the editor.
70
+
71
+
### Adjusting Line Height
72
+
73
+
To adjust line height:
74
+
1. Click on `View` in the menu bar.
75
+
2. Navigate to the `Themes...` option.
76
+
3. Use the Line Height slider to set a value between 1 and 3. The default is 1.5.
77
+

78
+
79
+
Adjustments apply instantly, updating the editor dynamically.
80
+
81
+
### Modifying Line Height via Preferences
82
+
83
+
You can also modify the line height by updating the `themes.editorLineHeight` property in the preferences file. [Click Here](./editing-text#editing-preferences) to read on how to edit the preferences.
50
84
51
85
---
52
86
53
87
## Indent Guide Lines
54
-
*(Move existing content from `03-editing-text.md`.)*
55
88
56
-
- What they are — vertical lines showing indentation levels
57
-
- Enabling / disabling via `View > Indent Guide Lines`
58
-
- Preference keys
59
-
-`editor.indentGuides` — on/off
60
-
-`editor.indentHideFirst` — hide the first guide line
61
-
- Cross-link to new Preferences page
89
+

90
+
**Indent Guide Lines** are vertical lines that help visually align code blocks and indicate indentation levels. They assist in understanding code hierarchy and nested structures, improving overall readability.
91
+
92
+
### Enabling/Disabling Indent Guide Lines
93
+

94
+
95
+
To enable or disable Indent Guide Lines, go to `View > Indent Guide Lines`.
96
+
97
+
### Editor Preferences for Indent Guides
98
+
You can customize indent guide behavior in the editor preferences with the following options:
99
+
100
+
[Click here](./editing-text#editing-preferences) to read on how to edit the preferences.
101
+
102
+
**editor.indentGuides**: Set to `true` to display indent guide lines; set to `false` to hide them.
103
+
**editor.indentHideFirst**: Set to `true` to hide the first indent guide line; set to `false` to display it.
62
104
63
105
---
64
106
65
107
## Editor Rulers
66
-
*(Move existing content from `08-Features/03-editor-rulers.md`.)*
67
108
68
-
- What rulers are — vertical guides at column positions
69
-
- How to configure (preferences / settings)
70
-
- Common use cases (80-col / 120-col line length guidance)
109
+
Add vertical column rulers to the editor to keep track of line lengths. By
110
+
default, a single ruler is set at the 120-character position.
111
+
112
+
### Enabling and Disabling Rulers
113
+
114
+
Toggle the visibility of rulers through the `View > Rulers` menu option.
115
+
116
+

117
+
118
+
### Adding Multiple Rulers
119
+
120
+
To add multiple rulers, edit the preferences file:
121
+
122
+
1. Navigate to `File > Open Preferences File`.
123
+
1. Add the following entries to the JSON configuration:
124
+
125
+
```js
126
+
{
127
+
// existing json items
128
+
"editor.rulers": [40, 80],
129
+
"editor.rulerColors": ["green", "#f34d5a"],
130
+
}
131
+
```
132
+
133
+
These settings introduce two rulers at the 40th and 80th character positions,
1.`editor.rulers` : Specifies an array of column numbers where vertical rulers
141
+
will appear.
142
+
1.`editor.rulerColors` : An optional array to set colors for each ruler,
143
+
corresponding to the positions listed in `editor.rulers`.
144
+
145
+
#### Q: How do I add different rulers for each project?
146
+
147
+
To set up different rulers for individual projects, create a `.phcode.json` file
148
+
in the root directory of each project. Include the same ruler configurations as
149
+
shown in the example above.
71
150
72
151
---
73
152
74
153
## Sidebar Collapse Toggle (NEW)
75
-
*(NEW feature — titlebar control shipped this release.)*
154
+
*(To be written. NEW feature — titlebar control shipped this release.)*
76
155
77
156
- What it does — collapses/expands the main sidebar from the titlebar
78
157
- Where the toggle button lives (titlebar, near app menu)
@@ -82,7 +161,7 @@ This section covers everything that lets you make **Phoenix Code** look and feel
82
161
---
83
162
84
163
## Tabbed Sidebar (NEW)
85
-
*(NEW feature shipped this release — main sidebar now supports tabs.)*
164
+
*(To be written. NEW feature shipped this release — main sidebar now supports tabs.)*
86
165
87
166
- What it is — multiple panels accessible as tabs in the main sidebar
88
167
- What tabs ship by default (Files, Git, Extensions, etc.)
@@ -92,13 +171,16 @@ This section covers everything that lets you make **Phoenix Code** look and feel
92
171
---
93
172
94
173
## No-Distractions Mode
95
-
*(Move existing content from `03-editing-text.md`.)*
174
+
**No-Distractions Mode** helps you focus by minimizing visual clutter and hiding non-essential interface elements, creating a clean, minimalist editing environment.
175
+
176
+
### Activating No-Distractions Mode
177
+
#### **Using Editor Interface** :
178
+
Toggle between `No-Distractions` Mode and `Normal` Mode through `View > Menu` option.
179
+
180
+

96
181
97
-
- What it does — hides non-essential UI for focused editing
98
-
- Toggle via `View > No-Distractions Mode`
99
-
- Keyboard: `Shift + F11`
100
-
- What gets hidden vs. what stays
101
-
- (Note: Design Mode also affects UI visibility — link out to Design Mode docs once they exist)
182
+
#### **Using Keyboard** :
183
+
Press `Shift + F11` to toggle between `No-Distractions` Mode and `Normal` Mode.
Copy file name to clipboardExpand all lines: docs/03-editing-text.md
-89Lines changed: 0 additions & 89 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,81 +100,6 @@ With **Emmet**, you can write HTML and CSS faster using shorthand abbreviations.
100
100
101
101
---
102
102
103
-
## Zoom and Font Size Adjustments
104
-
The **Zoom UI and Fonts** options allow you to adjust the overall interface scale and font size.
105
-
106
-
### Zoom UI
107
-
**Zoom In** :- Enlarges the overall UI, making all elements larger.
108
-
109
-
**Zoom Out** :- Reduces the overall UI, making all elements smaller.
110
-
111
-
### Font Size Adjustment
112
-
**Increase Font Size** :- Enlarges the text in the editor without affecting other UI elements.
113
-
114
-
**Decrease Font Size** :- Reduces the text size in the editor without affecting other UI elements.
115
-
116
-
**Restore Font Size** :- Resets the editor text to its default size.
117
-
118
-
119
-
### Using Zoom UI and Fonts Options
120
-
#### Using Menu
121
-

122
-
123
-
1. Click on "View" in the menu bar.
124
-
2. Hover over "Zoom UI and Fonts".
125
-
3. Select the desired option from the submenu.
126
-
127
-
#### Using Keyboard Shortcuts
128
-
***Zoom In**: `Ctrl + +` (`Cmd + +` on MacOs)
129
-
***Zoom Out**: `Ctrl + -` (`Cmd + -` on MacOs)
130
-
***Increase Font Size**: `Ctrl + Shift + +` (`Cmd + Shift + +` on MacOs)
131
-
***Decrease Font Size**: `Ctrl + Shift + -` (`Cmd + Shift + -` on MacOs)
132
-
***Restore Font Size**: `Ctrl + Shift + (` (`Cmd + Shift + (` on MacOs)
133
-
134
-
*Note :- The current zoom level is displayed next to the **Zoom In** option.*
135
-
136
-
---
137
-
138
-
## Line Height
139
-
140
-
The **Line Height** feature lets you customize the vertical spacing between lines of text in the editor.
141
-
142
-
### Adjusting Line Height
143
-
144
-
To adjust line height:
145
-
1. Click on `View` in the menu bar.
146
-
2. Navigate to the `Themes...` option.
147
-
3. Use the Line Height slider to set a value between 1 and 3. The default is 1.5.
148
-

149
-
150
-
Adjustments apply instantly, updating the editor dynamically.
151
-
152
-
### Modifying Line Height via Preferences
153
-
154
-
You can also modify the line height by updating the `themes.editorLineHeight` property in the preferences file. [Click Here](#editing-preferences) to read on how to edit the preferences.
155
-
156
-
---
157
-
158
-
## Indent Guide Lines
159
-
160
-

161
-
**Indent Guide Lines** are vertical lines that help visually align code blocks and indicate indentation levels. They assist in understanding code hierarchy and nested structures, improving overall readability.
162
-
163
-
### Enabling/Disabling Indent Guide Lines
164
-

165
-
166
-
To enable or disable Indent Guide Lines, go to `View > Indent Guide Lines`.
167
-
168
-
### Editor Preferences for Indent Guides
169
-
You can customize indent guide behavior in the editor preferences with the following options:
170
-
171
-
[Click here](#editing-preferences) to read on how to edit the preferences.
172
-
173
-
**editor.indentGuides**: Set to `true` to display indent guide lines; set to `false` to hide them.
174
-
**editor.indentHideFirst**: Set to `true` to hide the first indent guide line; set to `false` to display it.
175
-
176
-
---
177
-
178
103
## File Encoding
179
104
**File encoding** is the method used to represent text in a file by converting characters into bytes. We need it to ensure that text is displayed correctly across different platforms and to handle special characters or symbols. Phoenix Code Editor supports multiple file encoding formats.
180
105
@@ -282,20 +207,6 @@ You can adjust the tab size width or number of spaces by clicking the value in t
282
207
283
208
---
284
209
285
-
## No-Distractions Mode
286
-
**No-Distractions Mode** helps you focus by minimizing visual clutter and hiding non-essential interface elements, creating a clean, minimalist editing environment.
287
-
288
-
### Activating No-Distractions Mode
289
-
#### **Using Editor Interface** :
290
-
Toggle between `No-Distractions` Mode and `Normal` Mode through `View > Menu` option.
291
-
292
-

293
-
294
-
#### **Using Keyboard** :
295
-
Press `Shift + F11` to toggle between `No-Distractions` Mode and `Normal` Mode.
296
-
297
-
---
298
-
299
210
## Editing Preferences
300
211
You can personalize Phoenix to suit your workflow by adjusting the preferences.
0 commit comments