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

Dollar sign not beeing highlighted when double clicking variable #19483

Closed
stibay opened this issue Jan 27, 2017 · 3 comments
Closed

Dollar sign not beeing highlighted when double clicking variable #19483

stibay opened this issue Jan 27, 2017 · 3 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@stibay
Copy link

stibay commented Jan 27, 2017

VS Code 1.8.1
Windows 7

When I try to double click any of the variable names with a dollar sign ($) in my angular code the dollar sign is not beeing highlighted.

For example double clicking on $scope here only marks scope.
$scope.data = data;

Is there an easy fix for this?

@mousetraps
Copy link
Contributor

Interesting - the dollar sign is being tokenized as part of $scope, so not sure what's up.
image

@alexandrudima @rebornix - any ideas?

@alexdima
Copy link
Member

@stibay Please configure the setting editor.wordSeparators to your liking.

Here is the default (notice how $ is listed as a word separator):

"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?",

@alexdima alexdima added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Jan 30, 2017
@stibay
Copy link
Author

stibay commented Jan 30, 2017

Ah perfect 👍 Maybe that should be standard (like it's in Visual Studio)?

@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
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

4 participants