Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why jetbrain's MPS does not follow package structure for java classes

Tags:

mps

I am just curious to know why jetbrain's MPS does not follow package structure for java classes. Even the editor available for java programs does not have a tag called package. Is there any specific reason?

like image 486
Sanjit Kumar Mishra Avatar asked Aug 16 '26 05:08

Sanjit Kumar Mishra


1 Answers

You can create "virtual packages" in MPS: just select any file, open the context menu and select "set virtual package". They are mapped to Java packages.

like image 156
Federico Tomassetti Avatar answered Aug 19 '26 19:08

Federico Tomassetti



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!