Repository navigation
v1.5.0
Added
-
--outline/--slicenow find more symbols:- Go generic functions (
func Map[T any, U any](...)). - Rust
impl<T: Into<String>> Point<T>blocks written without a space before<, andmacro_rules!macros. - TS/JS class properties that hold arrow functions (
static create = <U,>(v: U) => ...,handle = async (e) => {). - Top-level object/array constants of 10+ lines (
const OL = Object.freeze({,const ROUTES = [,new Set([).
The TypeScript Compiler AST path applies the same rules. TS lexer accuracy baseline: 90.1% to 90.3% (141 to 145 judged symbols).
- Go generic functions (
Fixed
--slice <file> <symbol>no longer silently returns a different symbol when the name is only a partial match. A partial name that fits several symbols is refused with the candidate list (for exampleOLused to printcollectAuditStats); a partial name that fits exactly one symbol still works but prints anote: partial matchline. An exact name shared by several symbols (two__init__methods, for example) still returns the first one, with anote: N symbols named "X"line.- Python one-line
def/classbodies (def f(self): return 1,class B(A): pass) now end on their own line instead of swallowing the code that follows. Signature scanning also skips:,#and brackets inside string defaults.