alex1701c / JetBrainsRunner

A Krunner Plugin which allows you to open your recent projects
GNU Lesser General Public License v3.0
53 stars 4 forks source link

Writerside support #41

Open Ashark opened 10 months ago

Ashark commented 10 months ago

The Writerside recent projects are not shown in runner. Can you please add support of it?

alex1701c commented 10 months ago

The jetbrains-toolbox installer works for me. Please attach the log file and provide the applications desktop file & the path.

Ashark commented 10 months ago

Hm. The log contains recent projects for writerside:

Config file found for Writerside /home/andrew/.config/JetBrains/Writerside2023.2/options/recentProjects.xml
===== Recently used project folder for Writerside=====
    /home/andrew/WritersideProjects/untitled
    /home/andrew/Documents/MediaWiki

But the runner does not show writerside in the list:

wrs is not in jbr list

This is a desktop file used.

alex1701c commented 10 months ago

I wonder if it might have sth. to do with the sorting. can you try prefixing the query with "writerside" and check if the runner produces results? Though this is just a guess, because in your screenshot the results are at the top.

Do you have any specific setting for the plugin? Maybe just post a screenshot of the settings window.

Ashark commented 10 months ago

Oh. It is strange. But currently the results are shown for it.

shown results ok

What I can think of is: 1 - Maybe it works incorrectly for newly installed apps, and works ok after reboot. 2 - Maybe if it has found the same project opened in another IDE, it thinks it could not be in recents in another IDEs

alex1701c commented 10 months ago

1 - Maybe it works incorrectly for newly installed apps, and works ok after reboot.

Yeah, that is likely to be true. I have a filewatcher for getting new changes to the recently used xml files, but no mechanism to load new apps.

2 - Maybe if it has found the same project opened in another IDE, it thinks it could not be in recents in another IDEs

My initial suspicion too, but the deduplication code works only for the scope of an app.

Ashark commented 10 months ago

Ok. I think it is worth adding to the Readme. Other than that, the issue can be closed.

alex1701c commented 10 months ago

I will look into fixing the underlying issue :)