Skip to content

Conversation

@chaudum
Copy link
Contributor

@chaudum chaudum commented Jan 24, 2017

crash-auto-capitalize

@codecov-io
Copy link

codecov-io commented Jan 24, 2017

Current coverage is 80.68% (diff: 88.31%)

Merging #169 into master will increase coverage by 0.22%

@@             master       #169   diff @@
==========================================
  Files            16         16          
  Lines          1750       1817    +67   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           1408       1466    +58   
- Misses          342        351     +9   
  Partials          0          0          

Powered by Codecov. Last update 43e4207...dc61826

Copy link
Member

@mfussenegger mfussenegger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm if it doesn't break copy and paste in some odd way

@chaudum chaudum force-pushed the h/autocapitalize branch 2 times, most recently from 1ea8c9f to edd2855 Compare January 25, 2017 09:28
@chaudum chaudum requested a review from memcmp January 25, 2017 09:55
@mikethebeer
Copy link

nice. However, I would like to have a setting that can be used to activate/deactivate this feature.

@mikethebeer
Copy link

mikethebeer commented Jan 26, 2017

@chaudum noticed an issue that causes partly-capitalization of a word that is not registered as a keyword.

e.g. if settings are queried.

cr> SELECT SETtings FROM sys.cluster;

bug

@chaudum
Copy link
Contributor Author

chaudum commented Jan 26, 2017

@mikethebeer addressed your comments

  • added cli argument and runtime command: 81853b7
  • improved capitalization: 96d18f2

/cc @autophagy

added cli argument and command for auto-capitalization

undo capitalization if necessary

words that start with a sql keyword should not be capitalized once you
continue typing the word.

the behaviour is the following:

s           -> s
se          -> se
sel         -> sel
sele        -> sele
selec       -> selec
select      -> SELECT
selecti     -> selecti
selectio    -> selectio
selection   -> selection
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling dc61826 on h/autocapitalize into ** on master**.

3 similar comments
@coveralls
Copy link

Coverage Status

Changes Unknown when pulling dc61826 on h/autocapitalize into ** on master**.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling dc61826 on h/autocapitalize into ** on master**.

@coveralls
Copy link

coveralls commented Jan 27, 2017

Coverage Status

Changes Unknown when pulling dc61826 on h/autocapitalize into ** on master**.

@chaudum chaudum merged commit dc61826 into master Feb 1, 2017
@chaudum chaudum deleted the h/autocapitalize branch February 3, 2017 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants