Skip to content
Proyek

Tentang

Penyorotan sintaksis dan peningkatan lainnya untuk REPL Julia

Proyek lainnya

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

OhMyREPL

build

This is my REPL. There are many like it, but this one is mine.

repl

As of Julia 1.13, most of the features OhMyREPL used to implement (syntax highlighting, bracket highlighting, rainbow brackets, automatic bracket insertion and markdown highlighting in docstrings) are built into the Julia REPL itself. OhMyREPL is now a thin layer on top of the native functionality that provides:

  • Colorschemes - Named colorschemes for the built-in syntax highlighting (applied as StyledStrings faces), plus an easy way to define your own.
  • Prompt changing - Can change the text and color of the julia> prompt as well as add a prompt for output.

OhMyREPL 0.6+ requires Julia 1.13. On older Julia versions the 0.5.x releases are installed instead, which implement the REPL features within the package itself.

If you like this package please give it a star. I like stars.

Installation

Pkg.add("OhMyREPL")

and then just load with using OhMyREPL (preferably by putting it in the .julia/config/startup.jl file)

Quick start

julia> colorschemes()       # list available colorschemes

julia> colorscheme!("OneDark")  # activate one

julia> test_colorscheme("GruvboxDark")  # preview one without activating it

Documentation

Please see the documentation for a more extensive description of the features and their settings, like how to change colorschemes and how to create your own.

Jelajahi proyek terkait

Memuat…