Running geany 1.37 on CentOS 7. I am working on a website using the project manager and would like to be able to quickly find a particular css class in any number of css files in several directories belonging to the project.
I think what I would like is for css classes to be listed under the Symbols tab in geany, then be able to click on the class name and open the file for editing. Since the same css class might be found in multiple css files in the project, the file name should also be visible.
So far, I have found that I can search for a class symbol "Find in Project Files" but it is a bit awkward since it defaults to the project directory whereas the css files are actually under /var/www/html/mysite/ which is an external project directory. Even if I do a search, the "Find in Project Files" selection resets to the actual project directory for each new search.
Is what I would like to do possible? Or, is there another way of accomplishing this?
On Tue, 20 Feb 2024 at 12:00, H via Users users@lists.geany.org wrote:
Running geany 1.37 on CentOS 7. I am working on a website using the project manager and would like to be able to quickly find a particular css class in any number of css files in several directories belonging to the project.
I think what I would like is for css classes to be listed under the Symbols tab in geany, then be able to click on the class name and open the file for editing. Since the same css class might be found in multiple css files in the project, the file name should also be visible.
The symbols tab is only symbols from the current file.
So far, I have found that I can search for a class symbol "Find in Project Files" but it is a bit awkward since it defaults to the project directory whereas the css files are actually under /var/www/html/mysite/ which is an external project directory. Even if I do a search, the "Find in Project Files" selection resets to the actual project directory for each new search.
You could try "Find in files" which allows you to set the directory to search in.
Is what I would like to do possible? Or, is there another way of accomplishing this?
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
On 02/19/2024 09:30 PM, Lex Trotman via Users wrote:
On Tue, 20 Feb 2024 at 12:00, H via Users users@lists.geany.org wrote:
Running geany 1.37 on CentOS 7. I am working on a website using the project manager and would like to be able to quickly find a particular css class in any number of css files in several directories belonging to the project.
I think what I would like is for css classes to be listed under the Symbols tab in geany, then be able to click on the class name and open the file for editing. Since the same css class might be found in multiple css files in the project, the file name should also be visible.
The symbols tab is only symbols from the current file.
So far, I have found that I can search for a class symbol "Find in Project Files" but it is a bit awkward since it defaults to the project directory whereas the css files are actually under /var/www/html/mysite/ which is an external project directory. Even if I do a search, the "Find in Project Files" selection resets to the actual project directory for each new search.
You could try "Find in files" which allows you to set the directory to search in.
Is what I would like to do possible? Or, is there another way of accomplishing this?
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Thank you, that works - although it would have been very nice to see all css classes in a single tab and be able to click on the one of interest.
On Tue, 2024-02-20 at 18:12 -0500, H via Users wrote:
So far, I have found that I can search for a class symbol "Find in Project Files" but it is a bit awkward since it defaults to the project directory whereas the css files are actually under /var/www/html/mysite/ which is an external project directory.
Why is that awkward? You can create a project specifically for developing in that directory. The project file itself is stored under geany's config dir.
On February 21, 2024 1:05:11 PM GMT-05:00, "D.T. via Users" users@lists.geany.org wrote:
On Tue, 2024-02-20 at 18:12 -0500, H via Users wrote:
So far, I have found that I can search for a class symbol "Find in Project Files" but it is a bit awkward since it defaults to the project directory whereas the css files are actually under /var/www/html/mysite/ which is an external project directory.
Why is that awkward? You can create a project specifically for developing in that directory. The project file itself is stored under geany's config dir.
But I would then have to switch between projects, would I not? If so, it would things more cumbersome rather than more productive.
Ideally I would think having a separate tab on the left side of grant where all CSS class symbols would be accessible by automatically monitoring a list of definable subdirectories. Would probably require a new plugin for that functionality.