Closed Feuermagier closed 1 month ago
Also, I would prefer if we could move away from JFormDesigner. I don't really see the value for the simple UIs that we create, it requires a (trial) license, and I find it to be incredibly finicky to use. What do you think @CDaut @dfuchss ?
I agree .. if we can use the designer of IntelliJ (for example) that would be fine. I like that the UI is not coded manually .
Can we use that for IntelliJ plugins ? https://www.jetbrains.com/help/idea/design-gui-using-swing.html#sections-of-a-form
Upgrade of Artemis4j. I'm currently using a locally installed version of it, since the most recent version isn't published yet, so CI builds will fail for now
The most recent version should be in the snapshot repo. You may have to add it to the repositories
I wasn't asked, but I will make PRs to this repo in the future, so
Also, I would prefer if we could move away from JFormDesigner. I don't really see the value for the simple UIs that we create, it requires a (trial) license, and I find it to be incredibly finicky to use
I agree with this one. This is the main reason I haven't yet done anything for intelligrade. I don't want to download some extra tool for adjusting the ui.
The plugin should now be in a usable state. If you have time, please test it as soon as possible! Grading of the final tasks starts the week after this, and until then the plugin needs to work!. The implementation is quite rushed and certainly not up to the standard that we want from our tooling, but it should work well enough for now.
You can use the one remaining submission on the test's systems Artemis4J-Test course / artemis4j task for testing. Please remember to delete your assessment after that: Go https://artemis-test.sdq.kastel.kit.edu/course-management/9/programming-exercises/42/participations/144/submissions, and delete the SECOND assessment of submission 538 (the last one).
Clone the repository, switch to the refactor
branch, and execute ./gradlew runIde
. This will download about 700MB of data (mainly for IntelliJ itself), and then launch an IDE instance. If the Welcome to IntelliJ IDEA
screen pops up, simply create a new empty project and open it. This will be the grading workspace. Set the Artemis URL at File > Settings > Tools > IntelliGrade Settings
, and press the connect button.
The tool window to the left with the pen icon is the grading window, and the tool window with the sheet of paper icon to the bottom left is the annotations list.
HighlighterManager
for such tooltips, which is currently commented out). Instead, you can click on or hover over gutter icons to show the annotations. Selecting an annotation from the list brings you to the corresponding entry in the annotations list.And probably many more that I can't think of right now.
@uuqjz @tsaglam we need to test this (best: tomorrow)
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
I've taken the opportunity to do a few upgrades/refactors:
PluginState
andActiveAssessment
, and no longer scattered across listeners and tool window buildersThere are still many rough edges, but the basic locking - grading - submitting workflow already works just as it did before. Also, I would prefer if we could move away from JFormDesigner. I don't really see the value for the simple UIs that we create, it requires a (trial) license, and I find it to be incredibly finicky to use. What do you think @CDaut @dfuchss ?