Code Monkey home page Code Monkey logo

intelliprocessor's Introduction

IntelliProcessor

Build Version Downloads

An IntelliJ plugin to add support for the ReplayMod preprocessor syntax

Features

  • Completion of preprocessor syntax such as #if, #else, and other variables
  • Auto-completion of preprocessor comment blocks.
  • Highlighting of preprocessor syntax and intellisense of variables
  • Highlighting/intellisense of preprocessor comment blocks.
  • Ability to "fold" preprocessor comment blocks.
  • Auto-remapping within preprocessor comment blocks based on variables.

intelliprocessor's People

Contributors

actions-user avatar pauliesnug avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

cyberflamego

intelliprocessor's Issues

Feature Request: Jump to/from preprocessed file.

Add a hotkey / intent to jump from the preprocessed file in versions/<version>/build/preprocessed/(.*) to src/$1.
For the reverse of that jump, maybe a little popup could show up with the possible destinations to select from.

Doesn't understand nested ifs

Sometimes, especially in imports, #if directives may be nested.

Example:

//#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
//#else
...

Currently this plugin does not fold this, and may even display weird errors regarding mismatched #endif directives, despite them not being mismatched.

Breaks Optimize Imports

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.