Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show warnings by LuaInspect in location list
- Loading branch information
Showing
5 changed files
with
66 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,8 @@ | ||
# The to-do list | ||
|
||
* OMNI completion for in scope variables (including display of library function signatures). | ||
* OMNI completion for in scope variables (including display of library function signatures). This will probably get complicated because most times when you want completion you'll already have typed half a statement, and LuaInspect will find syntax errors when trying to parse the source text. `scite.lua` can just use the last known valid AST but `luainspect4vim.lua` cannot keep this around when executed as an external process… | ||
* Document g:lua_inspect_path option. | ||
* Check whether "core/SciTE: jump to definition now supports functions in different files." is interesting. | ||
* Use the new 'init.get_variable_details' function to replace most of actions.tooltip()? Can't do this until the references to `buffer` and `editor` are removed: | ||
if ast.localmasking then | ||
info = info .. "masking " | ||
local fpos = LA.ast_pos_range(ast.localmasking, buffer.tokenlist) | ||
if fpos then | ||
local linenum0 = editor:LineFromPosition(fpos) | ||
info = info .. "definition at line " .. (linenum0+1) .. " " | ||
end | ||
end | ||
* Bug: Argument count warning tool tips are only shown for parts of the highlighted text. | ||
* Bug: The plug-in warns `Invalid output from luainspect4vim.lua: 'This is an unknown table field.'`. Mixup between tool tip / highlight response parsing?! | ||
* Bug: The plug-in sometimes warns `Invalid output from luainspect4vim.lua: 'This is an unknown table field.'`. Mixup between tool tip / highlight response parsing?! | ||
* Bug: When you add some empty lines to the start of a Lua buffer the highlighting breaks! I haven't tracked this down completely yet but it looks to be a bug somewhere deep down inside of Metalua or LuaInspect `:-|` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters