Many of our students have Chromebooks because they are pretty good for school but not so much for VS Code. So I was looking into a cloud service as a possible solution.
Would it be possible to use Eclipse Che 7? I know that FRC supports only VS Code now, but apparently Eclipse Che 7 allows you to install vs code extensions like WPILIB.
It’s not been tested, so its something you have to test. However, because the WPILib VS Code extension hooks into the command line, and uses Gradle for both building and deploying, I doubt that functionality would work. The C++ extension won’t work because of licensing issues, but the Java intellisense extension would. So with all this, you might be able to write Java code with intellisense, but you likely won’t be able to build or deploy either language, or get intellisense in C++.
Normal eclipse can grab the Java intellisense configuration with its default buildship configuration, so not much would be gained in that department anyway. But its something you could try.
The only thing that won’t work is deploying code. I doubt that you will be able to get deployment working on chromebooks.
It won’t be the same as VS Code. You will be using the command line for most things. However since you can’t deploy, it probably won’t matter. You’ll just be using it to edit code.
Are these personal devices or school-issued devices? If they’re personal, you may want to have your students look into Crouton, an application for Chromebooks allowing you to install Ubuntu and run standard Linux software. It does require some setup to get working, though, such as putting the Chromebook into developer mode, which requires a factory reset.
Eclipse Che has different stacks and Java with Gradle (Java Stack with OpenJDK 11 and Gradle 5.2.1) is one option.
I don’t know how to handle WPILIB. Do I have to install WPILIB and the VS code extension for wpilib? Or by installing the extension I install the actual wpilib?
Thanks,
Denis
Unless you use VS Code, you aren’t going to get official support. Since Eclipse can support gradle, if you import it correctly it will download the libraries you use and you will be able to edit code with nice auto complete.
As long as you use the official gradle setup you just have to import the project into your IDE of choice.