brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] LESS depth search #3950

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by rickbenetti Tuesday Jun 18, 2013 at 17:36 GMT Originally opened as https://github.com/adobe/brackets/issues/4267


Something I really wanna saw at Brackets first is a LESS search, today I need know all my LESSCSS to do a better search class or three elements.

Let me example how I think I can search my LESS:

At my Chrome Developer Tools or Firebug I'm select:

.firstClass .secondClass p

Where is this p if I have 10 times where I call p.

I don't know if I can do this using regex (I understand how regex work).

core-ai-bot commented 3 years ago

Comment by njx Friday Jun 21, 2013 at 15:59 GMT


Marking move to backlog. We have a number of LESS-related features in our backlog--this one is probably most appropriate: https://trello.com/c/DiEFoG2w

However, it sounds like you're actually talking about searching based on the generated CSS selector that you see in dev tools. That's slightly different from the Quick Edit use case. What you're asking for would probably be easy to do once we have the Quick Edit implementation (which would likely use source maps to go back from generated CSS to the original LESS code). It's probably part of a more general idea of being able to quickly search for all CSS rules that match a given selector (which is a generalization of what we already do for Quick Edit, but we could add a way to just manually enter a selector to search for).

We'll come up with a user story for this when we do our move-to-backlog review.

core-ai-bot commented 3 years ago

Comment by rickbenetti Sunday Jun 23, 2013 at 14:49 GMT


Hi@njx at really I thinking in take CSS generated and I know how files I need search but I don't know how file exactly and where is this sentence.

Quick Edit will'be usefull for other teams, but I'm working with Magento and WordPress and I can use less file directly.

core-ai-bot commented 3 years ago

Comment by gruehle Friday Aug 16, 2013 at 19:50 GMT


Added story to backlog: https://trello.com/c/PdYCSVh7/981-advanced-searching-for-selectors-in-less-sass-files

@rickbenetti - please feel free to add comments to (and vote on) the Trello card