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

Completions filtered until there is at least one matching character #16380

Closed
aeschli opened this issue Dec 2, 2016 · 0 comments
Closed

Completions filtered until there is at least one matching character #16380

aeschli opened this issue Dec 2, 2016 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Milestone

Comments

@aeschli
Copy link
Contributor

aeschli commented Dec 2, 2016

1.8 head

Have the following code:

<div class="row">
	<div class="col-sm-6">
		<div class="form-group">
			<
		</div>
	</div>
</div>
  • do code assist after <
  • you should get more than one proposal, such as 'div', 'span', ...

Bug is in completionModel.ts, _createCachedState:
leadingLineContent.slice(-wordLen);

For word.length === 0 you will get back the full leadingLineContent (' <'), not the empty word.

@aeschli aeschli added bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority labels Dec 2, 2016
@jrieken jrieken added this to the November 2016 milestone Dec 2, 2016
@jrieken jrieken closed this as completed in 14aa8e7 Dec 2, 2016
@sandy081 sandy081 added the verified Verification succeeded label Dec 8, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants