Addes extra single quote when completing imports
See original GitHub issueWith deoplete: extra leading '
import React from '|
# (why?) Have to press <Tab> to trigger deoplete#manual_complete()
# select from popup: 'react'
# result is
import React from ''react'
With <C-X><C-O>
: works
import React from '|
# <C-X><C-O>
# select from popup: 'react'
# result is
import React 'react'
Related: if using something that automatically adds quote pairs.
With deoplete: extra leading '
import React from '|'
# (why?) Have to press <Tab> to trigger deoplete#manual_complete()
# select from popup: 'react'
# result is
import React from ''react'
With <C-X><C-O>
: extra trailing '
import React from '|'
# <C-X><C-O>
# select from popup: 'react'
# result is
import React 'react''
Tern config:
{
"plugins": {
"node": {},
"node_resolve": {},
"modules": {},
"es_modules": {}
}
}
Issue Analytics
- State:
- Created 7 years ago
- Comments:25 (10 by maintainers)
Top Results From Across the Web
Visual Studio Code - Adjust import quotation setting
This adds the ability to determine whether to use single or double quotes for new imports added via code fixes. When a new...
Read more >bash adds extra single quotes - Unix & Linux Stack Exchange
I have a problem executing my script. When executing it in debug mode (bash -x), I can see that bash is adding extra...
Read more >tslint single quotes not respected by autocomplete adding ...
If VSCode's autocomplete adds the first "import" statement (using Ctrl+.) it always uses double quotes - no matter that's in tslint.json and ...
Read more >TypeScript Single Quote Code Style Not Respected When ...
TypeScript Single Quote Code Style Not Respected When Importing React · Go to Preferences -> Editor -> Code Style -> TypeScript -> Punctuation...
Read more >Can I import double quotation marks using CSV files and ...
Yes. You can import double quotation marks using CSV files and import maps by escaping the double quotation marks. To escape the double...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Could you send minimal init.vim config file
@razor-x @wavded please see https://github.com/carlitux/deoplete-ternjs/issues/32 sorry to be late