Spanish Total.js
English
Documentation For AI agents
Contents

Get help from your language

A language server is a program that knows a language. If you have the one of your language installed, TotalEdit uses it to complete names, show errors and find where things are.

.md GitHub
On this page

Turn it on

  1. Install the language server of your language, as its page says. Language servers has the ones that TotalEdit knows.
  2. In TotalEdit, choose Start the language servers again in the list of commands, or open the app again.
  3. Open the folder of the project and one of its files. LSP, at the bottom, says that a server helps with it.

The help works in a folder of your computer. With a single file and no folder, or in a folder on a server, there is none.

While you write

  • The completions appear by themselves. The arrows choose one and Enter writes it. Ctrl+Space asks for them, on every system.
  • In a call, the help of its arguments appears.
  • The errors are underlined. Put the pointer on one to read it.

Know a name

Put the pointer on it to read its documentation. With the cursor on it:

ActionKey
Go to the definition, also in another fileF12
Find the references: a list of the lines that use itShift+F12
Rename the symbol everywhereF2

The three are in the menu of the right button too. Esc closes the list of references.

Find the references and Rename the symbol everywhere reach only the files that are on screen: the one in front on each side. Before you rename something that other files use, look for it in the whole project with Whole words, and change it there too.

Format the file

Choose Format the file in the list of commands. On Windows and Linux, Shift+Alt+F does it too. The server decides the style, with your indentation, and some servers do not format.

Without a language server

The file has its colours all the same. HTML, CSS, SQL, JavaScript, TypeScript, Python and Go also have some completions, such as tags, properties, keywords and names of the same file.

In a Total.js project, the help of Total.js needs no server.

If the server stops

TotalEdit says so and goes on without it. Start the language servers again brings it back.

Made in Europe