Autocomplete of primitives when defining types keeps PascalCasing
Brianzchen opened this issue · 1 comments
Whenever I want to type a primitive type, vscode will autocomplete to PascalCase which is really annoying
eg: string -> String
, number -> Number
, boolean -> Boolean
.
Here's an example if I'm creating a new Props type
When I type ,
because I want to add another type or because I like trailing commas, it autocompletes and changes to
But I don't want to turn this off otherwise I lose some import path suggestions and will ruin my dev experience.
Is there any fix for this or can number
/other primitives be added to flow as one of the auto complete suggestions so that vscode auto completes to the lowercase suggestion?
thanks for the report, this is indeed super confusing.
primitive type suggestions are added in facebook/flow@d45ca19 and will be in flow 0.161.
if there are other features making you want to leave JavaScript > Suggest enabled, please file issues on the facebook/flow repo!