|
1 | | -# CodeGRITS |
| 1 | +# Getting Started |
2 | 2 |
|
3 | | -## Environment |
| 3 | +## What is CodeGRITS? |
| 4 | +CodeGRITS stands for **G**aze **R**ecording & **I**DE **T**racking **S**ystem, which is a plugin specifically designed for SE researchers. CodeGRITS is |
| 5 | +built on top of IntelliJ’s SDK, with wide compatibility with the |
| 6 | +entire family of JetBrains IDEs to track developers’ IDE interactions and eye gaze data. |
| 7 | + |
| 8 | +## Key Features |
| 9 | +- **Gaze and IDE Recording**: CodeGRITS records developers’ eye gaze data and |
| 10 | + IDE interactions. |
| 11 | +- **Screen Recording**: CodeGRITS records developers’ screen. |
| 12 | +- **Research Toolkit**: CodeGRITS provides a set of extra features for SE |
| 13 | + researchers, including preset labels, real-time data API, etc. |
| 14 | +- **Data Export**: CodeGRITS exports data in XML format for further analysis. |
| 15 | +- **Real-time Data API**: CodeGRITS provides real-time data API for further |
| 16 | + development. |
| 17 | + |
| 18 | +## Using CodeGRITS |
| 19 | + |
| 20 | +### Python Environment |
| 21 | +It is necessary to install the following packages in your python environment to run this plugin. |
4 | 22 |
|
5 | 23 | ``` |
6 | | -Windows 10 |
7 | | -IntelliJ IDEA 2022.1.4 |
8 | 24 | python==3.8.8 |
9 | 25 | tobii-research==1.10.1 |
10 | 26 | pyautogui==0.9.53 |
11 | 27 | screeninfo==0.8 |
12 | 28 | ``` |
13 | 29 |
|
14 | | -## Usage |
| 30 | +### Installation |
| 31 | +1. Clone the [repository](https://github.com/codegrits/CodeGRITS) to your local machine. |
| 32 | +2. Open command line and run `./gradlew build` in the root folder to build the plugin. |
| 33 | +3. Open IntelliJ IDEA and click `File` - `Settings` - `Plugins` - `Install Plugin from Disk...` to install the plugin zip file in `build/distributions` folder. |
| 34 | +4. Restart IntelliJ IDEA to enable the plugin. |
| 35 | +5. All CodeGRITS features are available in `Tools` dropdown menu, including `Start Tracking`, `Pause Tracking`, and `Configuration`. |
| 36 | + |
| 37 | +### Usage |
| 38 | +!!! |
| 39 | +Before starting tracking, you should first configure the plugin. Click `Tools` - `CodeGRITS` - `Configuration` to open the configuration window. To enable eye tracking, |
| 40 | +you need to have the necessary Python packages installed in your Python environment. The plugin automatically checks the Python environment. |
| 41 | + |
| 42 | +We highly recommend |
| 43 | +using [Tobii Pro Eye Tracker Manager](https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-eye-tracker-manager#downloads) |
| 44 | +to conduct calibration before using eye tracking. |
| 45 | +!!! |
15 | 46 |
|
16 | | -You should |
17 | | -use [Tobii Pro Eye Tracker Manager](https://www.tobii.com/products/software/applications-and-developer-kits/tobii-pro-eye-tracker-manager#downloads) |
18 | | -to conduct calibration before using this plugin. |
| 47 | +1. Click `Tools` - `CodeGRITS` - `Start Tracking` to start tracking. |
| 48 | +2. Click `Tools` - `CodeGRITS` - `Pause Tracking` to pause tracking. |
| 49 | +3. Click `Tools` - `CodeGRITS` - `Resume Tracking` to resume tracking. |
| 50 | +4. Click `Tools` - `CodeGRITS` - `Stop Tracking` to stop tracking. The plugin will export data in XML format to the configured folder. |
19 | 51 |
|
20 | | -## Development |
| 52 | +## Further Development |
21 | 53 |
|
22 | 54 | 1. Click `Run` - `Run Plugin` to run the plugin and test it. |
23 | 55 | 2. Open command line and run `./gradlew build` to build the plugin. |
|
0 commit comments