Lua intellisense: show module functions

Module:

 

local M = {}

--- find users by name
-- @param name string: user name
-- @return object with array of users
function M.find_users(name)
    return {users = {}};
end

return M

Usage:

 

local userapi = require("userapi")

pcall(userapi.find_users, name)

It works, but intellisense doesn't show me the userapi functions.

0
4 comments

We don't have a built-in support for Lua. 

Are you using any of those plugins:

0
Avatar
Permanently deleted user

Yes, I'm using Lua plugin.

0

Please report it to the plugin author. Seems like that's a known issue: https://bitbucket.org/sylvanaar2/lua-for-idea/issues/226/autocomplete-inherit

0
Avatar
Permanently deleted user

Ok, thanks for help (:

0

Please sign in to leave a comment.