Closed TheReturningVoid closed 5 years ago
Yes, same issue:
anyone working on this?
Can confirm this issue also
yeap i'm in on this too...any solution in sight ?
it appears that adding '@' before the path works around the problem not sure if this is by design.
just do '@/my-path-to/glory/starts/here' :octocat:
My current solution was switching to VS Code for the better eco system. It has built-in code analyzing/intelligence for Typescript which can be enabled for Javascript as well with
{
"javascript.implicitProjectConfig.checkJs": true
}
I still use ST for its speed though and would often prefer it, but too many plugin devs switched to Code and many plugins are not maintained properly anymore. And Code definitely has its benefits 🤓
A quick fix for this is to remove any '
by adding .replace("'", "")
to the end of https://github.com/ternjs/tern_for_sublime/blob/91a27a39b1b0a33a9043aa685e1ee48c64a58274/tern.py#L438
A quick fix for this is to remove any
'
by adding.replace("'", "")
to the end ofLine 438 in 91a27a3
rec_name = rec.get('name').replace('$', '\$')
This only removes the single quotes but still adding the extra '../' It should be replacing what you typed in quotes completely.
Any news on this issue? It is incredibly annoying..
Using any autocompletion of a node module installed with npm causes the quotes used to be duplicated.
Example:
This also occurs for imports of the form
const React = require('react')
.