Skip to content
项目

关于

为 Julia REPL 提供语法高亮和其他增强功能

其他项目

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

探索相关项目

加载中…