snibbets 2.0.13 → 2.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md.orig +24 -0
- data/Gemfile.lock +4 -1
- data/README.md +14 -2
- data/README.md.orig +186 -0
- data/lib/breeze-dark.theme +174 -0
- data/lib/monokai.theme +394 -0
- data/lib/nord.theme +181 -0
- data/lib/snibbets/config.rb +2 -0
- data/lib/snibbets/highlight.rb +36 -16
- data/lib/snibbets/lexers.rb +4 -2
- data/lib/snibbets/lexers_db.rb +379 -0
- data/lib/snibbets/version.rb +1 -1
- data/lib/snibbets.rb +2 -2
- data/lib/solarized-dark.theme +192 -0
- data/lib/solarized-light.theme +196 -0
- data/snibbets.gemspec +1 -0
- metadata +18 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 63ec6e8dcf7dc6da808d54b55419eebd8435cea0b205e902e4d2796505d09ff3
|
4
|
+
data.tar.gz: c5733661768f102397d4f99974abea3f80f3a27531573f867493a79f61d7e5a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d47260fa10df276cbd13ea60f10b4c95a3429cf8247661184cda2472bca334dcacfce2bf8807be1a557205e6cb3cc1e58a745bb09743a57cbdc3209f15151f55
|
7
|
+
data.tar.gz: 26dc9a5ad0fda5792425b13b8e14ab95f0a38a15665374e31f7c6b411b90b0a756c80c24cb66fe92ca17ce9ca4c82ee9250c9b4e96b670829c90186821f5daff
|
data/CHANGELOG.md.orig
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
### 2.0.15
|
2
|
+
|
3
|
+
2023-04-15 22:11
|
4
|
+
|
5
|
+
#### NEW
|
6
|
+
|
7
|
+
- Additional themes for skylighting: nord, monokai, solarized-light/dark
|
8
|
+
|
9
|
+
#### FIXED
|
10
|
+
|
11
|
+
- Bad path to highlighter themes for skylighting
|
12
|
+
|
13
|
+
### 2.0.14
|
14
|
+
|
15
|
+
2023-04-15 21:21
|
16
|
+
|
17
|
+
#### IMPROVED
|
18
|
+
|
19
|
+
- Better default themes for highlighters
|
20
|
+
|
21
|
+
#### FIXED
|
22
|
+
|
23
|
+
- Error with lexers_db when using higlighting
|
24
|
+
|
1
25
|
### 2.0.13
|
2
26
|
|
3
27
|
2023-04-15 19:57
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
snibbets (2.0.
|
4
|
+
snibbets (2.0.15)
|
5
5
|
tty-which (~> 0.5, >= 0.5.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -82,6 +82,9 @@ GEM
|
|
82
82
|
PLATFORMS
|
83
83
|
arm64-darwin-20
|
84
84
|
arm64-darwin-21
|
85
|
+
ruby
|
86
|
+
x64-mingw32
|
87
|
+
x86_64-darwin-20
|
85
88
|
x86_64-linux
|
86
89
|
|
87
90
|
DEPENDENCIES
|
data/README.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
|
2
|
+
|
3
|
+
[![RubyGems.org](https://img.shields.io/gem/v/snibbets)](https://rubygems.org/gems/snibbets)
|
4
|
+
<!-- [![GitHub Actions](https://github.com/ttscoff/snibbets/actions/workflows/check.yml/badge.svg)](https://github.com/ttscoff/snibbets/actions/workflows/check.yml) -->
|
5
|
+
|
2
6
|
A tool for accessing code snippets contained in a folder of plain text Markdown files.
|
3
7
|
|
4
8
|
Snibbets allows me to keep code snippets in raw files, not relying on a dedicated code snippet app. I can collect and edit my snippets using a text editor, nvALT (nvUltra), or simply by saving snippets from my clipboard to a text file using *NIX redirection on the command line. I can add descriptive names and extended descriptions/notes to code snippets using standard Markdown.
|
@@ -104,7 +108,15 @@ The `copy` setting determines whether the output is copied to the clipboard in a
|
|
104
108
|
|
105
109
|
The `editor` setting is used to open the config file, and to open snippets for editing when using the `--edit` flag. This setting can be any command line utility (`code`, `subl`, `vim`, `nano`, etc.), or on macOS it can be an application name (`BBEdit`, `VS Code`, etc.) or a bundle identifier (`com.sublimetext.4`, `com.microsoft.VSCode`, etc.). If no editor is set, then the file will be opened by whatever the system default is (using `open` on macOS, `start` on Windows, or `xdg-open`on Linux).
|
106
110
|
|
107
|
-
The `highlight` key turns on syntax highlighting. This requires that either `pygmentize` or `skyligting` is available on your system (both available via package managers like Homebrew). This feature is still in development and results may be mixed.
|
111
|
+
The `highlight` key turns on syntax highlighting. This requires that either `pygmentize` or `skyligting` is available on your system (both available via package managers like Homebrew). This feature is still in development and results may be mixed. You can also set `highlighter` to `pygments` or `skylight` to force using one highlighter over the other.
|
112
|
+
|
113
|
+
You can also define a color theme with `highlight_theme`. If you're using Pygments, run `pygmentize -L styles` to see available options. If you're using Skylighting, the only currently-available options are:
|
114
|
+
|
115
|
+
- breeze-dark
|
116
|
+
- monokai
|
117
|
+
- nord
|
118
|
+
- solarized-dark
|
119
|
+
- solarized-light
|
108
120
|
|
109
121
|
The `include_blockquotes` setting determines whether blockquotes are included in the output. By default, Snibbets removes everything other than code blocks (indented or fenced) from the output it displays. But if you want to include a note that you'll see on the command line, you can put it in a block quote by preceding each line you want to preserve with a right angle bracket (`>`).
|
110
122
|
|
@@ -117,7 +129,7 @@ The `name_only` key will permanently set Snibbets to only search for snippets by
|
|
117
129
|
### Usage
|
118
130
|
|
119
131
|
```
|
120
|
-
Snibbets v2.0.
|
132
|
+
Snibbets v2.0.15
|
121
133
|
|
122
134
|
Usage: snibbets [options] query
|
123
135
|
-a, --all If a file contains multiple snippets, output all of them (no menu)
|
data/README.md.orig
ADDED
@@ -0,0 +1,186 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
[![RubyGems.org](https://img.shields.io/gem/v/snibbets)](https://rubygems.org/gems/snibbets)
|
4
|
+
<<<<<<< HEAD
|
5
|
+
[![GitHub Actions](https://github.com/ttscoff/snibbets/actions/workflows/check.yml/badge.svg)](https://github.com/ttscoff/snibbets/actions/workflows/check.yml)
|
6
|
+
=======
|
7
|
+
<!-- [![GitHub Actions](https://github.com/ttscoff/snibbets/actions/workflows/check.yml/badge.svg)](https://github.com/ttscoff/snibbets/actions/workflows/check.yml) -->
|
8
|
+
>>>>>>> develop
|
9
|
+
|
10
|
+
A tool for accessing code snippets contained in a folder of plain text Markdown files.
|
11
|
+
|
12
|
+
Snibbets allows me to keep code snippets in raw files, not relying on a dedicated code snippet app. I can collect and edit my snippets using a text editor, nvALT (nvUltra), or simply by saving snippets from my clipboard to a text file using *NIX redirection on the command line. I can add descriptive names and extended descriptions/notes to code snippets using standard Markdown.
|
13
|
+
|
14
|
+
What Snibbets does is simply allow a quick search for a specific snippet that I can either output to the terminal, pipe to my clipboard, or access via LaunchBar (via the included LaunchBar Action). It's basically a wrapper for `find` and `grep` with the ability to separate code blocks from other text in my Markdown files.
|
15
|
+
|
16
|
+
|
17
|
+
![Snibbets in action](https://cdn3.brettterpstra.com/uploads/2023/04/snibbets2.gif)
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
## Collecting Snippets
|
22
|
+
|
23
|
+
Snibbets is designed to work with a folder containing Markdown files. Each Markdown file can have somewhat flexible formatting, as long as there's at least one code block (either indented by 4 spaces/1 tab or fenced with backticks).
|
24
|
+
|
25
|
+
I recommend using filenames with multiple extensions (ending with your markdown extension), primarily to define the syntax for a snippet. For example, a css snippet would be `*.css.md`, a ruby snippet would be `*.rb.md`. This can aid in searching and makes it easy to script things like adding language tags automatically.
|
26
|
+
|
27
|
+
The name of the file should be the description of the snippet, at least in the case where there's only one snippet in the document. Call it 'javascript url parser.js.md' or similar. If I got the snippet from StackOverflow, I give it a name based on the question I searched to find it. Be descriptive.
|
28
|
+
|
29
|
+
You can combine multiple snippets in a file, though. For example, I have a file called 'Ruby hash snippets.rb.md'. That file contains an array of useful snippets, and each one has a descriptive title in an h3 header above it. Those (ATX) headers are used to split the file, and when you search from the command line, you'll get a menu of all of the snippets in the selected file. (And if you have [fzf](https://github.com/junegunn/fzf) or [gum](https://github.com/charmbracelet/gum) installed, you can quickly filter through with fuzzy searching and find exactly what you need.)
|
30
|
+
|
31
|
+
If a file contains multiple snippets, they should be separated by ATX-style headers (one or more `#`) describing the snippets. Additional descriptions can be included outside of the code block. For example:
|
32
|
+
|
33
|
+
A file titled `unix find.bash.md`:
|
34
|
+
|
35
|
+
title: Unix find commands
|
36
|
+
tags: bash, shell, unix
|
37
|
+
|
38
|
+
### Find by name and execute command
|
39
|
+
|
40
|
+
find . -name "rc.conf" -exec chmod o r '{}' \;
|
41
|
+
|
42
|
+
### Find by name and grep contents
|
43
|
+
|
44
|
+
find . -name "*.php" -exec grep -H googleapis '{}' \;
|
45
|
+
|
46
|
+
### Find by age range to CSV
|
47
|
+
|
48
|
+
Finds files older than 18months and newer than 24 months, cats the output to a CSV in the format `/some/path/somewhere, size in bytes, Access Time, Modified Time`
|
49
|
+
|
50
|
+
find /dir/dir -type f -mtime +540 -mtime -720 -printf \"%p\",\"%s\",\"%AD\",|"%TD\"\\n > /dir/dir/output.csv
|
51
|
+
|
52
|
+
You can include MultiMarkdown metadata in your snippets, either in a YAML block or just at the top of the file with raw key/value pairs. I mostly use this for adding tags, which are then synced to macOS tags when I save. It makes it easy to search for snippets in [nvUltra](https://nvultra.com/), and also allows you to do searches like `snibbets tag:javascript url parser` in Snibbets.
|
53
|
+
|
54
|
+
## CLI
|
55
|
+
|
56
|
+
### Dependencies
|
57
|
+
|
58
|
+
Snibbets requires Ruby 3.0+. On recent versions of macOS, this is not included by default. You can install it via the Command Line Tools from Apple. On macOS and most other systems, you can use something like [Homebrew], [rbenv], [rvm], or [asdf] to install Ruby 3.
|
59
|
+
|
60
|
+
If available, menus are generated by [fzf] or [gum]. If neither are available, a basic Readline menu system will be displayed, so neither are required, just nice to have as they provide fuzzy filtering, scrolling, and type-ahead completion.
|
61
|
+
|
62
|
+
[homebrew]: https://brew.sh/ "Homebrew???The Missing Package Manager for macOS (or Linux)"
|
63
|
+
[rbenv]: https://github.com/rbenv/rbenv "rbenv/rbenv:Manage your app's Ruby environment"
|
64
|
+
[rvm]: https://rvm.io/ "Ruby Version Manager"
|
65
|
+
[asdf]: https://asdf-vm.com/ "ASDF environment manager"
|
66
|
+
[fzf]: https://github.com/junegunn/fzf "junegunn/fzf:A command-line fuzzy finder"
|
67
|
+
[gum]: https://github.com/charmbracelet/gum "charmbracelet/gum:A tool for glamorous shell scripts ????"
|
68
|
+
|
69
|
+
### Installation
|
70
|
+
|
71
|
+
To install Snibbets:
|
72
|
+
|
73
|
+
gem install snibbets
|
74
|
+
|
75
|
+
If you're using the system Ruby, you may need to use `sudo gem install snibbets`.
|
76
|
+
|
77
|
+
### Configuration
|
78
|
+
|
79
|
+
When you run it the first time, Snibbets will write a configuration file to `~/.config/snibbets/snibbets.yml`. You can edit that file to set things like your snippets directory, your preferred file extension, and a few other options. Options specified in the config file can always be overriden on the command line with flags.
|
80
|
+
|
81
|
+
Once an editor is defined, you can use `snibbets --configure` to open it automatically. Running that commmand before configuring an editor will use whatever app/utility your system defaults to for YAML files.
|
82
|
+
|
83
|
+
Default config:
|
84
|
+
|
85
|
+
```yaml
|
86
|
+
---
|
87
|
+
all: false
|
88
|
+
copy: false
|
89
|
+
editor:
|
90
|
+
extension: md
|
91
|
+
highlight: false
|
92
|
+
include_blockquotes: false
|
93
|
+
interactive: true
|
94
|
+
launchbar: false
|
95
|
+
menus:
|
96
|
+
name_only: false
|
97
|
+
output: raw
|
98
|
+
source: "~/Dropbox/Snippets"
|
99
|
+
```
|
100
|
+
|
101
|
+
#### Snippet Location
|
102
|
+
|
103
|
+
Set the `source` key to the folder where you keep your Markdown snippets. Optionally adjust the `extension` setting if you use an extension other than `md` (e.g. `markdown` or `txt`).
|
104
|
+
|
105
|
+
#### Other Options
|
106
|
+
|
107
|
+
The `all` setting determines how Snibbets handles files containing multiple snippets. If `all` is true, then it will always display every snippet in the selected file. If false, it will offer a menu and let you choose which snippet to display. You can use `--all` on the command line to just enable this once.
|
108
|
+
|
109
|
+
The `copy` setting determines whether the output is copied to the clipboard in addition to being displayed on STDOUT. This is the equivalent of running `snibbets QUERY | pbcopy` (macOS) or `snibbets QUERY | xclip` (Linux). This can be enabled for just one run with `--copy` on the command line. Setting it to true in the config will copy to the clipboard every time a snippet is displayed. On Mac this will work automatically, on Windows/Linux you may need to [install `xclip` or `xsel`][xclip].
|
110
|
+
|
111
|
+
[xclip]: https://ostechnix.com/access-clipboard-contents-using-xclip-and-xsel-in-linux/
|
112
|
+
|
113
|
+
The `editor` setting is used to open the config file, and to open snippets for editing when using the `--edit` flag. This setting can be any command line utility (`code`, `subl`, `vim`, `nano`, etc.), or on macOS it can be an application name (`BBEdit`, `VS Code`, etc.) or a bundle identifier (`com.sublimetext.4`, `com.microsoft.VSCode`, etc.). If no editor is set, then the file will be opened by whatever the system default is (using `open` on macOS, `start` on Windows, or `xdg-open`on Linux).
|
114
|
+
|
115
|
+
The `highlight` key turns on syntax highlighting. This requires that either `pygmentize` or `skyligting` is available on your system (both available via package managers like Homebrew). This feature is still in development and results may be mixed.
|
116
|
+
|
117
|
+
The `include_blockquotes` setting determines whether blockquotes are included in the output. By default, Snibbets removes everything other than code blocks (indented or fenced) from the output it displays. But if you want to include a note that you'll see on the command line, you can put it in a block quote by preceding each line you want to preserve with a right angle bracket (`>`).
|
118
|
+
|
119
|
+
The `interactive` setting determines whether menus will be displayed. This should generally be true, but if you want silent operation that just displays the best match automatically, set it to false.
|
120
|
+
|
121
|
+
The `menus` setting will determine what method is used for displaying interactive menus. If this is not set, it will be automatically determined in the order of `fzf`, `gum`, and `console`. You can manually choose to use one of these options over another by making it the `menus` setting.
|
122
|
+
|
123
|
+
The `name_only` key will permanently set Snibbets to only search for snippets by their filename rather than examining their contents. You can enable this at runtime using `--name-only` in the command.
|
124
|
+
|
125
|
+
### Usage
|
126
|
+
|
127
|
+
```
|
128
|
+
Snibbets v2.0.14
|
129
|
+
|
130
|
+
Usage: snibbets [options] query
|
131
|
+
-a, --all If a file contains multiple snippets, output all of them (no menu)
|
132
|
+
-c, --[no-]copy Copy the output to the clibpoard (also displays on STDOUT)
|
133
|
+
-e, --edit Open the selected snippet in your configured editor
|
134
|
+
-n, --[no-]name-only Only search file names, not content
|
135
|
+
-o, --output FORMAT Output format (json|launchbar|*raw)
|
136
|
+
-p, --paste, --new Interactively create a new snippet from clipboard contents (Mac only)
|
137
|
+
-q, --quiet Skip menus and display first match
|
138
|
+
-s, --source FOLDER Snippets folder to search
|
139
|
+
--configure Open the configuration file in your default editor
|
140
|
+
--[no-]blockquotes Include block quotes in output
|
141
|
+
--highlight Use pygments or skylighting to syntax highlight (if installed)
|
142
|
+
--save Save the current command line options to the YAML configuration
|
143
|
+
-h, --help Display this screen
|
144
|
+
-v, --version Display version information
|
145
|
+
```
|
146
|
+
|
147
|
+
If your Snippets folder is set in the config, simply running `snibbets [search query]` will perform the search and output the code blocks, presenting a menu if more than one match is found or the target file contains more than one snippet. Selected contents are output raw to STDOUT.
|
148
|
+
|
149
|
+
> If you have fzf or gum installed, snibbets will use those for menus, providing fuzzy filtering of options.
|
150
|
+
|
151
|
+
#### JSON output
|
152
|
+
|
153
|
+
An undocumented output option is `-o json`, which will output all of the matches and their code blocks as a JSON string that can be incorporated into other scripts. It's similar to the `-o launchbar` option, but doesn't contain the extra keys required for the LaunchBar action.
|
154
|
+
|
155
|
+
#### Open snippets in your editor
|
156
|
+
|
157
|
+
Use the `--edit` flag on any search to open the found snippet file in your editor. Configure your default editor in the config file. `snibbets configure` will open that, but if you don't have an editor set, it might have strange results. To edit manually, open `~/.config/snibbets/snibbets.yml` in your text editor of choice.
|
158
|
+
|
159
|
+
#### Creating new snippets
|
160
|
+
|
161
|
+
I do most of my snippet editing in [nvUltra], but sometimes I have a function in my clipboard that just needs quick saving and there are so few moving parts to creating a snippet that it just feels like they could be automated/simplified. That's why I added the `--paste` flag. If you have a code snippet in your clipboard, you can just run `snibbets --paste` (or just `-p`) and you'll get a prompt asking you to describe the snippet (used for filename) and one asking what language(s) are represented.
|
162
|
+
|
163
|
+
You can input the languages as names, e.g. `rust`, `typescript`, or `scala`, or you can just add file extensions that represent the language. If I say `ts` to that prompt, it will generate an extension of `.ts.md` and then add a metadata tag of `typescript` to the file. The code from the clipboard goes into a fenced code block in the document. You can always go add notes to it later, but it's a great way to save snippets as you come across them (or solutions you figure out after a week of banging your head).
|
164
|
+
|
165
|
+
This command requires that a clipboard utility be available. On macOS, you have `pbpaste` by default and don't need to do anything. On Windows and Linux, you'll need to [install either `xclip` or `xsel`][xclip].
|
166
|
+
|
167
|
+
[nvUltra]: https://nvultra.com "nvUltra for Mac"
|
168
|
+
|
169
|
+
|
170
|
+
#### Saving Settings When Running
|
171
|
+
|
172
|
+
Any time you specify things like a source folder with the `--source` flag, or turn on highlighting or name-only search, you can add the flag `--save` to write those to your config and make them the default options.
|
173
|
+
|
174
|
+
## LaunchBar Action
|
175
|
+
|
176
|
+
_I'm currently reworking the LaunchBar action, and it doesn't function very well at this time. I'll update when I have a chance._
|
177
|
+
|
178
|
+
### Installation
|
179
|
+
|
180
|
+
The LaunchBar action can be installed simply by double clicking the `.lbaction` file in Finder. The CLI is not required for the LaunchBar action to function.
|
181
|
+
|
182
|
+
Once installed, run the action (type `snib` and hit return on the result) to select your Snippets folder.
|
183
|
+
|
184
|
+
### Usage
|
185
|
+
|
186
|
+
Type `snib` to bring the Action up, then hit Space to enter your query text. Matching files will be presented. If the selected file contains more than one snippet, a list of snippets (based on ATX headers in the file) will be presented as a child menu. Selecting a snippet and hitting return will copy the associated code block to the clipboard.
|
@@ -0,0 +1,174 @@
|
|
1
|
+
{
|
2
|
+
"metadata" : {
|
3
|
+
"revision" : 2,
|
4
|
+
"name" : "Breeze Dark"
|
5
|
+
},
|
6
|
+
"text-styles": {
|
7
|
+
"Normal" : {
|
8
|
+
"text-color" : "#cfcfc2",
|
9
|
+
"selected-text-color" : "#cfcfc2",
|
10
|
+
"bold" : false,
|
11
|
+
"italic" : false,
|
12
|
+
"underline" : false,
|
13
|
+
"strike-through" : false
|
14
|
+
},
|
15
|
+
"Keyword" : {
|
16
|
+
"text-color" : "#cfcfc2",
|
17
|
+
"selected-text-color" : "#cfcfc2",
|
18
|
+
"bold" : true
|
19
|
+
},
|
20
|
+
"Function" : {
|
21
|
+
"text-color" : "#8e44ad",
|
22
|
+
"selected-text-color" : "#af81ff"
|
23
|
+
},
|
24
|
+
"Variable" : {
|
25
|
+
"text-color" : "#27aeae",
|
26
|
+
"selected-text-color" : "#27aeae"
|
27
|
+
},
|
28
|
+
"ControlFlow" : {
|
29
|
+
"text-color" : "#fdbc4b",
|
30
|
+
"selected-text-color" : "#fdbc4b",
|
31
|
+
"bold" : true
|
32
|
+
},
|
33
|
+
"Operator" : {
|
34
|
+
"text-color" : "#cfcfc2",
|
35
|
+
"selected-text-color" : "#cfcfc2"
|
36
|
+
},
|
37
|
+
"BuiltIn" : {
|
38
|
+
"text-color" : "#7f8c8d",
|
39
|
+
"selected-text-color" : "#bdc3c7"
|
40
|
+
},
|
41
|
+
"Extension" : {
|
42
|
+
"text-color" : "#0099ff",
|
43
|
+
"selected-text-color" : "#bdc3c7",
|
44
|
+
"bold" : true
|
45
|
+
},
|
46
|
+
"Preprocessor" : {
|
47
|
+
"text-color" : "#27ae60",
|
48
|
+
"selected-text-color" : "#27ae60"
|
49
|
+
},
|
50
|
+
"Attribute" : {
|
51
|
+
"text-color" : "#2980b9",
|
52
|
+
"selected-text-color" : "#fdbc4b"
|
53
|
+
},
|
54
|
+
"Char" : {
|
55
|
+
"text-color" : "#3daee9",
|
56
|
+
"selected-text-color" : "#3daee9"
|
57
|
+
},
|
58
|
+
"SpecialChar" : {
|
59
|
+
"text-color" : "#3daee9",
|
60
|
+
"selected-text-color" : "#3daee9"
|
61
|
+
},
|
62
|
+
"String" : {
|
63
|
+
"text-color" : "#f44f4f",
|
64
|
+
"selected-text-color" : "#f44f4f"
|
65
|
+
},
|
66
|
+
"VerbatimString" : {
|
67
|
+
"text-color" : "#da4453",
|
68
|
+
"selected-text-color" : "#da4453"
|
69
|
+
},
|
70
|
+
"SpecialString" : {
|
71
|
+
"text-color" : "#da4453",
|
72
|
+
"selected-text-color" : "#da4453"
|
73
|
+
},
|
74
|
+
"Import" : {
|
75
|
+
"text-color" : "#27ae60",
|
76
|
+
"selected-text-color" : "#27ae60"
|
77
|
+
},
|
78
|
+
"DataType" : {
|
79
|
+
"text-color" : "#2980b9",
|
80
|
+
"selected-text-color" : "#fdbc4b"
|
81
|
+
},
|
82
|
+
"DecVal" : {
|
83
|
+
"text-color" : "#f67400",
|
84
|
+
"selected-text-color" : "#f67400"
|
85
|
+
},
|
86
|
+
"BaseN" : {
|
87
|
+
"text-color" : "#f67400",
|
88
|
+
"selected-text-color" : "#f67400"
|
89
|
+
},
|
90
|
+
"Float" : {
|
91
|
+
"text-color" : "#f67400",
|
92
|
+
"selected-text-color" : "#f67400"
|
93
|
+
},
|
94
|
+
"Constant" : {
|
95
|
+
"text-color" : "#27aeae",
|
96
|
+
"selected-text-color" : "#27aeae",
|
97
|
+
"bold" : true
|
98
|
+
},
|
99
|
+
"Comment" : {
|
100
|
+
"text-color" : "#7a7c7d",
|
101
|
+
"selected-text-color" : "#808080"
|
102
|
+
},
|
103
|
+
"Documentation" : {
|
104
|
+
"text-color" : "#a43340",
|
105
|
+
"selected-text-color" : "#da4453"
|
106
|
+
},
|
107
|
+
"Annotation" : {
|
108
|
+
"text-color" : "#3f8058",
|
109
|
+
"selected-text-color" : "#54aa75"
|
110
|
+
},
|
111
|
+
"CommentVar" : {
|
112
|
+
"text-color" : "#7f8c8d",
|
113
|
+
"selected-text-color" : "#94a3a4"
|
114
|
+
},
|
115
|
+
"RegionMarker" : {
|
116
|
+
"text-color" : "#2980b9",
|
117
|
+
"selected-text-color" : "#3daee9",
|
118
|
+
"background-color" : "#153042"
|
119
|
+
},
|
120
|
+
"Information" : {
|
121
|
+
"text-color" : "#c45b00",
|
122
|
+
"selected-text-color" : "#e46700"
|
123
|
+
},
|
124
|
+
"Warning" : {
|
125
|
+
"text-color" : "#da4453",
|
126
|
+
"selected-text-color" : "#da4453"
|
127
|
+
},
|
128
|
+
"Alert" : {
|
129
|
+
"text-color" : "#95da4c",
|
130
|
+
"selected-text-color" : "#95da4c",
|
131
|
+
"background-color" : "#4d1f24",
|
132
|
+
"bold" : true
|
133
|
+
},
|
134
|
+
"Error" : {
|
135
|
+
"text-color" : "#da4453",
|
136
|
+
"selected-text-color" : "#da4453",
|
137
|
+
"underline" : true
|
138
|
+
},
|
139
|
+
"Others" : {
|
140
|
+
"text-color" : "#27ae60",
|
141
|
+
"selected-text-color" : "#27ae60"
|
142
|
+
}
|
143
|
+
},
|
144
|
+
"editor-colors": {
|
145
|
+
"background-color" : "#232629",
|
146
|
+
"code-folding" : "#224e65",
|
147
|
+
"bracket-matching" : "#8e44ad",
|
148
|
+
"current-line" : "#2A2E32",
|
149
|
+
"icon-border" : "#31363b",
|
150
|
+
"indentation-line" : "#3a3f44",
|
151
|
+
"line-numbers" : "#7a7c7d",
|
152
|
+
"current-line-number" : "#a5a6a8",
|
153
|
+
"mark-bookmark" : "#0404bf",
|
154
|
+
"mark-breakpoint-active" : "#8b0607",
|
155
|
+
"mark-breakpoint-reached" : "#6d6e07",
|
156
|
+
"mark-breakpoint-disabled" : "#820683",
|
157
|
+
"mark-execution" : "#4d4e50",
|
158
|
+
"mark-warning" : "#f67400",
|
159
|
+
"mark-error" : "#da4453",
|
160
|
+
"modified-lines" : "#c04900",
|
161
|
+
"replace-highlight" : "#808021",
|
162
|
+
"saved-lines" : "#1c8042",
|
163
|
+
"search-highlight" : "#218058",
|
164
|
+
"selection" : "#2d5c76",
|
165
|
+
"separator" : "#7a7c7d",
|
166
|
+
"spell-checking" : "#c0392b",
|
167
|
+
"tab-marker" : "#4d4d4d",
|
168
|
+
"template-background" : "#31363b",
|
169
|
+
"template-placeholder" : "#123723",
|
170
|
+
"template-focused-placeholder" : "#123723",
|
171
|
+
"template-read-only-placeholder" : "#4d1f24",
|
172
|
+
"word-wrap-marker" : "#3a3f44"
|
173
|
+
}
|
174
|
+
}
|