izhangzhihao / intellij-rainbow-brackets

🌈Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio/Fleet
https://plugins.jetbrains.com/plugin/10080-rainbow-brackets
GNU General Public License v3.0
4.46k stars 214 forks source link

[CPP-36001][CPP-39813] Support Indent guide lines with ReSharper C++ language engine(Clion Nova) #2762

Open izhangzhihao opened 3 months ago

izhangzhihao commented 3 months ago

Have you checked the issues and discussions to ensure there are no duplicates?

Yes

Your programming languages

C++

Free or paid?

Paid users

Expected Behavior

2757

Current workaround

disable the option: ReSharper C++ language engine

image

Code snippet for test

#include <iostream>

class Vehicle {
public:
    std::string brand = "Ford";
    void honk() {
        std::cout << "Tuut, tuut! \n" ;
        if (1 > 2) {
            std::cout << "Tuut, tuut! \n" ;
        }
    }
};

Your Environment

CLion 2024.2 RC
Build #CL-242.20224.214, built on July 31, 2024
Runtime version: 21.0.3+13-b509.4 x86_64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
.NET Core v8.0.4 x64 (Server GC)
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 16
Metal Rendering is ON
Registry:
  actionSystem.update.actions.warn.dataRules.on.edt=false
  debugger.attach.dialog.enabled=true
  run.processes.with.pty=TRUE
  ide.experimental.ui=true
  ide.slow.operations.assertion=false
  cache.folding.model.on.disk=false
Non-Bundled Plugins:
  izhangzhihao.rainbow.brackets (2024.2.6-241)
izhangzhihao commented 3 months ago
image

@grhawk we can only wait for JetBrains to make a fully-featured PSI tree, after that, Indent guidelines for Nova could be possible.

it is related to JetBrains's youtrack ticket and my ticket for support Nova 9 months ago.

grhawk commented 3 months ago

I see the problem! Thank you very much for your help with finding the issue!

Very well spent money on your plugin! :) I am going to recommend it to my friends!

Riccardo

On 15 Aug 2024, at 15:11, Zhihao Zhang @.***> wrote:

image.png (view on web) https://github.com/user-attachments/assets/4d931a7f-363b-4aa5-b07a-d6241c44a8bf @grhawk https://github.com/grhawk we can only wait for JetBrains to make a fully-featured PSI tree, after that, Indent guidelines for Nova could be possible.

it is related to JetBrains's youtrack ticket https://youtrack.jetbrains.com/issue/CPP-39813/Simplify-Classic-Nova-plugin-migration.

— Reply to this email directly, view it on GitHub https://github.com/izhangzhihao/intellij-rainbow-brackets/issues/2762#issuecomment-2291240640, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB4BAHSYBPFU7FBJRXDIODDZRSSGVAVCNFSM6AAAAABMSDRDSCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGI2DANRUGA. You are receiving this because you were mentioned.