-
Notifications
You must be signed in to change notification settings - Fork 4
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 instructions for building/running LXStudio from command line + vscode #7
Comments
I am not sure about VSCode for Java myself, as I have been out of Windows land for a while. But there is a fully CLI-buildable version of LXStudio here: https://github.com/heronarts/LXStudio-IDE - that is set up for Eclipse/IntelliJ, but if VSCode supports Maven, driven by the This bypasses all the Processing IDE stuff and goes straight to using Maven for build configuration. Eventually this will all be subsumed by the successor version of LXStudio, which will be retitled Chromatik and completely free of any of the Processing dependency chain. I don't have a hard ETA on that just yet, so for the meantime, LXStudio-IDE is your best indication of an IDE-driven build system. |
Ah VSCode is OS agnostic (not just for Windows) and is among the most popular IDEs out there. And yeah you can run maven commands via VSCode with the command line: I got it working on my Mac with Ventura by doing the following:
Select the java project, Then open the menu "Run" -> "Run without debugging": At this point I ran into an error: [LX 2023/06/30 08:20:30] Initializing LX version 0.4.1 It seems it is not picking up the Any idea where in the launch.json That argument should go? |
Man wow I am behind the times, didn't realize VSCode had gone cross-platform. Nice. Will have to give it a whirl sometime. These library config things are the worst (one of many reasons I'm moving on from the Processing runtime).
I wonder if the symlink is a mess here. Can you quickly test on your system, does it work on your system if rather than |
thanks for your help! Yeah I def recommend trying it. I realized my issue was that in my launch.json, there were two configurations (not sure where that came from):
and vscode was using the first. I deleted the first config, and I got it working. Another thing I had to do was remove
|
If you'd like I can add these vscode setup instructions to the documentation. |
Yeah that would be great if you want to document this. Could also just check in the |
It would be great to be able to use VSCode when developing against the IDE. For example VSCode has an amazing plugin ecosystem, including github copilot.
Is it possible to build/run the project entirely form the command line, and if so, are there any instructions on how to do that?
The text was updated successfully, but these errors were encountered: