Comp 524-Programming Languages �Eclipse Difficulty/Helper Plugin
Instructor: Prasun Dewan (FB 150, dewan@unc.edu)
1
Table of Contents
2
Motivation: Why Detect Programmer Difficulty
Introspection: review your pain points and solutions.
Collaboration: Manual or automated help on difficulty detection
Inspection/testing: Correlation between difficulty and bugs?
Task and document adaptation
…
3
Detection of Programming Difficulty (Slow Progress)
4
4
Status Inference 🡪 Status Communication
5
5
Status Inference 🡪 Collaborative Difficulty Resolution
6
6
Data for Difficulty Detection
Program
Test case data
Programming Environment Commands
Web Accesses
7
Data for Difficulty Detection
8
Raw Data: Eclipse Commands
9
Metrics
10
Chrome Accesses
No Facebook accesses, log “safe” accesses (piazza, stackoverflow, edu sites – can disable some)
11
(Un) Installing Plug-in
A plug-in can possibly misbehave/slow you down
We show you both how to install it and uninstall it
12
Help🡪Install New Software
13
Hermes Plug-in Site and Check Hermes:
Enter: http://www.cs.unc.edu/~dewan/plugins/hermes in work with and hit return
Check HermesFeature
Next
14
Confirm
Check HermesFeature
15
Accept License
License is empty now, but may add text
16
Trust Us
17
Restart Eclipse
18
Getting to View to Record Difficulties
Window🡪Others
19
Open View
Hermes🡪DifficultyStatus
20
Difficulty Status View
When in Difficulty, press surmountable or insurmountable difficulty.
Insurmountable: After having thought about it, you have no clue right now on how to solve the problem and are stopping to ask for help or think later
Surmountable: After having thought about it, you have some ideas on how the difficulty may be solved, but do not know the exact solution
Progress: After having thought about it, you know exactly what to do (normal mode, no difficulty)
21
Elaborate on Surmountable or Insurmountable Difficulty
22
Example Filled Form
23
Configuring Plug-in Before or after Installing It
This is an optional step in case you want to receive difficult and non-difficulty notifications, called slow progress and making progress which you can correct
24
Download Configuration File
Go to google drive: https://drive.google.com/drive/u/1/folders/1AQrdEHvKSQZIAwEuezpkOhA8hiZBtMdj
Right Click helper-config.properties and select download
25
Navigate to Your Home Directory
Go to C:\Users\<user name>
Mac
Windows
Linux
Go to ~/<user name>
26
Create Sub Directory in Home
Create helper-config in Home directory
27
Move Downloaded File to Subdirectory
28
Use Text Editor to Open It
29
Uncomment showStatusTransitions
Line 12 to be uncommented
30
Restart Eclipse
File is read when Eclipse Starts Up
31
Uninstalling Plugin
32
Help🡪Install New Software
33
Click on: Already Installed
34
HermesFeature Uninstall
35
Click Finish
36
Restart Eclipse
37