Download presentation
Presentation is loading. Please wait.
Published byRandolph Crawford Modified over 9 years ago
1
C OMP 110/401 A PPENDIX : I NSTALLING AND U SING C HECK S TYLE WITH UNC-C HECKS Instructor: Prasun Dewan (FB 150, dewan@unc.edu)
2
2 D OWNLOAD C HECKSTYLE Z IP AND J AR
3
3 S AVE THE JAR IN P LUG - IN S UBDIRECTORY OF E CLIPSE I NSTALL If Eclipse hangs when building project, delete this file!
4
4 S AVE THE JAR IN P LUG - IN S UBDIRECTORY OF E CLIPSE I NSTALL Plug in directory with UNChecks Next start Eclipse Do this step before installing checkstyle in the steps given next
5
5 H ELP I NSTALL N EW S OFTWARE
6
6 A DD
7
7 A DD O PTIONS, S ELECT A RCHIVE
8
8 N AME A RCHIVE AND G IVE L OCATION OF C HECKSTYLE ZIP
9
9 S ELECT C HECKSTYE AND P ROCEED
10
10 C LOSE E CLIPSE AND R ESTART
11
11 A CTIVATE C HECK S TYLE FOR P ROJECT Select project- Right Click Activate Checkstyle Should deactivate in case of errors in building code
12
12 E XAMINING P ROJECT P ROPERTIES
13
13 S ELECTING UNC C HECKS
14
14 C HECKING C ODE W ITH C HECKSTYLE Some checks need this command to be executed twice in succession As you edit, checkstyle checks are automatically done
15
15 C HECK S TYLE V IOLATIONS IN W ARNINGS W INDOW
16
16 C HECK S TYLE V IOLATIONS IN E DITOR W INDOW
17
17 E NABLING B UILT IN E CLIPSE C HECKS
18
18 R EMOVING UNC C HECKS Select UNC Filter as an excluse from checking item in project properties, checkstyle
19
19 R EMOVING C HECKSTYLE C OMPLETELY
20
20 R EMOVING C HECKSTYLE C OMPLETELY
21
21 T WO I MPORTANT B UILT - IN C HECKS
22
22 C HECKSTYLE AND E CLIPSE C HECKS ARE I NTEGRATED
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.