Skip to content

Improve code completetion #6

Closed
Closed
@skovhus

Description

@skovhus

Just installed this, and it works really nicely! Jump to definition and parsing errors are really nice.

Would be nice to improve the code completions. VS Code per default autocompletes on words, but this is disabled when using a language server I guess. : )

Ideas from the TODO file:

  • Based on symbols in the file
  • Based on all symbols in the workspace
  • Based on programs in your PATH
  • path completions, e.g. on foo/b should return bar if you have a file named bar inside of a folder named foo

Ideas from the source code :

  • Look up man pages for commands
  • For builtins look up the docs
  • For functions, parse their comments?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions