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 autocomplete inside user Packages #1099

Closed
lukasgrunwald opened this issue Jun 3, 2022 · 2 comments
Closed

No autocomplete inside user Packages #1099

lukasgrunwald opened this issue Jun 3, 2022 · 2 comments

Comments

@lukasgrunwald
Copy link

I'm unable to get autocomplete (documentation on hover etc.) for functions added to a local package

Steps to reproduce:

  • New julia module with julia> ] generate MyPackage.jl
  • Open MyPackage.jl folder with VSCode and choose the folder as the julia environment
  • Add a new function documented_func inside the src/MyPackage.jl module (with a documentation) and export it
  • Create a new file inside of the src folder and load the module with using MyPackage
  • documented_func will not be recognized, nor have a documentation even after restarting VSCode/Language-Server.

Is this the intended behavior, or am I doing something wrong?

Versioninfo:

  • Julia-VSCode - v1.6.17
  • julia> versioninfo()
    Julia Version 1.7.3
    Commit 742b9abb4d (2022-05-06 12:58 UTC)
    Platform Info:
    OS: Linux (x86_64-pc-linux-gnu)
    CPU: 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
    WORD_SIZE: 64
    LIBM: libopenlibm
    LLVM: libLLVM-12.0.1 (ORCJIT, tigerlake)
    Environment:
    JULIA_NUM_THREADS = 8

Note: I'm also loading Revise via startup.jl if this is relevant

@fredrikekre
Copy link
Member

Probably a variant or duplicate of #988

@lukasgrunwald
Copy link
Author

Ok! Sorry for the noise. I will close the issue then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants