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

[SQLLINE-186] Autocompletion of MODE property values #223

Closed

Conversation

snuyanzin
Copy link
Collaborator

The PR continues #186

  1. resolves conflict after Update maxColumnWidth default to -1 and add getter to SqlLineOpts for maxWidth #218
  2. fixes warnings mentioned in Tests for completions #186 (comment)
  3. Adds autocompletion for mode property

snuyanzin and others added 8 commits November 19, 2018 14:07
…mpmletion for properties values like outputformat or boolean properties
…mpmletion for properties values like outputformat or boolean properties
…or copmletion

Correct method sqlline.SqlLineOpts#optionCompleters to generate org.jline.builtins.Completers.RegexCompleter for
!set command based on (in decreasing order of priority)
1. Customizations
2. Available values defined in BuiltInProperty
3. Type of property. Currently there is completion only for boolean type with completion values from sqlline.SqlLineProperty#BOOLEAN_VALUES

Added javadoc for sqlline.SqlLineOpts#optionCompleters
Use Application#getName2HighlightStyle for color scheme available values
@julianhyde
Copy link
Owner

Merged as 198447d, fixes #186.

@julianhyde julianhyde closed this Jan 14, 2019
@julianhyde julianhyde mentioned this pull request Jan 14, 2019
@snuyanzin snuyanzin deleted the scratch_autocompletion branch January 15, 2019 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants