Vous êtes sur la page 1sur 11

ProductivityTools

ExtensionstoNetBeansIDEthat

makelifeeasier
Or...foryourowneditor?
NetBeansIDEhasmanyextension

pointsthatyoucanuse
Manytutorials&samplestohelpyou

ProductivityTools
FileTemplates&ProjectTemplate
Hints
CodeGenerators
QuickSearch
MarkOccurrences
Schliemann
CodeCompletion
Hyperlinks
SyntaxColoring
2

Creating
JavaHints:
MakingtheEditorEvenBetter
GeertjanWielenga
http://blogs.sun.com/geertjan

Agenda
Goals
Hints:TheUser'sPerspective
Hints:TheDeveloper'sPerspective
Demo
Resources
ReviewtheGoals
4

Goals
Understandthevalueofhints
Understandhintsfromuserview
Understandhintsfromdeveloperview
Createafirsthint
Understandhowthehintworks
Potentialprojectforhomework?
5

Hints:User
Typea==b(botharestrings)
Lookatunusedimportstatements
Hintsvs.FixableHints
Severity&ErrorMarks
Optionswindow
Browsethroughallthehints
Lookatlabelsanddescriptions
Changeseverityofahint
6

Hints:Developer
Lookathowhintisregistered
Expandlayer.xmlfile
ConnectionbetweenlayerandAPIs
Browsetolocationofhints
Openlayerfileofotherhints
ThinkaboutNetBeanssources

Demo
Explainwhatthedemoisgoingtodo
IntroducetheHintwizard
Pluginportal
Generateahint
Brieflyinspectthesources
Implementationversions
Installthehint
Lookathowtoextendit
8

Resources

NetBeansSources
NetBeansJavaLanguage

InfrastructureTutorial
http://platform.netbeans.org/tutorials/
60/nbmcopyfqn.html
JavaDeveloper'sGuide

http://wiki.netbeans.org/
Java_DevelopersGuide
RetoucheDeveloperFAQ
9
http://wiki.netbeans.org/

ReviewtheGoals
Understandthevalueofhints
Understandhintsfromuserview
Understandhintsfromdeveloperview
Createafirsthint
Understandhowthehintworks
Potentialprojectforhomework?
10

Questions?

11

Vous aimerez peut-être aussi