Skip to content

Improve inspect - #3916

Merged
lefou merged 9 commits into
com-lihaoyi:mainfrom
lefou:improve-inspect-module
Nov 9, 2024
Merged

Improve inspect#3916
lefou merged 9 commits into
com-lihaoyi:mainfrom
lefou:improve-inspect-module

Conversation

@lefou

@lefou lefou commented Nov 7, 2024

Copy link
Copy Markdown
Member
  • Retain the full source location relative to the project directory.
  • Inherited Modules now show the full class names instead of just a short names without the package.
  • In debug mode, show all inherited modules, not only the directly declared ones.
  • Also show compile and runtime module dependencies
  • Reworked formatting for modules to be consistent with inspect for tasks
  • Added a test for inspect modules
sub(main/test/src/mill/main/MainModuleTests.scala:46)
    Sub module
 
Inherited Modules:    
    mill.define.TaskModule

Module Dependencies:
    sub.subSub

Default Task: sub.hello

Tasks (re-/defined):
    sub.hello

lefou added 3 commits November 7, 2024 05:16
* Retait the full source location relative to the project directory.
* Inherited Modules now show the full class names instead of just a short names without the package.
* In debug mode, show all inherited modules, not only the directly declared ones.
* Also show compile and runtime module dependencies
* Reworked formatting for modules to be consistent with inspect for tasks
@lefou lefou changed the title improve inspect module improve inspect Nov 7, 2024
@lefou lefou changed the title improve inspect Improve inspect Nov 7, 2024
@lefou
lefou marked this pull request as ready for review November 7, 2024 15:12
@lefou
lefou merged commit 2d31114 into com-lihaoyi:main Nov 9, 2024
@lefou
lefou deleted the improve-inspect-module branch November 9, 2024 07:47
@lefou lefou added this to the 0.12.2 milestone Nov 9, 2024
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.

2 participants