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

dcd gives autocompletion when the caret is within a string #668

Open
SingingBush opened this issue Jun 5, 2022 · 1 comment
Open

dcd gives autocompletion when the caret is within a string #668

SingingBush opened this issue Jun 5, 2022 · 1 comment
Labels

Comments

@SingingBush
Copy link

I was doing some testing recently and typed pragma(msg, "A pragma statement").

Interestingly I got an auto-complete option for pragma whilst typing the string "A pragma statement". DCD should have been able to detect that the caret was within a string so should not have given this option.

This was on dcd 0.13.1

@SingingBush SingingBush changed the title dcd gives autocompletion within string of a pragma statement dcd gives autocompletion when the caret is within a string Jun 5, 2022
@SingingBush
Copy link
Author

This isn't just pragma statements. I tested with writeln("imp"); with the caret just after the 'p' and was able to get an auto-completion for import which, when hitting return, then resulted in:

	writeln("import std.stdio; 
	 
	");

This is related to the intellij-dlanguage plugin but the auto-completion options are driven by dcd.

@WebFreak001 WebFreak001 added the bug label Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants