Menu

#385 ProjectViewer: Search in Directory action

None
open
nobody
None
5
2017-12-29
2017-07-06
Alan Ezust
No

It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in project, or search in a directory under the project root.
For git projects, git grep can be used instead of the jEdit search feature.
If there are similar features in other vcs, we can expose them in the other vcs plugins too.

For other projects, it should fall back to the regular Search in Directory/Project action.

Perhaps this (a custom search in directory action that can be provided via services) should also be possible for user set in the Project Options when there is no appropriate action provided by the version control service.

Discussion

  • Alan Ezust

    Alan Ezust - 2017-12-29
    • summary: ProjectViewer VersionControlService: Search in Project action --> ProjectViewer VersionControlService: Search in Directory action
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,2 +1,3 @@
    -It would be nice if there was a way for the GitPlugin to provide a "Search in Project" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in project. For other projects, it should falls back to the regular Search in Project action if the plugin does not offer such a thing.
    +It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in a directory under the project root. 
    +For other projects, it should fall back to the regular Search in Directory action if the vcs plugin does not offer such a thing.
    
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2017-12-29
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,4 @@
    -It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in a directory under the project root. 
    +It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in a directory under the project root. git grep can be used instead of the jEdit search feature. 
    +
     For other projects, it should fall back to the regular Search in Directory action if the vcs plugin does not offer such a thing.
    
     
  • Alan Ezust

    Alan Ezust - 2017-12-29
    • summary: ProjectViewer VersionControlService: Search in Directory action --> ProjectViewer: Search in Directory action
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,3 +2,4 @@
    
     For other projects, it should fall back to the regular Search in Directory action if the vcs plugin does not offer such a thing.
    
    +Perhaps this (a custom search in directory action that can be provided via services) should also be possible for user set in the Project Options when there is no appropriate action provided by the version control service.  
    
     
  • Alan Ezust

    Alan Ezust - 2017-12-29
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,5 +1,7 @@
    -It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in a directory under the project root. git grep can be used instead of the jEdit search feature. 
    +It would be nice if there was a way for the GitPlugin to provide a "Search in Directory" action that gets used automatically when the current versioncontrolservice is GitPlugin, and the user tries to search in project, or search in a directory under the project root.
    +For git projects, git grep can be used instead of the jEdit search feature. 
    +If there are similar features in other vcs, we can expose them in the other vcs plugins too.
    
    -For other projects, it should fall back to the regular Search in Directory action if the vcs plugin does not offer such a thing.
    +For other projects, it should fall back to the regular Search in Directory/Project action.
    
     Perhaps this (a custom search in directory action that can be provided via services) should also be possible for user set in the Project Options when there is no appropriate action provided by the version control service.  
    
     

Log in to post a comment.