Skip to content

Conversation

@fan-tom
Copy link

@fan-tom fan-tom commented May 22, 2022

This PR adds file path next to the Makefile file name in makefiles panel
Before:
изображение
After:
изображение

This is useful when there are multiple makefiles with the same name in the same project, possibly even with the same set of actions

This PR also adds gradle build script to be able to build, run and test this plugin without need to have IDEA sources and copying file there, as described here

To be able to run tests I modified BASE_TEST_DATA_PATH constant in MakefileTestUtils.kt to calculate it in similar way it is done in handlebars plugin


override fun renderName(renderer: ColoredTreeCellRenderer) {
super.renderName(renderer)
renderer.append(" ${psiFile.virtualFile.path}", SimpleTextAttributes.GRAYED_ITALIC_ATTRIBUTES, false)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to make this fragment right-aligned? I tried different values for padding of this and filename fragments together with alignment = RIGHT - no effect.

@fan-tom
Copy link
Author

fan-tom commented Nov 3, 2022

Seems this PR is superceeded by 2ebe18d

@samkolton samkolton removed their assignment Jun 19, 2025
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

Successfully merging this pull request may close these issues.

3 participants