Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No IntelliSense/AutoCompletion/Type information for ffi #1278

Closed
TheHorscht opened this issue Jul 4, 2022 · 5 comments
Closed

No IntelliSense/AutoCompletion/Type information for ffi #1278

TheHorscht opened this issue Jul 4, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@TheHorscht
Copy link

Describe the bug
I am not getting IntelliSense/AutoCompletion/Type information for ffi

To Reproduce
Steps to reproduce the behavior:

  1. Install this extension
  2. Create a new .lua file
  3. Type ffi = require("ffi")
  4. Hover over the declared ffi variable, or in a new line type ffi.

Expected behavior
Type information is shown on hover, or autocomplete triggers when typing ffi.

Screenshots
QCqscUag9r
This is the expected outcome (screenshot by someone else):
unknown

Environment (please complete the following information):
VSCode
Version: 1.68.1 (user setup)
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.19043
Lua Language Server 3.4.0

Provide logs
file_d%3A_Downloads_lua-5.1.5_Win64_bin.log

@Nexela
Copy link
Contributor

Nexela commented Jul 5, 2022

Set "Lua.runtime.version": "LuaJIT", in your settings

@sumneko sumneko added the question User has a question label Jul 5, 2022
@TheHorscht
Copy link
Author

It's already set to that.

@sumneko
Copy link
Collaborator

sumneko commented Jul 5, 2022

I cannot reproduce this, please add --loglevel=debug in Lua.misc.parameters then provide your new log.

@TheHorscht
Copy link
Author

new_log.log

@sumneko
Copy link
Collaborator

sumneko commented Jul 5, 2022

new_log.log

Strange, I can't reproduce your problem, but I found another problem. I'll try to fix the other first, maybe there is some connection between the 2 issues.

local math = require 'math'

@sumneko sumneko added bug Something isn't working and removed question User has a question labels Jul 5, 2022
@sumneko sumneko closed this as completed in 3853d4d Jul 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants