1.0.1 • Published 2 months ago

@cspell/dict-julia v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

CSpell Julia Dictionary

Julia dictionary for cspell.

This is a pre-built dictionary for use with CSpell.

Installation

Global Install and add to CSpell global settings.

npm install -g @cspell/dict-julia
cspell link add @cspell/dict-julia

Uninstall from CSpell

cspell link remove @cspell/dict-julia

Manual Installation

Manual installation is useful if you want to include this dictionary as part of your CI/CD lint process.

npm i @cspell/dict-julia

The cspell-ext.json file in this package should be added to the import section in your cspell.json file.

{
    // …
    "import": ["@cspell/dict-julia/cspell-ext.json"],
    // …
}

Dictionary Development

See: How to Create a New Dictionary

Script to export all relevant Base functions

base_functions = names(Base) .|> string
# We get rid of operators like +, - etc...
filter!(f -> !isnothing(match(r"\w+", f)), base_functions)
open("./src/julia.txt", "w") do io
 println.(io, base_functions)
end;

License

MIT

Some packages may have other licenses included.