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

Setup classpath from current project #3

Open
foal opened this issue Apr 23, 2021 · 4 comments
Open

Setup classpath from current project #3

foal opened this issue Apr 23, 2021 · 4 comments
Labels
enhancement New feature or request hacktoberfest

Comments

@foal
Copy link

foal commented Apr 23, 2021

Now JShell does not see the project dependencies and can't run any code from the project that depends on some third-party dependencies.

@nileshkhaire
Copy link
Owner

@foal Yes, you are right. This is not considered in this release. I am noting down this feature for future release.

@nileshkhaire nileshkhaire added the enhancement New feature or request label Apr 23, 2021
@olfMombach
Copy link

I second this enhancement. Any plans on implementing?

@nileshkhaire
Copy link
Owner

I was thinking about this feature but what if there are multiple projector in workspace ? From which projects these dependencies should be loaded ?

So in short this feature will need more analysis.

Your suggestions are always welcome :)

@olfMombach
Copy link

Hi Nilesh, thanks for considering the suggestions!

For the class path loading, my idea would be that you could add a context menu entry to projects in the left explorer pane to "open this project configuration in jshell", that starts a jshell session using the project's run configuration's class path (I think that's possible with the --class-path flag for jshell). What do you think about the idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants