Repository navigation
[jackpot] hint reload on save + run action registration + small cleanup - #3171
Conversation
|
I left two inline comments, but how can this be tested? I build this PR branch and opened the |
i have some hint files here: https://github.com/mbien/jackpot-inspections I haven't encountered the NPE before. I take a look. On first glance it looks like my changes should not be the cause of it. All you did was to open a hint file? edit: what i get though is lots of IllegalStateExceptions from the lexer when editing larger hint files. But this seems to be only from the hint editor and has no effect of the code inspection itself. |
|
sorry had to force push because i rebased yesterday since the master was green for a short time. Only change is in UpdateGlobalHintsOnSaveTask.java |
matthiasblaesing
left a comment
There was a problem hiding this comment.
Looks sane to me. @jlahoda could you please also have a look at this?
|
@matthiasblaesing @jlahoda any chance to get this integrated? This is likely low risk since the feature is fairly niche while making reloading hint files significantly less painful. |
|
Unittests are finally green. Lets get this in. |
|
@jlahoda @matthiasblaesing thanks! |
NetBeans has some very well hidden features :) for example, I didn't know that you can run hint files - if you can find the aciton.
This PR
feedback needed for UpdateGlobalHintsOnSaveTask (
92712389824797). This task has to run after the file is saved but the OnSaveTask happens before IO - the current impl is not very clean.