question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autocomplete is missing context after typing a dot

See original GitHub issue

While typing Htm, the autocomplete popup lists all Html functions.

image

However, once you type the ., it does not list Html functions anymore.

image

Expected Behavior

List all related functions belonging to the preceding typed module.

Current Behavior

It does not list anything related to the preceding module. It looks like it loses the context.

Steps to Reproduce (for bugs)

  1. Open an Elm file with imported modules.
  2. Start typing the name of an import and check how it displays functions.
  3. Type the . and check how the previously listed functions disappear.

Context

Just trying to list all the functions of a given module while typing.

Your Environment

  • Version used: elm-language-server@1.5.0
  • Editor used: neovim + coc
  • Environment name and version (e.g. node.js 5.4): node v12.13.0
  • Operating System and version: macOS Catalina

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
bigardonecommented, Feb 7, 2020

@Razzeee done, I hope it helps 😃

1reaction
bigardonecommented, Feb 6, 2020

@Razzeee I’ll create the ticket between today and tomorrow 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autocomplete is missing context after typing a dot · Issue #1530
the available suggested options lose the target module after typing a . . Reproduce the bug. Create file mini.vim with:. set nocompatible ...
Read more >
How to prevent "."(dot) from cancelling autocomplete in ...
I looked through the default Packages/Default/Preferences.sublime-settings file and while there are several options relating to auto-complete, ...
Read more >
Bug: Auto-complete doesn't work for Java in eclipse 2021-03
So I fixed the ini file. But autocomplete doesn't work. The first time I try it I get a popup that has just...
Read more >
Code completion | IntelliJ IDEA Documentation - JetBrains
This section covers various techniques of context-aware code ... Type an expression and then type a postfix after a dot, for example, .if:....
Read more >
IntelliSense in Visual Studio Code
This issue is caused by missing type declaration (typings) files in JavaScript. You can check if a type declaration file package is available...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found