Skip to content

Autocompletion through CWL file for packages #142

Open
@stakaz

Description

@stakaz

Here is a suggestion for you on how it would be possible to add autocompletion for packages without a big effort. I would recommend you to look at .cwl files (which are used by kile and texstudio to provide autocompletion) as parseble text files with listed commands.

The advantages of using them would be:

  • the files exist for various packages and are free? to use
  • they contain all versions of each command which is very helpful in usage as you can see what kind of arguments you can pass to the command.
    E. g.
\newcommand{name}{command}
\newcommand{name}[args]{command}

The already inserted text can then be overwritten by the user for each bracket by jump through the fields

  • You can separately allow autocompletions for each package which you need
  • they are plain text and easy to parse in various ways

Adding this feature would give the package a huge improvement and I am not aware of another package for Atom which can do that (at least in a consistent and easy configurable way).

I would be happy if you could consider this feature.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions