flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Request for 'find in files' search

Author
Thread Post new topic Reply to topic
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Maybe Tomasz can put this on the TODO list, But it would be nice to be able to set a directory and have fasmw search all files in that directory and/or sub-directories for a specific text item. Visual Studio has this feature and it comes in handy on occasion.

_________________
Gimme a sledge hammer! I'LL FIX IT!
Post 03 Aug 2009, 12:28
View user's profile Send private message Reply with quote
Madis731



Joined: 25 Sep 2003
Posts: 2140
Location: Estonia
Madis731
I think I will request a more useful feature. What you are suggesting is something that Windows/Linux/others have in their OS i.e. you can find/grep what you are looking for.

What would work for FASM (this is what I think), is a kind of "project search" which searches through the assembled document, which includes all the include-directive introduced files and the main file itself.

Why would one search for a text item is usually duo to "lost" include-file, I mean you don't know from which include-file to search from.

What do you guys think?
Post 30 Sep 2009, 09:14
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17717
Location: In your JS exploiting you and your system
revolution
Just searching for the included files will be problematic. See here for an example of why finding all the includes is not necessarily easy. You would need to include a prominent warning to say that the search may fail to find anything even though it does exist somewhere.
Post 30 Sep 2009, 10:19
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7802
Location: Kraków, Poland
Tomasz Grysztar
In case, when your source is correct (meaning that it is possible to assemble it), you could use the contents of the "fas" file to find out where symbols get defined, etc.

I really should finish that plugin support for fasmw. I started it and left in unfinished state already quite a few years ago...
Post 30 Sep 2009, 11:43
View user's profile Send private message Visit poster's website Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
Maybe I should clarify a bit. I'd like to search within a directory (and subdirectories), and in each file in that directory, for the specified word or phrase. An example would be the windows sdk include directory (or the fasmw include directory). I would mainly use it to search for a symbol or macro already defined.


Quote:
Tomasz Grysztar:
I really should finish that plugin support for fasmw. I started it and left in unfinished state already quite a few years ago...

That sound's like a good idea, this would allow other's to help in the development of fasm. If anyone comes up with anything useful, you can make it the main part of the fasm package.
Post 04 Oct 2009, 00:16
View user's profile Send private message Reply with quote
blacky



Joined: 06 Apr 2006
Posts: 32
Location: JA
blacky
I have been waiting for a plugin feature for a while now, i really hope its something that will be strongly considered.
Post 22 Oct 2009, 01:20
View user's profile Send private message MSN Messenger Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
Quote:
Request for 'find in files' search
Maybe Tomasz can put this on the TODO list, But it would be nice to be able to set a directory and have fasmw search all files


When talking about search, I had a pretty simple proposal some time ago:
In S&R, report the amount of changes done. Of course, also the search-only could have a "count" feature.

About plugins or search in files, the idea probably isn't bad but considering that FASMD and FASMW are pretty equivalent Smile now, this fact should be kept during future enhancements.
Post 22 Oct 2009, 04:30
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.