Documentation / The IDE

Editor and languages

Highlighted languages, language servers, the native Java engine and the everyday editing tools.

On this page

Yuli's editor has semantic highlighting, autocomplete, code lens, formatting and live diagnostics. The heavy lifting is done by the native engine, so the editor stays responsive even in large repositories.

Highlighted languages

FamilyLanguages and files
JVMJava, Kotlin, Scala, Groovy and Gradle
WebJavaScript, TypeScript, JSX and TSX, HTML, CSS, SCSS and LESS
Classic Java webJSP, JSPF, JSPX, TAG, TLD and XHTML
SystemsC, C++, C#, Go, Rust, Swift and Dart
ScriptingPython, Ruby, PHP, Perl, Lua, R, Shell, PowerShell and Batch
DataSQL, JSON, YAML, TOML, XML, GraphQL and Protobuf
Configuration.properties, .env, INI, Dockerfile, Jenkinsfile, Terraform, Makefile and .gitignore
DocumentsMarkdown

PL/SQL code is recognized by its content.

Language servers

For TypeScript and JavaScript, Python, Go, Kotlin, C#, PHP, Ruby, C and C++, Bash, Dockerfile and Rust, Yuli uses the reference language server (LSP), which provides full autocomplete and diagnostics. CSS, SCSS and LESS are handled by the editor itself, and Java has its native engine.

Nothing is downloaded silently: if a server is missing, "No language server for…" appears and you decide. Yuli installs them without needing npm or Node on your machine and verifies every package. Details in Language servers and build.

The native Java engine

Java also has its own code intelligence engine, written in Rust:

  • Parses with Tree-sitter and stores a symbol graph in SQLite.
  • Resolves types with the Java compiler for exact results.
  • Reads the Maven and Gradle classpath without depending on their tools, and understands Ant and Eclipse projects without migrating.
  • Knows Spring, JPA and Hibernate, Lombok, Jakarta, Struts and JBoss.
  • Reindexes only what changed.

See Code intelligence.

Editing

FeatureHow
AutocompleteCtrl+Space
Quick actions (quick fix, import, ask the agent)Alt+Enter or Ctrl+.
ReformatCtrl+Alt+L
Optimize importsCtrl+Alt+O
Comment or uncommentCtrl+/
Find in fileCtrl+F
Find and replace in filesCtrl+Shift+S
Go to lineCtrl+G
Word wrapAlt+Z

Autosave

Yuli saves after a pause in typing and when you switch windows. It's configured in Global options → Build, run and debug, together with the rest of the build settings.

Split view

Ctrl+\ splits to the right and Ctrl+Shift+\ splits down. You can open any project file side by side, a class from an external library (source or decompiled, read-only) or a file from another project. The picker has fuzzy search.

Diff tool

Tools → Text diff… compares two texts, and Compare active file with split view compares both sides, in a side-by-side or inline diff.

Editor extras

Everything is set in Global options → Editor.

Keymap scheme

Keymap scheme offers Default (IntelliJ), Vim and Emacs.

The shortcuts in this documentation. It is the starting scheme. See Keyboard shortcuts.

Emmet

On by default in HTML, CSS, SCSS, Less, JSX and TSX: type the abbreviation and expand it.

Format on save

  • Format the document on save (Ctrl+S): on by default.
  • Also on auto-save: off by default.
  • Per-language exceptions: turn it off or on only for some languages.

If there is no formatter for the file, or it fails, the file is saved anyway.

EditorConfig

Yuli honours the project's .editorconfig: indent_style, indent_size, tab_width, end_of_line, trim_trailing_whitespace, insert_final_newline and max_line_length (shown as a vertical ruler). If the charset differs, it warns you, but it won't convert the file on its own.

Code snippets

Snippets in VS Code format (<language>.json or *.code-snippets):

ScopeWhere
GlobalThe snippets/ folder in Yuli's configuration
Project<project>/.yuli/snippets/

The Configure code snippets command opens a form to create them, with an Edit JSON option.

Jupyter notebooks

Yuli opens and runs .ipynb files:

  • It starts a Jupyter Server on your machine only (loopback), with a random token, and stops it when idle.
  • It works with any installed kernel: IPython, IR, IJulia, Deno…
  • Python comes from the project's virtual environment, then conda, then the system.
  • If Jupyter is missing, Install Jupyter in the project installs ipykernel and jupyter_server into the project environment (or creates a .venv), only if you accept.

To run or debug from the margin (▶) in Python, Go, .NET and package.json, see Language servers and build and Debugging.

Special files

FileWhat Yuli offers
.propertiesMessage editor: a key × language table per bundle (Struts, JSTL, Spring), missing or extra keys, respecting Latin-1 or UTF-8.
hbm.xml and hibernate.cfg.xmlCtrl+Click from the class to the entity and from the property to the field; validation of tables and columns against the database.
Project XMLFormat document for pom.xml, web.xml, struts-config.xml, Eclipse descriptors, TLD and JSPX, preserving comments and CDATA.
Markdown, OpenAPI and documentsPreview.
Team, plugin and CI configurationValidation and autocomplete with JSON schemas.

Diagnostics that stay out of the way

Nothing is written next to the code. The fragment with a problem takes on its tone and a thin underline; the message appears on hover.

ToneMeaning
RedError
YellowWarning
BlueInformation
Gray italicUnused code

Analysis severities are distinguished as blocker, critical, major, minor and info.

Autocomplete

Inline autocomplete from the local engine is always available. AI autocomplete is off by default and is enabled by choice, with the provider and model you prefer.

Appearance

Light and dark themes, with a restrained code palette designed for long working days. Font, minimap, ligatures and whitespace are adjusted in Global options → Editor.