You've already forked waveterm-docs-old
mirror of
https://github.com/wavetermdev/waveterm-docs-old.git
synced 2026-04-22 15:22:42 -07:00
1b34a8d580
* added ssh import to connections page * updated connections page copy for clarity, and conciseness * added screenshot for connections, tightened up the tip box, and added a link to waveshell * attempting to trigger a new deployment * fixed minor copy issue * added show preview feature in tip section rather than regular body text * remove 'two ways' language in importing ssh connections section
33 lines
1.8 KiB
Plaintext
33 lines
1.8 KiB
Plaintext
---
|
|
title: 'Codeedit'
|
|
description: 'Edit files inline and quickly using a rich native UI'
|
|
icon: 'code'
|
|
---
|
|
|
|
<img height="200" src="/images/codeedit.gif" />
|
|
|
|
Codeedit is built using [Monaco](https://microsoft.github.io/monaco-editor/) (the editor that powers VS Code) and allows you to view and edit files inline using a rich, native UI. It brings to your terminal an unparalleled editing experience with features such as syntax highlighting, code folding, code completion, find and replace, and much more.
|
|
|
|
## Using Codeedit
|
|
```
|
|
codeedit [filename]
|
|
/codeedit [filename]
|
|
|
|
[lang=javascript] codeedit [filename]
|
|
[lang=json] codeedit hello.json
|
|
```
|
|
Both with and without the slash are allowed. The option `filename` resolves against the current remote and current working directory.
|
|
|
|
## Shortcuts
|
|
Below is a list of the currently available keyboard shortcuts for Codeedit.
|
|
- `Cmd-S` - Saves current file
|
|
- `Cmd-D` - Closes the editor. Note, users will be prompted with whether or not they'd like to save before closing.
|
|
- `Cmd-F` - Search the current file for a string using _whole word_, _regex_ and _match case_ options. `Cmd-F` also supports _find and replace_ by simply clicking the green dropdown arrow in the find box.
|
|
|
|
We are committed to enhancing Codeedit's capabilities and will update this list as new functionalities become available. Please revisit this page for the latest updates.
|
|
<Tip>
|
|
Codeedit also includes a live preview feature for Markdown files. To activate, open a Markdown file in Codeedit and click the `show preview` button located in the top right corner. This feature enables simultaneous editing and rendering, offering a side-by-side view of your Markdown source and its live output for efficient and immediate feedback.
|
|
</Tip>
|
|
|
|
**Note:** See [codeview](/reference/slashcommands#codeview) to view files in a _view only_ mode using the same native UI.
|