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

Code suggestions availability varies by location in a method. #3219

Open
sh41 opened this issue May 11, 2023 · 0 comments
Open

Code suggestions availability varies by location in a method. #3219

sh41 opened this issue May 11, 2023 · 0 comments
Labels
Milestone

Comments

@sh41
Copy link
Contributor

sh41 commented May 11, 2023

Describe the bug
When typing in different areas of a file, some times suggestions work and sometimes they don't. It seems to be consistent in relation to other lines of code.

To Reproduce

  1. Create a new mix project and open in IDE:
mix new autocomplete
cd autocomplete
idea.sh .
  1. Set the module's SDK, otherwise nothing much works.
    Video of setting the modules SDK:
    https://github.com/KronicDeth/intellij-elixir/assets/6237786/5bfdfd14-f421-42af-be43-2747e89fc6b6

  2. Open the autogen'd elixir module and start to type in the hello method. Observe that suggestions work below the :hello, but not above it.
    Video of suggestions sometimes working:
    https://github.com/KronicDeth/intellij-elixir/assets/6237786/6739adbc-fa33-493d-801b-edda138e7f1b

Expected behavior
Expect suggestions to work when typing both before and after the :hello

Screenshots
See repro steps above.

Logs
idea.log.txt

Desktop:
Edition Windows 10 Pro
Version 22H2
OS build 19045.2913
Experience Windows Feature Experience Pack 120.2212.3920.0

IDEA running in WSL2:
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

Erlang:

  • asdf
  • Erlang/OTP 25 [erts-13.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir:

  • asdf
  • Elixir 1.14.4 (compiled with Erlang/OTP 25)

Plugin:

IntelliJ IDEA 2023.1.1 (Ultimate Edition)
Build #IU-231.8770.65, built on April 27, 2023
Runtime version: 17.0.6+10-b829.9 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 5.15.90.1-microsoft-standard-wsl2
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Non-Bundled Plugins:
    systems.fehn.intellijdirenv (0.2.7)
    org.jetbrains.plugins.ruby (231.8770.53)
    org.albertzeyer.IdeaResolveSymlinks (1.2)
    org.elixir_lang (15.0.2-pre+20230506025217)
    org.jetbrains.erlang (0.11.1197)

Kotlin: 231-1.8.21-IJ8770.65
Current Desktop: Undefined

Additional context
Seen on MacOS and multiple different projects.

@KronicDeth KronicDeth added this to the 15.0.2 milestone Jun 4, 2023
@KronicDeth KronicDeth modified the milestones: 15.1.0, 15.1.1 Jul 8, 2023
@KronicDeth KronicDeth modified the milestones: 16.0.1, 16.0.2 Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants