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

Settings system #25

Open
3 of 5 tasks
krassowski opened this issue Sep 7, 2019 · 0 comments
Open
3 of 5 tasks

Settings system #25

krassowski opened this issue Sep 7, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@krassowski
Copy link
Member

krassowski commented Sep 7, 2019

An issue to write down ideas or requests for what options should be included.

As a starting point I imagine that the JSON structure will hold 'general' settings in one key and language-specific overrides (empty by default) in all the following keys.

The settings will be further subdivided by the LSP function. Possibly like that:

{
  "general": {
    "inspections": {},
    "autocompletion": {
        "auto-invoke": true,
        "invoke-after-any": false 
    },
    "highlight-on-cursor": {}
  },
  "python": {
     "inspections": {
        "ignore": ["E222"]
     },
    // specific functions can be disabled by the user by setting false
    // (or maybe 'disable'?)
    "highlight-on-cursor": false
  }
}

Edit - other settings worth to include:

  • whether to display the documentation in the signature suggestion
  • magic overrides
  • foreign code extractors (regular expressions)
  • modifier key for the hover action
  • the default inspections severity (when server does not provide one)
@krassowski krassowski added the enhancement New feature or request label Sep 7, 2019
@krassowski krassowski changed the title System settings Settings system Sep 7, 2019
@krassowski krassowski added this to the 0.7 milestone Sep 7, 2019
@krassowski krassowski modified the milestones: 0.7, 0.8 Jan 22, 2020
@krassowski krassowski modified the milestones: 0.8, 1.2 Aug 12, 2020
@krassowski krassowski modified the milestones: 1.2, 2.0 Sep 4, 2020
@krassowski krassowski removed this from the 2.0 milestone May 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant