jabref icon indicating copy to clipboard operation
jabref copied to clipboard

Enable resetting of PreviewPreferences

Open koppor opened this issue 1 month ago • 10 comments

See #14400 for the steps to do.

koppor avatar Nov 23 '25 21:11 koppor

/assign-me

aaryyya avatar Nov 26 '25 18:11 aaryyya

👋 Hey @aaryyya, thank you for your interest in this issue! 🎉

We're excited to have you on board. Start by exploring our Contributing guidelines, and set up your local development workspace by following the steps in our workspace setup guidelines to get started smoothly.

For questions on JabRef functionality, you can consult the JabRef Guru. For questions related to the codebase, please start using DeepWiki.

In case you encounter failing tests during development, please check our developer FAQs!

Still facing issues or having more questions? Feel free to ask here on GitHub or on JabRef's Gitter chat. Please don't hesitate to open a (draft) pull request early on to show the direction you are heading towards if unsure.

Happy coding! 🚀

github-actions[bot] avatar Nov 26 '25 18:11 github-actions[bot]

Hi @koppor ,

I'm beginning work on this issue. Before proceeding, I'm setting up my local environment from the forked main branch, but I'm running into the issue described below. Could you assist me with this?

Image

SarmilaRavi avatar Dec 05 '25 15:12 SarmilaRavi

This seems to be https://youtrack.jetbrains.com/projects/KT/issues/KT-81224/K2-Compiler-NoClassDefFoundError-for-PsiElement-in-noarg-plugin-with-Kotlin-2.2.20

Can you show us your gradle window at the right?

Image

Did you try https://devdocs.jabref.org/code-howtos/faq.html#ide-import-issues ?

koppor avatar Dec 05 '25 22:12 koppor

Hey @koppor i tried out this https://devdocs.jabref.org/code-howtos/faq.html#ide-import-issues but problem of kotlin version still persisted and even added a problem of jabref modules not found which wasnt an issue previously in my IDE. Also for solving the error i visited the https://youtrack.jetbrains.com/projects/KT/issues/KT-81224/K2-Compiler-NoClassDefFoundError-for-PsiElement-in-noarg-plugin-with-Kotlin-2.2.20 and tried the workaround of lowering the kotlin version to 2.2.10 suggested here.

Image Image

These are the screenshots of my Gradle window as it seems i had the same issue as the guy above which had stoppped me from working on the issu.

aaryyya avatar Dec 11 '25 10:12 aaryyya

Have you updated your IDE to 2025.3?

Siedlerchr avatar Dec 11 '25 10:12 Siedlerchr

yes i did

aaryyya avatar Dec 11 '25 10:12 aaryyya

You could try downgrading and see if this works, otherwise try File -> Invalidate caches in IJ and see if that helps

Siedlerchr avatar Dec 11 '25 10:12 Siedlerchr

Hi @koppor ,

I'm beginning work on this issue. Before proceeding, I'm setting up my local environment from the forked main branch, but I'm running into the issue described below. Could you assist me with this? Image

For this build output at the yellow things on the left: Scroll up as most as possible and click on that node of the tree. This should output you the gradle output.

In paralle, you could try to run gradle from the command line (as outlined at https://devdocs.jabref.org/code-howtos/faq.html#ide-import-issues) - and then re-open the IDE and check if it works.

Invalidating caches is always a good idea - help is available at https://www.jetbrains.com/help/idea/repair-ide.html

koppor avatar Dec 11 '25 11:12 koppor

Hey @koppor and @Siedlerchr my ide is building some different files when im using build project . This command .\gg.cmd gradle :jabgui:run and run has options with run jabref:gui is actually giving me the jabref ui is that supposed to be right and can i proceed with my work?

aaryyya avatar Dec 11 '25 13:12 aaryyya

Hey @koppor and @Siedlerchr my ide is building some different files when im using build project .

Wait, what? Which different ones?

But it finally compiles?

This command .\gg.cmd gradle :jabgui:run and run has options with run jabref:gui is actually giving me the jabref ui is that supposed to be right and can i proceed with my work?

Yes

koppor avatar Dec 11 '25 16:12 koppor

yes it compiles the other ones where some default constructors which we were asked to run during the initial setup

aaryyya avatar Dec 12 '25 16:12 aaryyya