Languages and indentation

Deskless 3.0 is available for iPhone and iPad. Android 3.0 is in review on Google Play; Android 2.1 differences are noted. Folding and multiple cursors arrive on Android with 3.0.

Choose a language

Deskless includes highlighting for 57 languages, plus plain text. Open the language menu in the editor status bar to override detection for the current file. Choose Auto Detect to return to automatic detection.

After selecting a language, Always Open … as … associates that extension or file name with your choice. This affects highlighting and language-aware comment toggling. It does not install a compiler or language server. See Language Tools for the smaller set of languages with local semantic tools.

Set indentation

Tap the indentation value in the status bar to choose spaces or tabs and a width. On narrow Android panes, those choices are inside the language menu. Return to Auto Detect on Apple devices or Detect indentation on Android to remove a manual choice.

The order is: your explicit choice, matching .editorconfig settings, detected indentation in the file, then the language default. Changing the indentation setting controls editing; it does not automatically reformat every existing line.

Share settings with EditorConfig

Add a .editorconfig file to your project, save it, and reopen the affected source file. For example:

root = true

[*]
indent_style = space
indent_size = 2

[*.py]
indent_size = 4

[Makefile]
indent_style = tab
tab_width = 4

Deskless applies the indentation subset: indent_style, indent_size and tab_width, with widths from 1 to 16. Closer matching configuration files take precedence; root = true stops the upward search. Other EditorConfig properties are not a promise of automatic encoding, line-ending or save-time whitespace conversion.

Comments, folding and multiple cursors

Use Toggle Comment or ⌘ / / Ctrl / to comment the current line or selection using the selected language’s syntax.

The Command Palette also includes Fold, Unfold, Fold All, Unfold All, Select Next Occurrence, Select All Occurrences, and Add Cursor Above/Below. Fold availability depends on the source structure. Multiple cursors let the same typing update several selections; tapping a new position returns to a single caret.

Android 3.0 adds the same commands, plus gutter ▾/▸ markers and a “⋯ N” placeholder you tap to unfold. Alt-click adds a cursor; typing, Backspace, paste and Enter reach every cursor. Word wrap uses its own layout without folding. Android 2.1 does not include folding or multiple cursors. See the keyboard reference for platform-specific mappings.

Was this page helpful?