vscode-lua icon indicating copy to clipboard operation
vscode-lua copied to clipboard

Question: Custom LUA_PATH

Open rucciva opened this issue 8 years ago • 3 comments

is it possible to use custom LUA_PATH?

rucciva avatar Dec 19 '17 23:12 rucciva

Can you please elaborate a little on why this is needed?

trixnz avatar Feb 04 '18 20:02 trixnz

for example when you use luarocks which has it's own LUA_PATH due to variants in each dependency installed, or when you use docker to keep your host machine clean but still want the code completion or other IDE features to be enabled.

rucciva avatar Feb 05 '18 06:02 rucciva

I suppose this would make sense if the ext was parsing the require() statements for knowing where to search, but right now we're only parsing individual files so I don't think its applicable at this time.

trixnz avatar Feb 05 '18 18:02 trixnz