--- title: Get started with TotalCode project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/getting-started/ updated: 2026-12-02T15:40:00.797Z --- # Get started with TotalCode > TotalCode is the desktop app of [Total.js Code](https://github.com/totaljs/code) 2, the editor of Total.js that you use in the browser. It opens each of your Code servers in a window of its own, keeps a copy of the files on your computer and remembers your passwords. ![The list of Code Editors in TotalCode, each with its name, its folder, its address and its version](https://totaljs.es/_totaldesktop/shots/totalcode-1.webp) You need a Code that is already installed on a server, and a user in it. TotalCode does not install one. ## Install it Download TotalCode for macOS, Windows or Linux from [its page](https://totaljs.es/en/totaldesktop/totalcode/#download). [Install the apps](/totaldesktop/latest/guides/install/) explains each system step by step. ## Open your Code 1. Press **Add Code Editor**. 2. Write a **Name**, and the **URL address** that you open in the browser. 3. Press **Save**. A card appears in the list, with the version of that Code. 4. Press the card. The window becomes Code: sign in as always. If you used the Electron app of Code, bring its list with [Export & Import](/totalcode/latest/guides/export-and-import/). ## What you can do | To | See | | --- | --- | | Add a Code, change it or remove it | [Add a Code Editor](/totalcode/latest/guides/add-a-code-editor/) | | Go from one Code to another, or have several open | [Open and switch](/totalcode/latest/guides/open-and-switch/) | | Find and order the cards | [Order the list](/totalcode/latest/guides/order-the-list/) | | Have the files of a project on your computer | [Keep a local copy](/totalcode/latest/guides/local-copy/) | | Download bundles and files | [Downloads](/totalcode/latest/guides/downloads/) | | Sign in without writing the password | [Saved sign-ins](/totalcode/latest/guides/saved-sign-ins/) | | Take the list to another computer | [Export & Import](/totalcode/latest/guides/export-and-import/) | | Keep a copy of the list | [Auto-backup](/totalcode/latest/guides/auto-backup/) | How to use the editor itself is in the documentation of Code: choose **Total.js Code documentation** in the menu **Help**. --- title: Add, change or remove a Code Editor project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/add-a-code-editor/ updated: 2026-12-02T15:40:00.797Z --- # Add, change or remove a Code Editor > Each Code server that you use is a Code Editor in the list, with its name, its address and, if you want, a folder on your computer. ![The form of a Code Editor, with its name, its address and the path to the repositories](https://totaljs.es/_totaldesktop/shots/totalcode-2.webp) ## Add it 1. Press **Add Code Editor**. 2. Write the **Name** that you want to see in the list, up to 40 characters. 3. Write the **URL address** of the Code. While you write, TotalCode asks that address whether there is a Code there, and shows its version, or **Offline**. 4. Choose a folder in **Path to repositories** if you want [a local copy of the files](/totalcode/latest/guides/local-copy/). You can leave it empty and add it later. 5. Press **Save**. You can save it when it is offline too, to have it ready. ## The address - Without `https://` at the start, TotalCode adds it. - Plain `http://` works only on your computer and on private networks: `localhost`, names without a dot, names that end in `.local` or `.test`, and addresses such as `192.168.1.10`. On the internet, use `https://`, because without it your session travels in the clear. - A user and a password written in the address are taken out, and so is what follows a `?` or a `#`. - Each address can be in the list only once. ## Change it Press the pencil of its card. The same form opens, with the [saved sign-ins](/totalcode/latest/guides/saved-sign-ins/) at the end. > If you change the address or the path, the windows that have that Code open close. Save your work in them first. ## Remove it Press the bin of its card, and then **Remove**. It leaves the list, its windows close, and its saved passwords are deleted from your computer. Nothing changes on the server, and the files of its path stay where they are. --- title: Open a Code Editor and switch to another project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/open-and-switch/ updated: 2026-12-02T15:40:00.797Z --- # Open a Code Editor and switch to another > A card turns the window into that Code. You can go back to the list, or have several Codes open at once, each in its window. ## Open it Press its card. The editor takes the place of the list, in the same window and with the same size. A card that says **Offline** cannot be opened. TotalCode asks each Code every minute whether it answers, and the card works again when it does. ## Go back to the list Choose **Code Editors** in the menu of the app, or press ⇧⌘L on the Mac and Ctrl+Shift+L on Windows and Linux. The window becomes the list again. > Save the file that you are editing before you go back: Code closes in that window. ## Have several open **New window**, ⌘N on the Mac and Ctrl+N on Windows and Linux, opens another list. Choose a card there, and you have two Codes side by side. It can also be the same Code twice, to see two projects. When Code opens another window of its own, it is one more window of TotalCode, with the same sign-in. ## Links Inside the window only that Code opens. A link to any other site opens in your browser. ## Reload the page **Force reload**, in the menu **View**, loads the page of Code again. The keys are ⇧⌘R on the Mac and Ctrl+Shift+R on Windows and Linux. What you had not saved is not loaded again. **Developer tools**, in the same menu, or F12, opens the tools to inspect the page. ## Close the last window On the Mac, TotalCode stays open, and its icon in the Dock opens a list again. On Windows and Linux, it quits. --- title: Find and order the Code Editors project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/order-the-list/ updated: 2026-12-02T15:40:00.797Z --- # Find and order the Code Editors > With many servers, search for the one that you need, and put first those that you use most. ## Search Press ⌘F on the Mac, Ctrl+F on Windows and Linux, and write a part of the name or of the address. Only the cards that match stay. Enter opens the first of them, without counting those that are offline. Clear the search to see them all. ## Order them - **With the mouse**: drag a card onto another, and it takes its place. - **With the keyboard**: go to the card with Tab, then hold Alt (⌥ on the Mac) and press an arrow. Up and left move it towards the start, down and right towards the end. While you search, the cards cannot be dragged. The order is kept, and it goes with the list when you [export it](/totalcode/latest/guides/export-and-import/). ## Read a card | On the card | What it means | | --- | --- | | The folder | The path of its [local copy](/totalcode/latest/guides/local-copy/), or **No local path** | | The globe | Its address | | **Version:** and a number | It answers, and that is the version of Code | | **Online** | It answers without saying its version | | **Offline** | It does not answer | | **---** | TotalCode is still asking | ## Light or dark The list starts dark. The moon or the sun at the top changes it, and TotalCode remembers it. If your system asks for more contrast, the list has it too. This is only for the list. The colours of Code are chosen in your account, inside Code. --- title: Keep a local copy of the files project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/local-copy/ updated: 2026-12-02T15:40:00.797Z --- # Keep a local copy of the files > Code keeps your projects on the server. With TotalCode it can also write their files on your computer, to have a copy, search in them or commit them with git. ## Prepare it 1. In TotalCode, press the pencil of the card, and choose a folder in **Path to repositories** with **Choose…**. Press **Save**. 2. In Code, open the settings of the project, and write in **Folder name** how its folder is called, for example `shop`. The files of that project go to `shop`, inside the folder that you chose. Each project has its own. ## Write the files | Choice in Code | Where it is | What it does | | --- | --- | --- | | **Save locally** | The menu of the editor | Writes the file that is open | | **Download last changes locally** | The menu of the editor | Writes the files that changed, and removes those that were removed | | **Download source-code locally** | The menu of the editor | Writes all the files of the project, one by one | | **Download file locally** | The menu of a file, in the tree | Writes that file | Without **Folder name**, the first three are not in the menu. A large project takes a while. Code shows how far it is. ## Write each file when you save it In your account, inside Code, look that **Always local storing files in Electron version** is marked. The name is from the earlier app, and it works in TotalCode. Each time that you save a file on the server, it is also written on your computer. With it, a file that you remove in Code is removed from your computer too. ## Know before you start > The copy goes in one direction only, from the server to your computer. What you change in those files on your computer does not reach Code, and is lost the next time that Code writes them. A page of Code can write only inside the folder of its card. If it asks for a file outside, TotalCode refuses it. To stop, empty **Path to repositories**. The files that are there stay. --- title: Download bundles and files project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/downloads/ updated: 2026-12-02T15:40:00.797Z --- # Download bundles and files > What you download from Code goes straight to a folder, without a question, and TotalCode tells you where it is. ## Where it goes | You download | With a path in its card | Without a path | | --- | --- | --- | | A bundle | The folder `bundles`, inside the path | Your Downloads folder | | Any other file | The path itself | Your Downloads folder | The path is **Path to repositories**, in the [form of the Code Editor](/totalcode/latest/guides/add-a-code-editor/). When the download ends, TotalCode shows **Download saved** with the whole path of the file. **Show in folder** opens its folder. ## The name of a bundle A bundle takes the name of its Code Editor, whatever the project: in the one called Work, it is `Work.bundle`. The next one is `Work-2.bundle`, if the first is still there. The name does not say which project it is, so give it another one if you keep several. ## The name of other files A file keeps its name, such as `notes.txt`. Letters, digits, spaces, dots, brackets, `-` and `_` stay, and any other sign becomes `-`. So does a dot at the start, which would hide the file: `.env` is saved as `-env`. If there is already a file with that name in the folder, the new one gets a number, such as `notes-2.txt`. Nothing is written over. To have the files of a project with their real names and folders, use **Download source-code locally** or **Download file locally**. [Keep a local copy](/totalcode/latest/guides/local-copy/) explains them. --- title: Sign in with a saved password project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/saved-sign-ins/ updated: 2026-12-02T15:40:00.797Z --- # Sign in with a saved password > TotalCode can keep the password of each Code in the secure store of your system, and fill it on the sign-in page. ## Save it Sign in to a Code as always. When the next page is in, TotalCode asks whether to save the password: - **Save** keeps it. - **Not now** does not, and asks again the next time. - **Never for this one** does not, and stops asking for that Code. If you sign in later with another password, TotalCode asks whether to update the one that it has. ## Use it 1. On the sign-in page, a bar at the top says **Sign in as**, with the users that you saved for that Code. 2. Press yours. 3. On the Mac, confirm with Touch ID or the password of the Mac. 4. The form is filled. Press the button to sign in. The bar shows up to four users. Its cross closes it. On the Mac, once you confirm, TotalCode does not ask again for five minutes, in any of your Codes. On Windows and Linux it fills the form without asking, so lock your computer when you leave it. ## See and delete what is saved Press the pencil of the card. **Saved sign-ins**, at the end of the form, lists the users. The bin of each one deletes its password. If you chose **Never for this one**, that place says so, and **Offer again** undoes it. When you remove a Code Editor from the list, its passwords are deleted too. ## Where the passwords are In the Keychain of the Mac, the Credential Manager of Windows or the Secret Service of Linux. TotalCode itself keeps only the names of the users. The passwords are not in [the export](/totalcode/latest/guides/export-and-import/), so on another computer you sign in again. --- title: Take the list to another computer project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/export-and-import/ updated: 2026-12-02T15:40:00.797Z --- # Take the list to another computer > The list of your Code Editors can be copied as a text and pasted in another TotalCode. The Electron app of Code uses the same text, so it works between both. ## Copy the list 1. Press **Export & Import**. 2. Press **Copy to clipboard**, under **Data**. 3. Send that text to the other computer, or keep it in a file. It has the name, the address and the path of each Code Editor. It has no passwords. > The text looks encrypted, but anyone with TotalCode can read it. Do not publish it if your addresses are private. ## Paste it in the other computer 1. Press **Export & Import**. 2. Delete what is in **Data**, and paste the text. 3. Press **Import**. The Code Editors of the text are added to those that you have. Nothing of yours is changed or removed. These are left out without a message: - those whose address is in the list already; - those with an address that TotalCode does not accept, such as `http://` on the internet. A path of another system, such as a folder of Windows on a Mac, means nothing here. Its Code Editor is added without the path, and the list says how many there are. Edit them to choose a folder of this computer. Check the other paths after importing: the folders of the other computer may not exist in this one. [Add a Code Editor](/totalcode/latest/guides/add-a-code-editor/) explains how to change them. ## Write a list by hand **Data** also takes plain JSON, useful to prepare the list of a whole team: ```json [ { "name": "Work", "url": "https://code.example.com" }, { "name": "Shop", "url": "https://code.shop.example.com", "path": "/Users/me/git" } ] ``` `path` can be left out. To have a copy of the list at all times, without doing this by hand, use [the auto-backup](/totalcode/latest/guides/auto-backup/). --- title: Keep a copy of the list project: TotalCode version: Latest section: guides language: en license: url: https://totaljs.es/docs/totalcode/latest/guides/auto-backup/ updated: 2026-12-02T15:40:00.797Z --- # Keep a copy of the list > TotalCode can write the list of your Code Editors to a file after every change, for example in a folder that goes to your cloud. ## Turn it on 1. Press **Export & Import**. 2. In **Path for auto-backup**, write the whole path of the file, with its name, such as `/Users/me/Cloud/code.txt`. Its folder has to exist. 3. Press **Import**. The button saves the path too. The file is written at once, and then each time that you add, change, remove, order or import Code Editors. > If there is already a file with that name, it is written over. ## What is in the file The same text as in [Export & Import](/totalcode/latest/guides/export-and-import/): the names, the addresses and the paths, without passwords. It always has the list as it is now, and not the earlier ones. If you remove a Code Editor, it goes from the file too. ## Get the list back 1. Open the file and copy all its text. 2. Press **Export & Import**, and paste the text in **Data** in the place of what is there. 3. Press **Import**. > On a new computer, get the list back before you write the path of that file in **Path for auto-backup**. The file is written over as soon as you save the path, with the list of that computer. ## Turn it off Empty **Path for auto-backup** and press **Import**. The file stays where it is. ## If it cannot be written When the file cannot be written after a change, because its disk is not connected for example, the list says so, with the path. Your change is saved, and the file stays as it was. Connect the disk, or write another path. The file is written again with the next change, or at once when you save a new path. --- title: Keyboard shortcuts project: TotalCode version: Latest section: reference language: en license: url: https://totaljs.es/docs/totalcode/latest/reference/shortcuts/ updated: 2026-12-02T15:40:00.797Z --- # Keyboard shortcuts > The keys of TotalCode. Those of the editor itself are the ones of Code, and are in its documentation. ## In the list | Action | Mac | Windows and Linux | | --- | --- | --- | | Search | ⌘F | Ctrl+F | | Open the first that matches, while you search | Enter | Enter | | Move a card towards the start | ⌥↑ or ⌥← | Alt+Up or Alt+Left | | Move a card towards the end | ⌥↓ or ⌥→ | Alt+Down or Alt+Right | A card is moved while it has the focus: go to it with Tab. ## In any window | Action | Mac | Windows and Linux | | --- | --- | --- | | **Code Editors**, back to the list | ⇧⌘L | Ctrl+Shift+L | | **New window** | ⌘N | Ctrl+N | | **Force reload** | ⇧⌘R | Ctrl+Shift+R | | **Developer tools** | F12 | F12 | [Open and switch](/totalcode/latest/guides/open-and-switch/) explains what each one does. --- title: Problems and answers project: TotalCode version: Latest section: faq language: en license: url: https://totaljs.es/docs/totalcode/latest/faq/problems/ updated: 2026-12-02T15:40:00.797Z --- # Problems and answers > What to do when TotalCode does not do what you expected. ## A Code Editor is always Offline Open its address in your browser from the same computer. - If it does not open there, the server is down, or you need the VPN of your company. - If it opens, check the address of the card letter by letter. If Code is in a folder of the site, the address needs that folder. TotalCode asks the address plus `ping/`, so a proxy in front of the server has to let that through. It waits up to eight seconds for the answer. ## "Use https: a Code on the internet without it would send your session in the clear" The address starts with `http://` and is not of a private network. Put a certificate on the server and use `https://`. ## "An instance with this address is already in the list" That Code is there with another name. Search for a part of the address to find it. ## "You don't have defined repository path." The card has no folder. Press its pencil and choose one in **Path to repositories**. [Keep a local copy](/totalcode/latest/guides/local-copy/) has the steps. ## "Save locally" is not in the menu The project has no **Folder name**. Write it in the settings of the project, inside Code. ## "Choose the folder with the button, so its whole path is known" The path has to start at the root of the disk. Press **Choose…** instead of writing it. ## TotalCode does not offer to save my password You may have chosen **Never for this one**. Press the pencil of the card, and then **Offer again**. On Linux, the system needs a secure store that is running, such as GNOME Keyring or KWallet. ## "The change is saved, but the auto-backup could not be written" The file of the auto-backup could not be written, because its folder is not there or its disk is not connected or full. Your list is safe in TotalCode. [Keep a copy of the list](/totalcode/latest/guides/auto-backup/#if-it-cannot-be-written) explains it. ## "This is not an export of Total.js Code. Paste the whole text of the export." A part of the text is missing, or it has changed on the way. Copy it again from its start to its end, and send it in a file if your mail changes it. ## A downloaded file has a number in its name There was already a file with that name, and TotalCode writes over nothing. [Download bundles and files](/totalcode/latest/guides/downloads/#the-name-of-other-files) explains it. ## What TotalCode knows about you The list of your Code Editors and the names of the users that you saved are on your computer. The passwords are in the secure store of your system, and go only to the sign-in page of their Code when you ask for it. The app connects to the addresses that you write in it and to nothing else. [Privacy](/totaldesktop/latest/guides/privacy/) has the details. ## Something else [Report the problem](https://github.com/totaljs-es/totaljs-desktop/issues/new?template=problem.yml) with the version of TotalCode and your system.