-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add search for nodes in GistFile TreeView #6
Comments
Do you know of any good libraries that already exist that can compile words
and associate connections to the objects that contain the words? That would
be handy ... no need to re-invent the wheel if not necessary.
But I did actually implement this once, but then it got shelved for other
things ... but I had forgotten about it, so I'm glad you brought it up.
Should we create issues inside the repository for these changes?
…On Mon, Apr 11, 2022 at 5:58 PM Dustin Redmond ***@***.***> wrote:
Need to look at adding a search field within the TreeView to allow
searching for content in the GistFiles. A single search field with fuzzy
searching on GistFile name would provide a big improvement. Allowing to
search on source code within each file may be better, but may also prove to
be a more expensive operation due to the speed limitations imposed by the
GitHub API.
—
Reply to this email directly, view it on GitHub
<#6>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNDPURK34L5JNCX3P2EGB3VETDDPANCNFSM5TE3ZSGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I agree, probably best not to reinvent the wheel here. I will need to do some research. There are some good Python libraries that I know off of the top of my head, but none in Java that I can think of. |
By the way, I'm not entirely sold on the Toolbar icon business ... that was
kind of an experiment ... I use to just have buttons there but I thought it
might be nice to have icons instead but I think in my head it was different
than how it turned out so if you're not a fan of the toolbar, let me know
... I'm not opposed to shit canning it all together.
…On Tue, Apr 12, 2022 at 6:48 PM Mike Sims ***@***.***> wrote:
Well, If it exists in Python, then it must exist somewhere in Java ....
Then again, I was looking for a program to convert an FXML file into a
java class and I only found TWO - one was in Python and the other in
NetBeans version 8.2 as a plugin ... so I did what any Python resistor
would do and I fired up a virtual machine and found NetBeans 8.2 in an old
dusty virtual basement somewhere and I installed it and I converted some
FXML into java classes ... which is actually the three tabs on the settings
screen in GistFX where you can change the tree icons ... I couldn't get the
layout consistent and I didn't want to mess with GridPane manually because
it never is much of a good time when I try GridPane so I did a Gridpane in
SceneBuilder then made it into a java class with old NetBeans.
By the way, ill be pushing new binaries tonight ... code is much tighter
... settings screen is almost done ... and I added the ability to re-size
the toolbar icons, which I'm sure you'll appreciate.
Did you try the detached Toolbar? That took some creative coding to get
working properly.
On Tue, Apr 12, 2022 at 4:58 AM Dustin Redmond ***@***.***>
wrote:
> I agree, probably best not to reinvent the wheel here. I will need to do
> some research. There are some good Python libraries that I know off of the
> top of my head, but none in Java that I can think of.
>
> —
> Reply to this email directly, view it on GitHub
> <#6 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ACNDPURUY74OIX3JZOW4KTLVEVQPDANCNFSM5TE3ZSGA>
> .
> You are receiving this because you commented.Message ID:
> ***@***.***>
>
|
Well, If it exists in Python, then it must exist somewhere in Java ....
Then again, I was looking for a program to convert an FXML file into a java
class and I only found TWO - one was in Python and the other in NetBeans
version 8.2 as a plugin ... so I did what any Python resistor would do and
I fired up a virtual machine and found NetBeans 8.2 in an old dusty virtual
basement somewhere and I installed it and I converted some FXML into java
classes ... which is actually the three tabs on the settings screen in
GistFX where you can change the tree icons ... I couldn't get the layout
consistent and I didn't want to mess with GridPane manually because it
never is much of a good time when I try GridPane so I did a Gridpane in
SceneBuilder then made it into a java class with old NetBeans.
By the way, ill be pushing new binaries tonight ... code is much tighter
... settings screen is almost done ... and I added the ability to re-size
the toolbar icons, which I'm sure you'll appreciate.
Did you try the detached Toolbar? That took some creative coding to get
working properly.
…On Tue, Apr 12, 2022 at 4:58 AM Dustin Redmond ***@***.***> wrote:
I agree, probably best not to reinvent the wheel here. I will need to do
some research. There are some good Python libraries that I know off of the
top of my head, but none in Java that I can think of.
—
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACNDPURUY74OIX3JZOW4KTLVEVQPDANCNFSM5TE3ZSGA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@dustinkredmond - I added a very basic search feature above the tree. You won't see it, but if you move the mouse pointer to just above the tree, you'll see it turn into an I beam ... You have to click once in the text field as that primes the Search class with the treeRoot so it can build everything it needs to do the search. So just click in the search field, start typing, and when you see a number of hits that seem relevant, just keep hitting the enter key and it will cycle through the hits for you. Download 3.4.43 in releases. It uses the text from the gist name, description, file name, and file description (if you added any) ... which, by the way, is what the TextArea is above the code window when you have a file selected ... you can type in a description for the file itself... the search searches all text except any file contents ... if you want it to include the contents of the files in the search, just go to Edit / Settings and in the first tab, you can enable that. Mike |
Need to look at adding a search field within the TreeView to allow searching for content in the GistFiles. A single search field with fuzzy searching on GistFile name would provide a big improvement. Allowing to search on source code within each file may be better, but may also prove to be a more expensive operation due to the speed limitations imposed by the GitHub API.
The text was updated successfully, but these errors were encountered: