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

Changes for hierarchical tree structure of sub-projects #1592

Closed

Conversation

uiv24008
Copy link

@uiv24008 uiv24008 commented Aug 27, 2024

Changes for hierarchical tree structure of sub-projects. Fix #945

@uiv24008 uiv24008 marked this pull request as ready for review August 27, 2024 09:31
@jdneo
Copy link
Member

jdneo commented Aug 28, 2024

Hi @uiv24008

There are some CLA check that you need to do as a follow-up, please check #1592 (comment).

Meanwhile, I think it would be good if we can introduce a setting to control whether the tree view should be displayed hierarchical or flat.

@jdneo
Copy link
Member

jdneo commented Aug 28, 2024

Took a look at IDEA and it's hierarchical by default and seems not able to switch to flat. So adding the setting to control the view style is not required.

@jdneo
Copy link
Member

jdneo commented Aug 28, 2024

One feedback is about the place of the Tasks and Dependencies node of the parent project.

You can see that they are now placed at the bottom of the children nodes, which mixes with the above child project

image

I suggest to put it at the top of the child list. This is also how IDEA display:

image

@uiv24008
Copy link
Author

uiv24008 commented Aug 28, 2024

Hi @jdneo,

I have modified the code and able to see Tasks and Dependencies node of the parent project as below:

image

Please let me know if it is fine, I will push the code changes

@jdneo
Copy link
Member

jdneo commented Aug 28, 2024

Yes this is what I mean. Thank you!

@jdneo
Copy link
Member

jdneo commented Aug 28, 2024

And don't forget this: #1592 (comment)

@jdneo
Copy link
Member

jdneo commented Aug 29, 2024

Hi,

There are some lint errors. I think you can run the format task to fix them

image

After running the task you can rerun :extension:lint to check if it can pass

@jdneo jdneo added the enhancement New feature or request label Aug 29, 2024
@uiv24008
Copy link
Author

Hi,

There are some lint errors. I think you can run the format task to fix them

image

After running the task you can rerun :extension:lint to check if it can pass

Hi @jdneo , can you please mention the steps to reproduce the issue? I am not able to see "format" option under tasks

image

@jdneo
Copy link
Member

jdneo commented Aug 29, 2024

@uiv24008 It is in the vscode-gradle, not the project you are testing with.

The repo has some restrictions on the code formatting, the task I mentioned are used to check and correct the code format.

Copy link
Member

@jdneo jdneo left a comment

Choose a reason for hiding this comment

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

LGTM

@uiv24008
Copy link
Author

uiv24008 commented Sep 5, 2024

I am trying to create .vsix file by running the command "vsce package", not able to create .vsix file and getting below error

image

Node version: v14.21.3

@jdneo
Copy link
Member

jdneo commented Sep 5, 2024

@uiv24008 Could you cd to extension folder and try again?

If it's still not working, please try updating node to 18

@jdneo
Copy link
Member

jdneo commented Oct 8, 2024

Hi @uiv24008, would you mind me closing this PR since we have #1612 for this?

@uiv24008
Copy link
Author

uiv24008 commented Oct 8, 2024 via email

@jdneo jdneo closed this Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gradle Project view should keep project hierarchy
2 participants