Syntax search: find by comments, strings, keywords, etc.

NEW
Unassigned

Status

Webtools
DXR
3 years ago
2 years ago

People

(Reporter: new_one, Unassigned)

Tracking

Trunk

Firefox Tracking Flags

(firefox42 affected)

Details

(Reporter)

Description

3 years ago
Feature proposal: we can piggy-back on the syntax highlighter's lexing work and offer a search by syntax, implemented as a search by color. Description from Whistler session: https://raw.githubusercontent.com/pelmers/log/master/static/search-by-color.wav

List of the syntax elements currently identified: https://github.com/mozilla/dxr/blob/master/dxr/static/css/code-style.css
(Reporter)

Comment 1

3 years ago
I have suggested an in-progress implementation at https://github.com/mozilla/dxr/pull/463.
RFC.
You need to log in before you can comment on or make changes to this bug.