-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Tuomo Oila edited this page Aug 17, 2016
·
6 revisions
Welcome to the IntelliJ TMC plugin wiki!
To install the plugin, go to File
-> Settings
-> Plugins
And click Browser repositories
at the bottom. Then search for tmc
, and you'll find TMC Plugin for IntelliJ
. Click Install
, wait a bit while it downloads and installs it, and restart the IDE by pressing the Restart IntelliJ IDEA
button or at your own leisure later.
After having restarted IntelliJ, the plugin should be active. You'll find the TMC menu at the top bar. Be sure to set your username, password and server correctly. For example if you're doing the MOOC courses, the server is https://tmc.mooc.fi/mooc
and if you're doing the Helsinki University courses, the server is https://tmc.mooc.fi
.
A couple of important notes:
- When you open an exercise through the project view, note that IntelliJ needs to import it as an IDEA project first. You can click through the windows and let the default settings do their job.
- However, if the exercise is a Maven project (for example the Web server programming MOOC has Maven projects as exercises), then you need to choose the
Maven
option in the first window, when it first gives you two options:Create project from existing sources
andImport project from external model
. Here choose the latter one (external model) and then chooseMaven
. Other than that, you can click through the windows again. - Local TMC tests might not work at the moment at least in Windows. You can submit the exercise to the server though to see the results.