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

WIP: Configuration file support #338

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 4, 2020

  1. WIP: Configuration file support

    Add a user configuration file that is read on startup.
    Change the server settings to always be fully fleshed out. So the
    ElixirLS.LanguageServer.Server state `settings` always has all the
    settings (and as atoms) instead of being an empty map by default. This
    consolidates the default setting logic into the new `ConfigParser`
    module instead of being strewn about the Server.
    
    TODO:
    - [ ] Fix tests (I'm getting a strange error with the tests that I cannot figure out.)
    - [ ] Read a configuratioon file from the repository
    
    Note: Editor configuration always overrides the configuration file, and
    the VSCode extension always sends in the full configuration. This means
    that the configuration file is not currently useable with the VSCode
    extension. This will probably have to be modified in the VSCode
    extension because I think it is important for the extension to have the
    final control of the server settings.
    axelson committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    84b646a View commit details
    Browse the repository at this point in the history
  2. Fix test

    axelson committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    82d42bd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1acf127 View commit details
    Browse the repository at this point in the history
  4. Fix comments in test also

    axelson committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    b4ae33e View commit details
    Browse the repository at this point in the history
  5. Support project config file

    axelson committed Aug 4, 2020
    Configuration menu
    Copy the full SHA
    f74d057 View commit details
    Browse the repository at this point in the history