Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reindenting typedefs indents poorly #26

Open
DeeeeLAN opened this issue Feb 16, 2021 · 3 comments
Open

Reindenting typedefs indents poorly #26

DeeeeLAN opened this issue Feb 16, 2021 · 3 comments

Comments

@DeeeeLAN
Copy link

Code like:

typedef class Class1;
typedef class Class2;
typedef class Class3;

will indent to:

typedef class Class1;
  typedef class Class2;
    typedef class Class3;
@DeeeeLAN
Copy link
Author

Also, jumping to hierarchy with a typedef just takes you to the typedef instead of the actual class.

@TheClams
Copy link
Owner

The alignment is fixed in the next version of the plugin.
For your second remark, I'll need more details to reproduce it

@DeeeeLAN
Copy link
Author

I mean if I have the cursor on a class object and I want to jump to its definition, it will jump to the line where the typedef is declared instead of to the actual class definition. Not sure if that is the plug-in or ST feature though come to think of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants