IntelliProcessor icon indicating copy to clipboard operation
IntelliProcessor copied to clipboard

An IntelliJ plugin to add support for the ReplayMod preprocessor syntax

Results 6 IntelliProcessor issues
Sort by recently updated
recently updated
newest added

Something like `//$$"1.14.4"` gets highlighted like so: ![image](https://github.com/Polyfrost/IntelliProcessor/assets/20768569/f5285dcd-9241-44b9-988d-38f0cf02d6d4) I think that " should not be highlighted.

When inserting a new line like so: ```kt //$$ fun onInitialize() {} ``` there are no new $$s on the next line after pressing enter: ```kt //$$ fun onInitialize() {...

Having IntelliProcessor enabled breaks Optimize Imports, even in projects without the preprocessor.

Sometimes, especially in imports, `#if` directives may be nested. Example: ```java //#if FABRIC import net.fabricmc.api.ClientModInitializer; import net.fabricmc.loader.api.FabricLoader; //#if MC >= 1.18.2 import dev.isxander.mainmenucredits.MainMenuCredits; import dev.isxander.mainmenucredits.config.MMCConfig; import dev.isxander.mainmenucredits.config.MMCConfigEntry; import io.github.gaming32.worldhost.gui.OnlineStatusLocation; //#endif...

> Side-note: An action to jump to the first version where a given line becomes active would be neat to have. Although potentially difficult to implement because it needs to...

Attempting to trigger "Optimize Imports" in the following file triggers a StackOverflowError and IntelliProcessor seems to be the culprit. The weird thing is the project isn't even using Preprocessor. https://github.com/lunaynx/Skyblocker/blob/ce60fef533e82ea3ec8118fd68936d8dad5c5fda/src/main/java/de/hysky/skyblocker/mixins/CactusBlockMixin.java...

bug