Skip to content
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

Add out-of-the-box support for IntelliJ IDEA #489

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -24,7 +24,12 @@
.jdk
.jib
.classpath
.idea
.idea/workspace.xml
.idea/modules.xml
.idea/libraries
.idea/shelf/
.idea/tasks.xml
.idea/usage.statistics.xml
.project
.settings
*.iml

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

@@ -214,6 +214,28 @@ If you choose to use [Vim](https://vim.org) as your editor when working on Skara
probably also want to utilize the Makefile wrapper. The Makefile wrapper enables
to you to run `:make` and `:make tests` in Vim.

### IntelliJ IDEA

Skara has support for [IntellJ IDEA](https://www.jetbrains.com/idea/) out of the
box, both the "Community" edition and the "Ultimate" edition. To work on Skara
with IntelliJ IDEA you only have to "Open" the Skara directory.

If you do not have a JDK 13 SDK set up in IntelliJ IDEA, then you need to set
one up. IntelliJ IDEA will prompt you to set up a "Project SDK" when you open
any Skara Java source code file. Press the "Setup SDK" button in the blue bar at
the top of the Java source code file, then press "Configure" in the new dialog,
then press the little "+" button in top-left corner in the next dialog and
select a path containing a [JDK 13](https://jdk.java.net/13) home directory.

There are currently three run configurations provided:

- `Images` - create all jlinked images
- `Test` - run all tests
- `Clean` - remove all build and test artifacts

To run any of the above configurations, click the "Run" top-level menu and then
the "Run..." action (by default bound to the Alt+Shift+F10 key combination).

## Wiki

Project Skara's wiki is available at <https://wiki.openjdk.java.net/display/skara>.