jEdit Community - Resources for users of the jEdit Text Editor
Requesting ability to search&replace on multiple ':'-separated directories at once
Submitted by LDiracDelta on Sunday, 16 March, 2008 - 15:51
I have code that is separated across a number of different directories, but these directories are described by a ':' separated environment variable. I'd like to put that string into the directory text label and then have it search those directories.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
Requesting ability to search&replace on multiple directories
by JohnC on Sun, 16/03/2008 - 17:49
Another way to do it would be to set up a new project (using Project Viewer plugin). Add all the directories containing your code to the project. You could then use the project search function to search the code in all your directories.
 
That would work. But the issu
by LDiracDelta on Tue, 25/03/2008 - 13:43
That would work. But the issue is that I have many sandboxes with varying names. On average I work with about 2 new sandboxes a week. I realize I could name the sandbox the same name, but I prefer to be explicit when moving to a new branch. I just want to grab the SPECMAN_PATH environment variable from my shell and jam it into jedit to begin searching across the many subdirectories of the sandbox.
 
Re: Requesting ability to search&replace on multiple directories
by takeshin on Thu, 19/06/2008 - 11:52
Try recording a macro and then modify it adding a for loop to iterate trough all your directories.

--
takeshin
 
hacky
by LDiracDelta on Sat, 28/06/2008 - 18:30
Ok, I could do that. But this is a common problem. Python has ':'-separated env vars, Perl, Specman...
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293