-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Update docs to new structure #13039
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
Update docs to new structure #13039
Changes from 22 commits
f602172
4fc1e8f
7bc50b5
9a199b1
bc648f2
9add1e6
a30774b
b23c558
1a79d4c
86d3c37
b77c8d4
6929079
aefa955
5a0a86d
cc86d41
17c7867
005ad26
2e64988
bac0ec7
90d00ab
3a647c2
1748fc9
8a01c0c
baeee8d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
java=24.0.1-tem | ||
#visualvm=2.1.10 |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. See if this screenshot could be cropped a bit more from the left There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Better than nothing 🙈 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,39 +6,78 @@ nav_order: 11 | |
|
||
# Step 1: Get the code into IntelliJ | ||
|
||
Start IntelliJ. | ||
## IntelliJ Startup | ||
|
||
Start IntelliJ IDEA. | ||
|
||
IntelliJ shows the following window: | ||
|
||
{% figure caption:"IntelliJ Start Window" %} | ||
 | ||
{% endfigure %} | ||
|
||
## Open the project | ||
|
||
Click on "Open" | ||
|
||
Choose `build.gradle` in the root of the jabref source folder: | ||
Choose `build.gradle` in the root of the JabRef source folder: | ||
subhramit marked this conversation as resolved.
Show resolved
Hide resolved
koppor marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
{% figure caption:"Choose `build.gradle` in the “Open Project or File” dialog" %} | ||
 | ||
{% figure caption:"Choose `build.gradle.kts` in the “Open Project or File” dialog" %} | ||
 | ||
{% endfigure %} | ||
|
||
After pressing "OK", IntelliJ asks how that file should be opened. | ||
After clicking "Open," IntelliJ asks how that file should be opened. | ||
Answer: "Open as Project" | ||
|
||
{% figure caption:"Choose “Open as Project” in the Open Project dialog" %} | ||
 | ||
 | ||
{% endfigure %} | ||
|
||
Then, trust the project: | ||
|
||
{% figure caption:"Choose “Trust Project” in the “Trust and Open Project” dialog" %} | ||
 | ||
 | ||
{% endfigure %} | ||
|
||
## Ensure that committing via IntelliJ works | ||
## Confirm JDK Downloading | ||
|
||
IntelliJ asks for JDK downloading. | ||
Keep the suggested Java version and choose "Eclipse Temurin" as Vendor. | ||
Click "Download". | ||
|
||
{% figure caption:"Choose “Eclipse Temurin” in the “Download JDK” dialog" %} | ||
 | ||
{% endfigure %} | ||
|
||
IntelliJ offers committing using the UI. | ||
Press <kbd>Alt</kbd>+<kbd>0</kbd> to open the commit dialog. | ||
## Allow JDK to access the internet | ||
|
||
Allow also access in private networks and click "Allow access". | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
{% figure caption:"Trust JDK" %} | ||
 | ||
{% endfigure %} | ||
|
||
## Wait for IntelliJ IDEA to import the gradle project | ||
|
||
IntelliJ shows "Importing 'jabref' Gradle Project" at the lower right corner. | ||
This will take several minutes. | ||
Wait until this disappears. | ||
|
||
{% figure caption:"Importing 'jabref' Gradle Project" %} | ||
 | ||
{% endfigure %} | ||
|
||
## IntelliJ IDEA will report low memory | ||
|
||
{% figure caption:"Low memory pop up" %} | ||
 | ||
{% endfigure %} | ||
|
||
1. Click on "Configure". | ||
2. Set "2500" MB (instead of 1262) and click on "Save and Restart". | ||
3. Wait until IntelliJ is up and running again. | ||
|
||
## Ensure that committing via IntelliJ works | ||
|
||
Unfortunately, IntelliJ has no support for ignored sub modules [[IDEA-285237](https://youtrack.jetbrains.com/issue/IDEA-285237/ignored-changes-in-submodules-are-still-visible-in-the-commit-window)]. | ||
Fortunately, there is a workaround: | ||
|
@@ -49,32 +88,19 @@ Go to **File > Settings... > Version Control > Directory Mappings**.<br> | |
Currently, it looks as follows: | ||
|
||
{% figure caption:"Directory Mappings unmodified" %} | ||
 | ||
 | ||
{% endfigure %} | ||
|
||
You need to tell IntelliJ to ignore the submodules `jablib\src\main\abbrv.jabref.org`, `jablib\src\main\resources\csl-locales`, and `jablib\src\main\resources\csl-styles`. | ||
Select all three (holding the <kbd>Ctrl</kbd> key). | ||
Then press the red minus button on top. | ||
Then press the minus button on top. | ||
|
||
This will make these directories "Unregistered roots:", which is fine. | ||
|
||
{% figure caption:"Directory Mappings having three unregistered roots" %} | ||
 | ||
 | ||
{% endfigure %} | ||
|
||
## Ensure that committing with other tools work | ||
|
||
Open a "git bash". | ||
On Windows, navigate to `C:\git-repositories\JabRef`. | ||
Open the context menu of the file explorer (using the right mouse button), choose "Open Git Bash here". | ||
|
||
Execute following command: | ||
|
||
```shell | ||
git update-index --assume-unchanged buildres/abbrv.jabref.org jablib/src/main/resources/csl-styles jablib/src/main/resources/csl-locales | ||
``` | ||
|
||
{: .tip } | ||
If you do not see the context menu, re-install git following the steps given at [StackOverflow](https://stackoverflow.com/a/50667280/873282). | ||
Click "OK" | ||
|
||
<!-- markdownlint-disable-file MD033 --> |
Uh oh!
There was an error while loading. Please reload this page.