MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / new

Method new

atomic-core/src/record/workflow/crdt/tokenize/rules.rs:57–65  ·  view source on GitHub ↗

Creates new options with default settings. Default settings: - `merge_whitespace`: true - `code_aware`: true - `include_newlines`: false - `track_offsets`: true - `max_line_length`: 10KB

()

Source from the content-addressed store, hash-verified

55 /// - `track_offsets`: true
56 /// - `max_line_length`: 10KB
57 pub fn new() -> Self {
58 Self {
59 merge_whitespace: true,
60 code_aware: true,
61 include_newlines: false,
62 track_offsets: true,
63 max_line_length: Self::DEFAULT_MAX_LINE_LENGTH,
64 }
65 }
66
67 /// Sets whether to merge consecutive whitespace tokens.
68 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected