Autocompleting Text in an HTML file

Hi,

I've recently started working on the Wicket IDEA plugin and I'm trying to add an autocompletion feature. When the user presses the appropriate keystroke, I'd like to get all of the Wicket ids (eg: ]]>) from the HTML file, assuming the user is currently editing the Java file, and popup the list of available IDs in a completion panel.

I've looked at some of the plugins that ship with the dev kit, and I'm pretty stumped as to how to start this. The HelloWorld tutorial isn't much help. Any suggestions would be appreciated.

-Nick

4 comments
Comment actions Permalink

Thanks, that got me going in what I think is the right direction. The problem I'm running into now is getting the list of autocompletion tokens from the Java file. Any suggestions there?

0
Comment actions Permalink

Please explain what items you need to add to the completion list. Are you adding completions for HTML or Java files?

0

Please sign in to leave a comment.