jEdit Community - Resources for users of the jEdit Text Editor
need cscope
Submitted by Anonymous on Friday, 9 January, 2004 - 20:12
I need a cscope-like feature. Cscope generates a list of all references to a symbol (like calls to a function, uses of a constant, references of a global, etc.) and puts it in a file. Then when you want to see all users of that symbol, it looks it up really fast. This replaces "search files" or "find in files" brute force searches which can take a really long time. Note it does not replace ctags. You use them both. VI users already get this though I do not want to use VI.

Are there any plug-ins that work like this? Any on the way?

Thanks.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
I am working on a plugin I ca
by dwhall on Wed, 26/04/2006 - 23:04
I am working on a plugin I call CscopeFinder. It uses a cscope.out cross reference file created by the cscope command line utility and has 2 of cscope's find searches implemented (find symbol and find callers). While the searches work and are fast, I haven't yet coded a way to display the results or for the user to select a result to pursue. I'm probably going to require the Ctags plugin and re-use code from that for display and choice (allowing push, pop, etc).

Longer term goals include putting the search results in the Hypersearch panel and finding a way to parse a Python source tree to a cscope.out-like file.
 
Tags + CscopeFinder
by dwhall on Thu, 13/07/2006 - 01:25
Update: I have implemented 5 of Cscope's searches: Find Symbol, Find Definition, Find Callers, Find files that #include, Find all Funcs. The other find functions use a regex infrastructure that isn't as easily ported; so the 5 searches above are going to be it for now.

Change: Instead of using Hypersearch, I integrated CscopeFinder into the Tags plugin. This allows using the tagstack as you navigate through the code using either Cscope or Tags find functions. Since Tags and Cscope are similar in nature, I'm hoping the developer of Tags gives this his blessing. I'm waiting to hear from him.
 
Very cool plugin
by AlanEzust on Fri, 25/08/2006 - 21:49
I just tried out CScopeFinder and I have to say, it's quite nice!
Check out 0.3 just released to plugin central.
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