Skip to content

No Identical Token Matching #479

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

Closed
krusk opened this issue Sep 23, 2015 · 4 comments
Closed

No Identical Token Matching #479

krusk opened this issue Sep 23, 2015 · 4 comments

Comments

@krusk
Copy link

krusk commented Sep 23, 2015

Hi all,

I have Node.JS tools installed in Visual Studio 2013, but in my Node project I don't get an identical token matching. In another project, such as a Web site using JavaScript, it matches without issue where a variable, function, etc. is shown as highlighted with its match. Is there is a configuration I am missing?

Thanks!

K.

@mousetraps
Copy link
Contributor

JavaScript and Node.js are using different language services, and we haven't entirely reached feature parity yet. See #344 (comment) for more details.

You can also try the ES6 IntelliSense preview and see if you like that better, but I'm not sure you'll get token matching there either.
https://github.com/Microsoft/nodejstools/wiki/ES6-IntelliSense-Preview-in-NTVS-1.1

Alternatively, you can enable the default JavaScript language service by following the following steps
https://github.com/Microsoft/nodejstools/wiki/Working-with-Browser-(Clientside)-JavaScript-in-NTVS#customizing-browser-and-nodejs-intellisense-modes

@krusk
Copy link
Author

krusk commented Sep 23, 2015

Thanks. I don't see the Set as Content (browser code) or Set as Compile (Node.js code) to toggle between modes in my directories. Is there a way to check my version of NodeTools to see if I need a different one/which one has this functionality?

@mousetraps
Copy link
Contributor

It should be there for any folder with js files. We only introduced it in 1.1 RC, so I recommend downloading the latest build from https://github.com/Microsoft/nodejstools/releases

@mousetraps mousetraps modified the milestone: Future Sep 24, 2015
@krusk
Copy link
Author

krusk commented Sep 24, 2015

Works like a charm! Thank you Sara! And thank you and the team for all your hard work, its appreciated.

Regards,

K.

@krusk krusk closed this as completed Sep 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants