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…)

1
13 comments

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…

0

And surely they're developing Fleet using Fleet. But perhaps they're writing it in Javascript…

0
Hello,

Thank you for the feedback!
Please follow the progress in issue covering this case:
https://youtrack.jetbrains.com/issue/FL-24353
0

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.

0
Hello,

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.
0

This kind of worked for me for Xcode projects only (details follow).

It's of little use without somewhere to see the errors though.

  • If anyone's trying this, you have to set up a key mapping for this action (which is fine for me)
  • Didn't work for for a Spring Boot project (just beeps)
  • No good if you have multiple targets in your Xcode project. It kind of uses the most recent item in the run config list, but not really – if you “change” to a different config, it still builds the one that was selected before.

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.

0
Thank you for the feedback! I've added all the details to the issue.
0

Olga Klisho You are still ignoring the main point of my post though – Fleet has no way to find build errors in a project.

0
Hello, 

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
0

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:

  1. Build or run the project
  2. Project has compilation errors
  3. Time to fix the errors, BUT: there is no practical way to know which files the errors are in. Console is useless because errors are lost amongst screeds of other output. Errors are displayed in individual files when you open them, but what are you supposed to do - open and check every single file in the project?

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.

0

I suggest you show this to one of your developers. Any software developer should get what I mean instantly.

0

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:

  • This means that the points you described in your recent and previous comments have been added to the issue with the “jetbrains-team” level of visibility.
  • It also means that all these comments will be taken into account during the fix. They are treated as sub-issues, and the responsible developer is aware of all the subtasks associated with the issue.

I hope this makes everything clearer now! :)

0

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.

0

Please sign in to leave a comment.