Bug 404296 - Rename of files should rename the reference to it
Summary: Rename of files should rename the reference to it
Status: NEW
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: 0.9   Edit
Hardware: PC Windows 7
: P4 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 14:17 EDT by Pascal Rapicault CLA
Modified: 2013-03-26 10:07 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Rapicault CLA 2013-03-25 14:17:52 EDT
Lua Development Tools Product (Incubation)	0.9.0.201303011352	

I have the following file called utils. When I rename it, it would be great if the reference to it in the function definition could be renamed as well.

local M = {}

local function convert(value)
  return value 
end

---
-- @function [parent=#utils] convert
-- @param #number the thing to convert
-- @return #number something else
M.convert = convert

return M
Comment 1 Marc Aubry CLA 2013-03-26 09:58:32 EDT
Good input as the Lua documentation is quite long to write.
But it may be hard to implement as the lua code is not fully linked to the documentation to do that.
Comment 2 Marc Aubry CLA 2013-03-26 10:07:31 EDT
This can be done only if the module name equal to file name.
May also allow the user to update the reference of "utils" in the documentation and comments.