Tuesday, June 21, 2011

Get method name from java libraries?

I have this function to find the method names from libraries:

(for [method (seq (.getMethods java.awt.Frame))
      :let [method-name (.getName method)]]
  method-name)


I would like to use it  when I have the cursor over the name of any library in vim. So I need to replace "java.awt,Frame" with the name of the library under the cursor.

Any suggestion?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: