Is Fleet even intended for compiled languages?
Sorry, but I can't think of any other way to put that.
There's no compile/build option at all! I can kludge it by trying to run a target, but that's not the same thing and there are many reasons you might not want to run your project every time you want to build your project.
Even if you do that, there's nowhere to find the project's build errors! Errors are highlighted in the current file (if you're lucky), but you can't find out which other files have errors. You could trawl through the console output like an animal, and perhaps you'll find something (SpringBoot/Kotlin in my case) or perhaps everything useful will be lost in untold pages of output (Apple/Swift). And good grief, it's not 1995.
I mean I get that you're trying to compete with VSCode, and that's all about Javascript. If your audience is just Javascript people you should probably say so.
But if you're serious about supporting compiled languages, Fleet feels pretty half-hearted currently. I know you're not finished, but this is core functionality, don't you think?
(Even as I write, I'm checking back through the menus feeling like I must have missed something…)
Please sign in to leave a comment.
I'm in the same boat, searching for “error:” in the console output to refactor Swift…
Imagine telling this to a JetBrains engineer 10 years ago…
And surely they're developing Fleet using Fleet. But perhaps they're writing it in Javascript…
Thank you for the feedback!
Please follow the progress in issue covering this case:
https://youtrack.jetbrains.com/issue/FL-24353
Olga Klisho Please read and understand the whole original post and the underlying point.
The issue you link to only addresses part of the problem, and even that hasn't been touched for 10 months. The Jetbrains commenter on that issue also seems to view building as a weird edge case that should be hacked in as a kind of run configuration, rather than being a first class operation.
Another indication that your product team is thinking of Fleet as an IDE mainly for interpreted languages, it would seem.
Please try adding the following setting to the settings.json:
"ff.kmpBuildActions": true
This should enable the "Build Gradle Project" and "Build XCode Project" actions as a temporary workaroud before the issue is fully fixed.
This kind of worked for me for Xcode projects only (details follow).
It's of little use without somewhere to see the errors though.
In general, the UI around run configurations seems a bit mad anyway. There's no way to switch configs without running a target as far as I can tell.
This is important because they're not just used for running. They seem to be the editor's idea of current build context – for symbol resolution), syntax highllighting, etc – like in the old IDEs.
It's this sort of strangeness that led me to question the intended use cases of Fleet in the first place.
Olga Klisho You are still ignoring the main point of my post though – Fleet has no way to find build errors in a project.
Please clarify in more details what is the expected behaviour for you? Are you talking about the project wide analysis feature when the errors for the whole workspace are shown in the editor?
Thank you
I explained this in the second paragraph of my original post.
One possible solution (the “expected behaviour” you're asking for) is a Problems view which shows errors for the whole project. These exist in other Jetbrains IDEs such as IntelliJ, so I don't know why it seems so difficult to get the message across.
Here is the problem put another way:
This is the use case. It's fundamental to the software development process – I'm not sure why I'm having to explain it again.
I suggest you show this to one of your developers. Any software developer should get what I mean instantly.
Hello,
Thank you for the details.
As I mentioned before, the issue you describe is covered by the following ticket:
https://youtrack.jetbrains.com/issue/FL-24353
The problem you’ve described is clear to me! :)
To clarify what I meant by “the issue is covered by ticket №...” in my previous comment:
I hope this makes everything clearer now! :)
FL-24353 is titled “Build project button”. It doesn't mention a problems view at all. If it is intended to encompass a problems view as well, it should really say so in the title or description.