unicode-commentsWrite scientific comments in real Unicode using LaTeX-flavored commands. Type Designed for source-code comments where you want readable math ( FeaturesCompletion on
|
| Category | Examples |
|---|---|
| Greek (lower) | \alpha α, \beta β, \lambda λ, \pi π, \omega ω, \varepsilon ϵ |
| Greek (upper) | \Sigma Σ, \Delta Δ, \Omega Ω, \Phi Φ |
| Logic | \forall ∀, \exists ∃, \neg ¬, \land ∧, \lor ∨, \implies ⇒, \iff ⇔ |
| Sets | \in ∈, \notin ∉, \subseteq ⊆, \cup ∪, \cap ∩, \emptyset ∅ |
| Number sets | \N ℕ, \Z ℤ, \Q ℚ, \R ℝ, \C ℂ |
| Relations | \leq ≤, \geq ≥, \neq ≠, \equiv ≡, \approx ≈ |
| Arrows | \to →, \mapsto ↦, \Rightarrow ⇒, \leftrightarrow ↔ |
| Operators | \sum ∑, \prod ∏, \int ∫, \partial ∂, \nabla ∇, \infty ∞ |
| Math misc | \pm ±, \times ×, \cdot ·, \sqrt √, \prime ′ |
| Geometry | \angle ∠, \perp ⊥, \parallel ∥, \triangle △ |
| Brackets | \langle ⟨, \rangle ⟩, \lceil ⌈, \lfloor ⌊, \llbracket ⟦ |
| Dots | \ldots …, \cdots ⋯, \vdots ⋮, \ddots ⋱ |
Commands
| Command | ID | Default keybinding |
|---|---|---|
| Unicode Comments: Convert LaTeX Commands to Unicode | unicode-comments.convert |
Cmd+Alt+U (macOS), Ctrl+Alt+U (other) |
Usage tips
- Works in any file type. The completion provider attaches to all file and untitled documents.
- Use the bulk command on a selected comment block to convert everything in one pass.
- If auto-close brackets are on, the
}keystroke never reaches the listener so on-}conversion is skipped. The live completion preview and the bulk command both still work.
Known issues
- Auto-close brackets suppress the on-
}auto-convert. Use the live completion item or the bulk command instead. - Conversion is one-way. There is no reverse mapping from Unicode back to LaTeX source.
Release notes
0.0.1
Initial release.
\commandcompletion for ~200 LaTeX-style symbols.\^{...}and\_{...}multi-character super/subscripts.- Auto-convert on
}close, live completion preview, and hover preview. - Bulk convert command with keybinding.