Skip to content
New issue

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

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

Already on GitHub? # to your account

editor: find/replace in files #3430

Closed
jmesserly opened this issue Jun 7, 2012 · 4 comments
Closed

editor: find/replace in files #3430

jmesserly opened this issue Jun 7, 2012 · 4 comments
Assignees
Labels
type-enhancement A request for a change that isn't a bug
Milestone

Comments

@jmesserly
Copy link

I might be missing something obvious but:
Is there any "replace in files" option in the editor? Also, is there any way to configure "find in files" with options like "case sensitive" and "whole word"?

I figured out how to search in files using the Search box at the top, but I don't know how to replace. Even with great refactoring support, I still need to do text search & replace sometimes, and the Edit > Find/Replace option only does one file at a time.

This is one of the things that keeps popping me back into Sublime Text.

@clayberg
Copy link

We should add a "Replace All..." and "Replace Selected..." command to the search results view as there is in Eclipse. This would be very useful.


Set owner to @pq.
Added this to the Later milestone.

@pq
Copy link
Member

pq commented Jun 20, 2012

After talking to Dan, bumping this up.


Removed this from the Later milestone.
Added this to the M1 milestone.
Added Accepted label.

@pq
Copy link
Member

pq commented Jun 22, 2012

I took Eric's advice and implemented "Replace All.." and "Replace Selected..." in the search results view. Landed here:

http://codereview.chromium.org/10597004/

John: the trick is to kick off a text search and then invoke the context menu in the search results view. We'll work on making this a bit more discoverable but in the meantime, hope you enjoy the easter egg! :)


Added Fixed label.

@jmesserly
Copy link
Author

This calls for an editor upgrade! thanks :)

@jmesserly jmesserly added this to the M1 milestone Jun 22, 2012
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed type-enhancement labels Mar 1, 2016
copybara-service bot pushed a commit that referenced this issue Jun 7, 2023
Revisions updated by `dart tools/rev_sdk_deps.dart`.

dartdoc (https://github.com/dart-lang/dartdoc/compare/0c8feac..449478c):
  449478c7  Tue Jun 6 20:04:19 2023 -0700  Sam Rawlins  Search: specify package rank in generation; distinguish non-core Dart libs (#3427)
  81af1bf3  Tue Jun 6 17:31:02 2023 -0700  Janice Collins  Prepare for dartdoc 6.3.0. (#3430)
  2b7340d3  Tue Jun 6 17:30:40 2023 -0700  Sam Rawlins  Explicitly export Kind; for internal customer (#3431)
  896540c0  Mon Jun 5 19:39:10 2023 +0000  dependabot[bot]  Bump github/codeql-action from 2.3.5 to 2.3.6 (#3429)

lints (https://github.com/dart-lang/lints/compare/fc74ce0..4b79906):
  4b79906  Tue Jun 6 15:15:22 2023 -0500  Parker Lougheed  Link to 'dart fix' docs in table header (#132)
  b7766d6  Tue Jun 6 09:05:20 2023 -0700  Devon Carew  add 'has quick-fix' checkboxes to the package's readme (#131)

native (https://github.com/dart-lang/native/compare/c851e69..973f3ed):
  973f3ed  Tue Jun 6 10:26:58 2023 +0000  Daco Harkes  [native_assets_cli] Add `dry_run` option (#59)

webdev (https://github.com/dart-lang/webdev/compare/b10d62b..3d7f546):
  3d7f546f  Mon Jun 5 16:24:16 2023 -0700  Elliott Brooks  Add Webdev installation test (#1935)
  9297c663  Mon Jun 5 14:31:43 2023 -0700  Elliott Brooks  Remove unnecessary `async` keywords(#2130)
  6b112b06  Mon Jun 5 12:45:34 2023 -0700  Elliott Brooks  Run DCM workflow against PR branch (#2131)

Change-Id: I6728516c13c1d45f8bbd65c266076c6028ed45ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307962
Reviewed-by: Devon Carew <devoncarew@google.com>
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants