Skip to content

IDE does not start if the project does not compile #3114

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

Closed
nicolasstucki opened this issue Sep 13, 2017 · 3 comments
Closed

IDE does not start if the project does not compile #3114

nicolasstucki opened this issue Sep 13, 2017 · 3 comments

Comments

@nicolasstucki
Copy link
Contributor

When launching the IDE with sbt launchIDE and the project sources do not compile, the IDE simply does not start.

This can be reproduced by creating a new project with sbt new lampepfl/dotty.g8, adding some code that does not compile in the main class and sbt launchIDE.

@smarter
Copy link
Member

smarter commented Sep 13, 2017

This is intentional, the IDE won't work right if up-to-date classfiles are not present. The alternative is loading all source files with out-of-date or non-existent classfiles in the IDE, but this requires communication with the build tool, which is hard to do until sbt gets a working server mode.

@Blaisorblade
Copy link
Contributor

FWIW in #4469 @smarter has a (seemingly different) suggestion here.

@Duhemm
Copy link
Contributor

Duhemm commented Nov 18, 2018

@smarter improved Dotty IDE so that it starts with the old configuration if the projects doesn't compile here: #5128

@Duhemm Duhemm closed this as completed Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants