We have recently released the new version of NetBeans Plugin at NetBeans Plugin Portal. We have implemented one of the most important feature Search snippets.
Now, after you’ve created your own snippets you can finally find them directly from NetBeans IDE. Using this feature is very easy:
- place the cursor into the opened document at the position you want to restore a saved snippet, you can also choose a text selection to replace
- open the popup menu by right clicking mouse and select “Search snippet…” item
- insert your keyword and press Search button
- select the snippet you are looking for
- press the Insert at cursor button
I installed this plugin and i can add a snippet but when i right clk on my file and select “Search Snippetts” the dialog comes up empty. I have restarted NetBeans and still no snippetts. Got any help? Thanks.
ok – i got it to work – i was expecting the Search Snippetts dialog to show me a list of snippetts – but it wants a search string first. Thanks.
Thank you for your comments Chris
Optionally, a customizer where the user can specify something that will be added to the snippet, such as comments.