Hi all.
Just wondering if CodeLite has the following functionality; having searched the forums and tried to nut it out myself.
Search the entire project. "Search -> Find in Files" should be it but for me it searches 0 to 2 files. I even right click on the root (Workspace / Explorer) and try it from there.
Similarly, I would like to CTRL + Click a class and have it search and show related classes in the project.
Trying to use CodeLite instead of the bloated NetBeans. Great IDE guys
Search Files & Cross File Searches
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Oct 04, 2016 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search Files & Cross File Searches
This usually means that the "File Mask" field is just wrong. i.e. if you are searching for PHP files, make sure that the file mask contains "*.php""Search -> Find in Files" should be it but for me it searches 0 to 2 files
In C++ workspace the shortcut is Alt+Click. This is not implemented for PHP/NodeJSI would like to CTRL + Click a class and have it search and show related classes in the project
For PHP you can use Alt-G or Ctrl-Shift-R to find resource
Eran
You do not have the required permissions to view the files attached to this post.
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Oct 04, 2016 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search Files & Cross File Searches
Thanks Eran!
That information was on the money .
Alt + G opens settings. Is that correct?
Ctrl-Shift-R finds resources, so that helpful.
I was hoping to be able to click directly to a CSS class as this is a real time saver.
Does CodeLite have a roadmap?
That information was on the money .
Alt + G opens settings. Is that correct?
Ctrl-Shift-R finds resources, so that helpful.
I was hoping to be able to click directly to a CSS class as this is a real time saver.
Does CodeLite have a roadmap?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search Files & Cross File Searches
It is the default shortcut for : Search->Find Symbolxolotl wrote:Alt + G opens settings. Is that correct?
On some platforms, it is bound to the menu bar entry with the proper mnemonic (the letter with the underscore), so it opens for you the "settings" menu (g has the underscore)
You can change the Alt-G to something else from: settings->keyboard shortcuts, type in the filter box: "find symbol"
Eran
Make sure you have read the HOW TO POST thread
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search Files & Cross File Searches
I will throw here another tip that not many people are aware of, but is incredibly useful:
The find-in-files supports grep like searches using "|" ("pipe")
e.g. if you want to find a class definition of a class named "MyClass", you can type in the "Find what":
By doing this, CodeLite will first search for all the occurrences of "MyClass", next it will keep only the matches that also have the word "class"
Eran
The find-in-files supports grep like searches using "|" ("pipe")
e.g. if you want to find a class definition of a class named "MyClass", you can type in the "Find what":
Code: Select all
MyClass|class
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Tue Oct 04, 2016 9:10 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Search Files & Cross File Searches
Thanks again. The pipe and other grep operands will sure come in handy.