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

Completion inside interpolated string doesn't work consistently #4062

Closed
jeremyfa opened this issue Mar 20, 2015 · 2 comments
Closed

Completion inside interpolated string doesn't work consistently #4062

jeremyfa opened this issue Mar 20, 2015 · 2 comments
Labels
bug feature-ide IDE / Editor support
Milestone

Comments

@jeremyfa
Copy link

Related to: snowkit/atom-haxe#23

Works before \n:

var arr = new Array();
var str = '${arr.|}\ntext';

Doesn't work after \n:

var arr = new Array();
var str = 'text\n${arr.|}';

Haxe server output: Interp.Invalid_expr

Doesn't work when the string is not finished, while any other completion would work with just the code before the cursor:

var arr = new Array();
var str = 'text\n${arr.|

Haxe server output: Unclosed string error

@nadako nadako added bug feature-ide IDE / Editor support labels Mar 20, 2015
@nadako nadako added this to the 3.3 milestone Mar 20, 2015
@nadako
Copy link
Member

nadako commented Mar 20, 2015

I'm surprised that completion works at all inside an interpolated string, but that's something we could probably make right. I'm not sure how complicated is it though.

@jeremyfa jeremyfa changed the title Completion inside string doesn't work consistently Completion inside interpolated string doesn't work consistently Mar 20, 2015
@Simn
Copy link
Member

Simn commented Mar 20, 2015

#3974

@Simn Simn closed this as completed Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature-ide IDE / Editor support
Projects
None yet
Development

No branches or pull requests

3 participants