Skip to content

Commit

Permalink
Modify settings and README.
Browse files Browse the repository at this point in the history
  • Loading branch information
hanfezh committed Mar 6, 2022
1 parent f602104 commit aa2cb3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Pretty Protobuf.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"indent": 4,
"sort_keys": false,
"use_entire_file_if_no_selection": true,
"clang_format_path": ""
"clang_format_path": "clang-format"
}
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Pretty Protobuf
It is a plugin for [Sublime Text](https://www.sublimetext.com) 3 & 4, used to prettify the debug string of [Protobuf](https://developers.google.com/protocol-buffers) messages.
It is a plugin for [Sublime Text](https://www.sublimetext.com) 4, used to prettify the debug string of [Protobuf](https://developers.google.com/protocol-buffers) messages.

Use [Python Lex-Yacc](https://www.dabeaz.com/ply) to parse the debug string.

Expand Down Expand Up @@ -46,12 +46,14 @@ Default settings for prettifying message debug string:
- *indent*: 4 spaces
- *sort_keys*: false, set true to sort keys
- *use_entire_file_if_no_selection*: true
- *clang_format_path*: clang-format, change to canonical path, such as */usr/local/bin/clang-format*

```json
{
"indent": 4,
"sort_keys": false,
"use_entire_file_if_no_selection": true
"use_entire_file_if_no_selection": true,
"clang_format_path": "clang-format"
}
```

0 comments on commit aa2cb3e

Please sign in to comment.