Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Editor: Search and/or Replace #3727

Open
shiftleftplusone opened this issue Aug 25, 2015 · 15 comments
Open

Arduino Editor: Search and/or Replace #3727

shiftleftplusone opened this issue Aug 25, 2015 · 15 comments
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)

Comments

@shiftleftplusone
Copy link

IMO there should be an improved function for different
search
and
search+replace
operations
providing different settings for noting

  • case sensitive yes/no
  • whole words only
  • searching start (home/caret)
  • searching direction
  • and some more settings
  • follow up search by [F3]

(screenshots taken from Bricx Command Center:)

Find = ctrl+F
search

Replace = ctrl+R (altern. ctrl+H ):
search replace

@ffissore ffissore added the feature request A request to make an enhancement (not a bug fix) label Aug 26, 2015
@ffissore ffissore self-assigned this Aug 26, 2015
@hashhar
Copy link

hashhar commented Sep 1, 2015

Could you mentor this for me? I want to contribute to the project but am pretty new to open source maintainance. Let me know about the files which handle this and I'll look into it.

@ffissore
Copy link
Contributor

ffissore commented Sep 8, 2015

@hashhar file is cc.arduino.view.findreplace.FindReplace

@ffissore ffissore added the Waiting for feedback More information must be provided before we can proceed label Sep 8, 2015
@hashhar
Copy link

hashhar commented Sep 8, 2015

Okay. I will start working on it. Thank you.

@hashhar
Copy link

hashhar commented Oct 4, 2015

I don't think I can do this in a reasonable amount of time. I am utterly confused. I guess I'll read up and try later. Also, new to Java.

@ffissore
Copy link
Contributor

ffissore commented Oct 5, 2015

Thank you all the same

@ffissore ffissore removed the Waiting for feedback More information must be provided before we can proceed label Oct 5, 2015
@shiftleftplusone
Copy link
Author

2-3 features of the above actually would be needed:

  1. seperate menus for search and replace (which should not be too hard to do if one is experienced in Java and IDE programming)
  2. a additional option "whole words only" as the current S/R function muddles everything up by relacing all and everything even inside of words and expressions.
  3. follow-up S/R by F3 would also be helpful, though.

@hashhar
Copy link

hashhar commented Oct 6, 2015

I think I can improve the search and replace algorithm to match whole words only. I'll try and do it.
As for the F3 follow up, its out of my current Java knowledge set.
Separate menus only need a GUI re-write which I got really confused by (I'm more of a .NET and Visual Studio guy)

@lmihalkovic
Copy link

actually all that's missing is REGEX ( not sure i want to do search within selection only for now)

arduino-2016-01-27 at 11 24 27 am

see #4488 for more

@digimeas
Copy link

Hi!
I have no problem with the current FindReplace options, but maybe;

  • put the Case/Wrap/Tabs checks all on the same line to save space? Plleeaassee?
  • don't pop the dialog back into the middle of the window covering half the text after I've very carefully positioned it where I want it out of the way because it's so HUGE? Plleeaassee?

Thanks. (Like you guys don't have better things to do :-)
Doug

@tofrnr
Copy link

tofrnr commented Jan 3, 2018

is there meanwhile an update about the extra option "search whole words only" ?
without that option even the "replace all" button causes total mess!

I also double the request about seperate search+replace windows!

@shiftleftplusone
Copy link
Author

when will there finally exist an improved search / find / replace function in the IDE, feat. also searching just for whole words optionally?

@dsyleixa
Copy link

hello,
are there any news and updates about this issue?

@ffissore ffissore added the Type: Improvement label on 26 Aug 2015
@ffissore ffissore self-assigned this on 26 Aug 2015

@dsyleixa
Copy link

dsyleixa commented May 6, 2019

another 3 months elapsed:
still no ETA for this feature?
what about @ffissore self-assignement?

@matthijskooijman
Copy link
Collaborator

I suspect there are a lot of other things with more priority. If anyone wants to implement this, things could move along more swiftly, of course.

As for @ffissore, he no longer works for Arduino.

@dsyleixa
Copy link

dsyleixa commented Dec 16, 2019

this still missing "whole words only" thing is really totally bonkers - even minimalistic search tools have that option!
And the same about "Find" (ctrl+F) versus an extra "Search and Replace" (ctrl+H)!

@per1234 per1234 added the Component: IDE user interface The Arduino IDE's user interface label Jan 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE user interface The Arduino IDE's user interface feature request A request to make an enhancement (not a bug fix)
Projects
None yet
Development

No branches or pull requests

9 participants