typedb / typedb-studio

TypeDB Studio (IDE)
https://typedb.com
Mozilla Public License 2.0
191 stars 44 forks source link

Add an ability to start search in text-editor from the cursor #707

Open izmalk opened 1 year ago

izmalk commented 1 year ago

Problem to Solve

Imagine we have a section of a large schema where we need to find a word. Or better yet — replace some words in it.

Not find all inclusions or replace all, or seek through all of them manually.

Current Workaround

Seek through all mentions manually.

Proposed Solution

  1. When we click on the button with the arrow down (next) show the next inclusion after the cursor in the text editor. I think it's the default behavior in most text editors.
  2. Select an area in the text and search only in this area. This could backfire for some users, so I wouldn't recommend it.

Additional Information

Screenshot 2023-02-10 at 20 03 09

If I click buttons with arrows up or down I get to the first line. 630 results and I need to replace about 10 of them.